« Back to channel list

#ruby - 28 December 2015

« Back 1 day Forward 1 day »
[00:03:44] kobain: has joined #ruby
[00:04:14] SpikeMaster: has joined #ruby
[00:05:43] SpikeMaster: has left #ruby: ()
[00:06:33] bensarz: has joined #ruby
[00:06:48] Ox0dea: bithon: $ gem uni `gem dep foo | cut -d\ -f3`
[00:06:57] Ox0dea: That might do in a pinch.
[00:07:27] chouhoulis: has joined #ruby
[00:08:10] marcdel: has joined #ruby
[00:08:18] senayar: has joined #ruby
[00:08:19] senayar: has joined #ruby
[00:09:23] therealGent: has joined #ruby
[00:09:43] therealGent: Is there something like a thread dump in ruby? I???m trying to find out what line of code a module is blocking on.
[00:12:12] bkxd: has joined #ruby
[00:13:57] Ox0dea: theRealGent: strace your process?
[00:14:20] kies^: has joined #ruby
[00:14:39] therealGent: Ox0dea: I feel like that would be too low level. Would that even alert me to what ruby line its on? Or just what syscall its blocked on?
[00:14:40] kies: has joined #ruby
[00:14:52] Ox0dea: theRealGent: The latter. :<
[00:15:01] Ox0dea: But it might be enough?
[00:15:10] therealGent: Ox0dea: I???m running JRuby! jstack to the rescue!
[00:15:23] therealGent: It???s stuck on RubyKernel.sleep
[00:16:25] Ox0dea: theRealGent: Did you invoke Kernel#sleep without an argument?
[00:16:44] therealGent: Ox0dea: Not me, I???m trying to investigate a gem.
[00:16:51] ta: has joined #ruby
[00:17:03] therealGent: It???s hanging on connect (I???m testing the scenario of connecting to a port with no service running on it)
[00:17:34] bradleyprice: has joined #ruby
[00:19:29] therealGent: Ox0dea: And unfortunately, the rest of this stack trace is unreadable to me. I have no idea where in the actual gem it might be blocked.
[00:19:32] therealGent: Stacktrace: http://pastebin.com/uqEyjXgL
[00:19:32] ruboto: theRealGent, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
[00:20:52] Ox0dea: theRealGent: Can't say. :< Object.wait() is a JRuby thing (with which I'm unfamiliar).
[00:20:59] Ox0dea: >> 'img001.png
[00:21:00] ruboto: Ox0dea # => /tmp/execpad-66186e636b8b/source-66186e636b8b:2: unterminated string meets end of file ...check link for more (https://eval.in/494004)
[00:21:08] Ox0dea: >> 'img001.png'.succ == 'img002.png'
[00:21:09] ruboto: Ox0dea # => false (https://eval.in/494005)
[00:21:17] therealGent: Yeah it???s a java lock thing.
[00:21:35] therealGent: But what???s weird is I have no stacktrace lines from the actual module I???m working on
[00:22:47] therealGent: Idk why this would not work??? https://github.com/stompgem/stomp/blob/dev/lib/stomp/client.rb#L90
[00:25:38] mary5030: has joined #ruby
[00:28:40] sankaber: has joined #ruby
[00:29:48] JoshGlzBrk: has joined #ruby
[00:30:22] DLSteve: has joined #ruby
[00:31:54] atumzin: has joined #ruby
[00:32:28] atumzin: has joined #ruby
[00:33:54] wolffles: has joined #ruby
[00:37:27] hahuang61: has joined #ruby
[00:38:32] Yzguy: has joined #ruby
[00:39:55] arescorpio: has joined #ruby
[00:48:24] pawnbox: has joined #ruby
[00:48:39] therealGent: is it possible to make ruby-install install the ruby development header files and such?
[00:49:12] therealGent: A gem install is trying to find a file at .rubies/jruby-1.7.16/lib/native/include/ruby/ruby.h
[00:49:23] therealGent: I???m pretty sure if I installed it with a package manager, it wouldnt place the files in that location.
[00:51:34] duckpuppy: has joined #ruby
[00:51:39] chipotle: has joined #ruby
[00:52:43] brusora: has joined #ruby
[01:00:45] existensil: has joined #ruby
[01:05:32] hahuang61: has joined #ruby
[01:07:16] baweaver: has joined #ruby
[01:07:18] Suntzu: has joined #ruby
[01:08:13] chouhoulis: has joined #ruby
[01:08:48] robh71: has joined #ruby
[01:08:50] wolffles: has joined #ruby
[01:10:43] kfpratt: has joined #ruby
[01:12:23] spleeze: has joined #ruby
[01:15:24] Scripore: has joined #ruby
[01:18:16] ta: has joined #ruby
[01:18:27] pawnbox: has joined #ruby
[01:19:16] TomPeed: has joined #ruby
[01:19:47] jalopez: has joined #ruby
[01:23:53] chipotle: has joined #ruby
[01:24:50] djbkd: has joined #ruby
[01:25:06] dfinninger: has joined #ruby
[01:27:19] rgrmatt: has joined #ruby
[01:28:51] quaristice: has joined #ruby
[01:34:14] _seanc_1: has joined #ruby
[01:37:01] nerium: has joined #ruby
[01:37:17] cpup: has joined #ruby
[01:39:19] mary5030: has joined #ruby
[01:39:37] therealGent: has joined #ruby
[01:40:03] hahuang61: has joined #ruby
[01:48:24] pawnbox: has joined #ruby
[01:48:31] lessless: has joined #ruby
[01:50:03] nerium: has joined #ruby
[01:50:45] seitensei: has joined #ruby
[01:50:58] skingsbu: has joined #ruby
[01:54:14] kfpratt: has joined #ruby
[01:56:25] framling: has joined #ruby
[01:57:06] shellie_: has joined #ruby
[01:57:18] roshanavand: has joined #ruby
[01:58:40] dwfait: has joined #ruby
[02:00:29] rgrmatt: has joined #ruby
[02:00:32] stannard: has joined #ruby
[02:00:59] Scripore: has joined #ruby
[02:04:35] bensarz: has joined #ruby
[02:04:59] devoldmx: has joined #ruby
[02:05:01] ayle: has joined #ruby
[02:05:22] mary5030: has joined #ruby
[02:06:11] yfeldblum: has joined #ruby
[02:07:58] bkxd: has joined #ruby
[02:08:58] chouhoulis: has joined #ruby
[02:09:10] gokul: has joined #ruby
[02:12:12] dwfait: I notice that issues are disabled on github.com/ruby/ruby. Where would I go to get wider help for something I think is an issue? bugs.ruby-lang.org?
[02:13:55] cscheib: dwfait: yes
[02:14:00] Yzguy: has joined #ruby
[02:15:01] rgrmatt: has joined #ruby
[02:16:16] hagabaka: has joined #ruby
[02:19:14] headius: theRealGent: that would be a C ext most likely, and JRuby does not support C exts
[02:19:27] therealGent: headius: it does it if you enable it.
[02:19:47] headius: not in 1.7
[02:19:50] headius: we removed it
[02:19:59] headius: it never worked very well and it was very slow
[02:20:19] Channel6: has joined #ruby
[02:20:42] phineasgage: has joined #ruby
[02:23:08] davejlong: has joined #ruby
[02:24:54] Brackson: has joined #ruby
[02:26:32] KennethS_: has joined #ruby
[02:27:36] djbkd: has joined #ruby
[02:27:58] Brackson: How can I limit the number of HTTP requests that a certain function in my Sinatra app can MAKE (not receive) to a website?
[02:28:02] Brackson: The function tries to find a valid Imgur image link by making many random requests to random image filenames.
[02:28:16] YourKicks: has joined #ruby
[02:28:21] pawnbox: has joined #ruby
[02:28:23] jhass: measure time taken and sleep for the rest?
[02:28:37] Brackson: what do you mean?
[02:28:46] ElFerna: has joined #ruby
[02:30:43] jhass: what do you mean by limit then? if not over a certain time period
[02:32:30] rgrmatt: has joined #ruby
[02:32:30] Brackson: I mean limit the number of requests that I make, as in 1000/day.
[02:32:31] dwfait_: has joined #ruby
[02:32:59] haraigo: has joined #ruby
[02:33:00] Aria: Track how many you've made, delay or abort if you're over.
[02:33:08] Aria: There's no shortcut there.
[02:33:16] domgetter: brackson: keep a log of how many requests you're making, and conditionally do the rest of the function if the count is < 1000 in the last 24 hours
[02:33:54] Feyn: has joined #ruby
[02:34:10] Brackson: what's a recommended way to track them?
[02:34:23] charliesome: has joined #ruby
[02:34:36] domgetter: Are you trying to make sure you don't get billed for some API service?
[02:35:24] domgetter: That is, what's your motivation for rate-limiting yourself?
[02:37:07] Contigi: has joined #ruby
[02:39:41] Brackson: domgetter: Pretty much
[02:40:43] kobain: has joined #ruby
[02:40:46] domgetter: If you have access to a database and are allowed to make a simple table, I would do that so that you could query to see how many times youve used the function in the last 24 hours
[02:43:04] harai: has joined #ruby
[02:44:07] Brackson: dogmetter: that's what i'll do, thanks
[02:44:12] devoldmx: has joined #ruby
[02:45:05] domgetter: plus later you can look at your usage patterns and analyze in different ways.
[02:45:38] charliesome: has joined #ruby
[02:48:32] mary5030: has joined #ruby
[02:52:19] duckpuppy: has joined #ruby
[02:56:10] auzty: has joined #ruby
[02:59:30] chipotle: has joined #ruby
[03:02:11] speakingcode: has joined #ruby
[03:05:16] A124: has joined #ruby
[03:05:36] Gnut: has joined #ruby
[03:08:44] pawnbox: has joined #ruby
[03:09:41] chouhoulis: has joined #ruby
[03:11:44] djbkd: has joined #ruby
[03:12:24] JakFrist: has joined #ruby
[03:16:20] kristofferR: has joined #ruby
[03:16:23] harai54: has joined #ruby
[03:17:47] colegatron: has joined #ruby
[03:18:29] speakingcode: has joined #ruby
[03:19:55] existensil: has joined #ruby
[03:20:34] ta: has joined #ruby
[03:23:49] ur5us: has joined #ruby
[03:24:38] poguez_: has joined #ruby
[03:27:13] yes`r: has joined #ruby
[03:27:54] Apocalypse: has joined #ruby
[03:28:36] djbkd_: has joined #ruby
[03:29:41] yeticry: has joined #ruby
[03:34:36] krz: has joined #ruby
[03:37:09] mkosaki: has joined #ruby
[03:40:12] chipotle: has joined #ruby
[03:40:59] nertzy: has joined #ruby
[03:42:04] seitensei: has joined #ruby
[03:42:05] seitensei: has joined #ruby
[03:42:54] kotk: has joined #ruby
[03:44:45] duckpuppy: has joined #ruby
[03:45:05] RegulationD: has joined #ruby
[03:45:13] senayar: has joined #ruby
[03:46:14] colegatron: has joined #ruby
[03:46:48] devbug: has joined #ruby
[03:46:52] pdoherty: has joined #ruby
[03:51:01] therealGent: has joined #ruby
[03:51:34] krobzaur: has joined #ruby
[03:56:02] charliesome: has joined #ruby
[03:56:27] dwfait: has joined #ruby
[03:58:45] pawnbox: has joined #ruby
[03:59:13] cpup: has joined #ruby
[04:00:04] harai54: has joined #ruby
[04:00:08] baweaver: has joined #ruby
[04:01:04] Kabaka: has joined #ruby
[04:01:25] mary5030: has joined #ruby
[04:02:01] nerium: has joined #ruby
[04:02:13] blackjid: has joined #ruby
[04:02:41] haraigo: has joined #ruby
[04:03:28] kotk_: has joined #ruby
[04:04:19] mary5030: has joined #ruby
[04:06:05] ruby-lang315: has joined #ruby
[04:09:42] brg: has joined #ruby
[04:10:30] chouhoulis: has joined #ruby
[04:13:51] braincrash: has joined #ruby
[04:14:13] lictor36: has joined #ruby
[04:22:46] duckpuppy: has joined #ruby
[04:22:56] ta: has joined #ruby
[04:26:21] yes`r: has joined #ruby
[04:27:12] tectonic: has joined #ruby
[04:28:16] rippa: has joined #ruby
[04:29:19] djbkd_: has joined #ruby
[04:37:55] peeja: has joined #ruby
[04:40:04] roshanavand: has joined #ruby
[04:45:32] kfpratt: has joined #ruby
[04:46:13] baweaver: has joined #ruby
[04:48:09] riskish: has joined #ruby
[04:48:29] pawnbox: has joined #ruby
[04:51:51] chipotle: has joined #ruby
[04:53:00] bkxd: has joined #ruby
[04:53:23] pawnbox: has joined #ruby
[04:58:56] dwfait: has joined #ruby
[05:01:54] Kabaka: has joined #ruby
[05:02:41] norc: has joined #ruby
[05:02:52] tildes: has joined #ruby
[05:03:11] duckpuppy: has joined #ruby
[05:04:34] cpup: has joined #ruby
[05:06:23] CloCkWeRX: has joined #ruby
[05:06:39] speaking1ode: has joined #ruby
[05:07:32] yes`r: has joined #ruby
[05:08:34] Channel6: has joined #ruby
[05:09:01] osiutino: has joined #ruby
[05:10:59] adgtl: has joined #ruby
[05:11:12] chouhoulis: has joined #ruby
[05:12:24] the_nick_me: has joined #ruby
[05:17:45] baweaver: has joined #ruby
[05:23:49] kfpratt: has joined #ruby
[05:24:23] ta: has joined #ruby
[05:28:18] wnd: has joined #ruby
[05:30:07] djbkd_: has joined #ruby
[05:34:46] dingman: has joined #ruby
[05:36:16] dravine_: has joined #ruby
[05:37:17] darkf: has joined #ruby
[05:38:59] agent_white: has joined #ruby
[05:39:25] The_Phoenix: has joined #ruby
[05:40:05] DavidDudson: has joined #ruby
[05:41:52] pawnbox: has joined #ruby
[05:42:09] duckpuppy: has joined #ruby
[05:42:52] seitensei: has joined #ruby
[05:45:27] Kabaka: has joined #ruby
[05:54:42] wsewolod: has joined #ruby
[06:01:29] duckpuppy: has joined #ruby
[06:05:23] astrobunny: has joined #ruby
[06:06:40] bkxd: has joined #ruby
[06:07:25] dseitz: has joined #ruby
[06:08:15] shinnya: has joined #ruby
[06:08:39] andywojo: has joined #ruby
[06:10:27] Channel6: has joined #ruby
[06:12:01] chouhoulis: has joined #ruby
[06:14:36] baweaver: has joined #ruby
[06:15:45] baweaver: has joined #ruby
[06:17:20] devbug: has joined #ruby
[06:17:38] lessless: has joined #ruby
[06:20:09] poguez_: has joined #ruby
[06:20:10] SOLDIERz: has joined #ruby
[06:21:02] flughafen: has joined #ruby
[06:24:37] kfpratt: has joined #ruby
[06:26:51] hahuang61: has joined #ruby
[06:28:49] kknight: has joined #ruby
[06:29:58] Averna: has joined #ruby
[06:30:51] djbkd_: has joined #ruby
[06:33:55] lxsameer: has joined #ruby
[06:35:29] ryez: has joined #ruby
[06:38:03] colegatron: has joined #ruby
[06:38:38] lemur: has joined #ruby
[06:39:59] Jackneill: has joined #ruby
[06:40:19] howdoi: has joined #ruby
[06:40:41] tildes: has joined #ruby
[06:43:57] pawnbox: has joined #ruby
[06:45:26] YaknotiS: has joined #ruby
[06:50:43] Kabaka: has joined #ruby
[06:56:06] djbkd: has joined #ruby
[06:56:37] claw: has joined #ruby
[06:57:29] Averna: has joined #ruby
[07:00:43] duckpuppy: has joined #ruby
[07:01:06] tagrudev: has joined #ruby
[07:02:15] tectonic: has joined #ruby
[07:02:18] solars: has joined #ruby
[07:02:38] marcdel: has joined #ruby
[07:05:37] YaknotiS: has joined #ruby
[07:08:20] Axy: has joined #ruby
[07:08:20] Axy: has joined #ruby
[07:11:44] smactive: has joined #ruby
[07:12:37] pawnbox: has joined #ruby
[07:12:42] ur5us: has joined #ruby
[07:12:42] chouhoulis: has joined #ruby
[07:13:46] abra0: has joined #ruby
[07:15:17] djbkd: has joined #ruby
[07:16:00] Symbiosisz2: has joined #ruby
[07:16:51] Averna: has joined #ruby
[07:17:48] pawnbox_: has joined #ruby
[07:18:13] rrichardsr3: has joined #ruby
[07:20:49] DarkElement: has joined #ruby
[07:23:08] thejamespinto: has joined #ruby
[07:23:23] timonv: has joined #ruby
[07:24:56] DarkElement: Nokogiri question: If I have an html div like this: <div><span></span>Text I need<span></span></div>, How can I get the text I need?
[07:25:12] DarkElement: I already have the div element, wondering how to access the text in it
[07:25:21] DarkElement: Ah, I should try .text, I thought the spans would screw it up
[07:25:46] DarkElement: yea thanks DarkElement good stuff
[07:26:43] ta: has joined #ruby
[07:27:17] codecop: has joined #ruby
[07:28:11] kfpratt: has joined #ruby
[07:29:03] duckpuppy: has joined #ruby
[07:34:45] Salehi: has joined #ruby
[07:38:42] rrichardsr3: has joined #ruby
[07:40:32] rrichardsr3: has joined #ruby
[07:43:51] seitensei: has joined #ruby
[07:43:51] seitensei: has joined #ruby
[07:45:46] KennethSteel: has joined #ruby
[07:47:12] akem: has joined #ruby
[07:49:16] anisha: has joined #ruby
[07:51:19] icarus: has joined #ruby
[07:52:45] juddey: has joined #ruby
[07:55:21] cyberfawkes: has left #ruby: ()
[07:57:09] mark2: has joined #ruby
[08:00:53] gizmore: has joined #ruby
[08:01:10] constantinexvi: has joined #ruby
[08:01:13] epochwolf: has joined #ruby
[08:01:14] rideh: has joined #ruby
[08:01:21] bradland: has joined #ruby
[08:01:36] ceej: has joined #ruby
[08:01:47] cout: has joined #ruby
[08:02:03] demophoon: has joined #ruby
[08:02:39] haxrbyte: has joined #ruby
[08:02:57] GGMethos: has joined #ruby
[08:04:43] Apocalypse: has joined #ruby
[08:04:44] cschneid: has joined #ruby
[08:05:13] AustinMatherne: has joined #ruby
[08:05:37] mcmire: has joined #ruby
[08:05:38] dtordable: has joined #ruby
[08:06:38] jgt1: has joined #ruby
[08:06:58] rrichardsr3: has joined #ruby
[08:07:47] Juanchito: has joined #ruby
[08:07:48] Gnut: has joined #ruby
[08:07:54] jbrhbr: has joined #ruby
[08:08:53] rrichardsr3: has joined #ruby
[08:09:29] andywojo: has joined #ruby
[08:09:31] Kamilion: has joined #ruby
[08:10:03] Dimik: has joined #ruby
[08:12:22] bkxd: has joined #ruby
[08:13:26] chouhoulis: has joined #ruby
[08:14:58] duckpuppy: has joined #ruby
[08:15:00] ElliotG: has joined #ruby
[08:15:13] juddey: has joined #ruby
[08:16:55] SCHAAP137: has joined #ruby
[08:17:29] ElliotG: has left #ruby: ()
[08:19:20] roshanavand: has joined #ruby
[08:19:51] roshanavand: has joined #ruby
[08:19:56] dn`: has joined #ruby
[08:21:07] mcmire_: has joined #ruby
[08:24:21] moeabdol: has joined #ruby
[08:24:46] mcmire_: has left #ruby: ()
[08:25:00] jidar: what's the most correct way for loading a local file's class? "require './foo.rb'" ?
[08:26:03] mcmire_: has joined #ruby
[08:26:13] mcmire_: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[08:26:14] blackmesa: has joined #ruby
[08:26:31] livcd: has joined #ruby
[08:26:52] mcmire_: has joined #ruby
[08:27:21] livcd: is there a way to display dependencies for a remote gem ?
[08:27:56] skade: has joined #ruby
[08:29:40] kfpratt: has joined #ruby
[08:32:26] mcmire: has joined #ruby
[08:33:17] mcmire: so i found a bug in ruby and i'm trying to make a bugfix... does anyone know how to run the tests? i've try ./configure and then make test but all i'm seeing is that no tests were run, which seems weird to me
[08:33:19] roshanavand: has joined #ruby
[08:34:00] pawnbox: has joined #ruby
[08:35:39] Hounddog: has joined #ruby
[08:35:51] Axsuul: has joined #ruby
[08:36:07] mcmire: @livcd yes you can say `gem specification -r GEM_NAME` to look up the gemspec for that gem, which will contain the dependencies
[08:36:46] mcmire: alternatively, rubygems.org also lists the deps for a gem
[08:38:00] baweaver: has joined #ruby
[08:40:57] dkelman: has joined #ruby
[08:41:04] blaxter: has joined #ruby
[08:42:39] yes`r: has joined #ruby
[08:43:02] pawnbox: has joined #ruby
[08:44:20] Amnez777: has joined #ruby
[08:44:59] the_nick_me: has joined #ruby
[08:46:12] ChameleonSix: has joined #ruby
[08:46:43] ChameleonSix: has left #ruby: ()
[08:46:56] Amnez777: has joined #ruby
[08:50:44] AlexRussia: has joined #ruby
[08:51:29] azgil: has joined #ruby
[08:54:09] yashinbasement: has joined #ruby
[08:56:24] adgtl: has joined #ruby
[08:58:28] nerium: has joined #ruby
[08:58:48] haxrbyte: has joined #ruby
[09:02:32] adgtl_: has joined #ruby
[09:03:44] steffkes: has joined #ruby
[09:04:03] dkelman: has joined #ruby
[09:06:17] jgt2: has joined #ruby
[09:07:01] FernandoBasso: has joined #ruby
[09:14:13] chouhoulis: has joined #ruby
[09:15:15] vdamewood: has joined #ruby
[09:17:48] edwinvdgraaf: has joined #ruby
[09:22:14] marr: has joined #ruby
[09:22:48] roshanavand: has joined #ruby
[09:23:07] Ishido: has joined #ruby
[09:24:56] thejamespinto: has joined #ruby
[09:29:03] ta: has joined #ruby
[09:29:52] azgil: Moores law hits the roof
[09:31:50] azgil: need a small home quantum computer
[09:36:33] haxrbyte: has joined #ruby
[09:39:43] blackmesa: has joined #ruby
[09:40:31] ta: has joined #ruby
[09:43:03] xet7: has joined #ruby
[09:44:35] TheHodge: has joined #ruby
[09:44:53] seitensei: has joined #ruby
[09:45:12] dionysus69: has joined #ruby
[09:45:38] Salehi: has joined #ruby
[09:47:01] Anderson69s_Deb: has joined #ruby
[09:51:19] skade: has joined #ruby
[09:52:22] norc: has joined #ruby
[09:52:42] duckpuppy: has joined #ruby
[09:56:49] niceperl: has joined #ruby
[09:57:50] tmtwd: has joined #ruby
[10:03:20] IdanM: has joined #ruby
[10:04:24] DoubleMalt: has joined #ruby
[10:06:47] jgt3: has joined #ruby
[10:07:17] slackbotgz: has joined #ruby
[10:07:44] rahul_j: has joined #ruby
[10:07:45] roshanavand: has joined #ruby
[10:08:36] jgt4: has joined #ruby
[10:10:18] andywojo: has joined #ruby
[10:10:22] mdw: has joined #ruby
[10:12:09] whiteline: has joined #ruby
[10:13:06] xcesariox: has joined #ruby
[10:14:59] chouhoulis: has joined #ruby
[10:22:15] SenpaiSilver: has joined #ruby
[10:22:34] blt: has joined #ruby
[10:26:36] sandstrom: has joined #ruby
[10:29:06] robbyoconnor: has joined #ruby
[10:31:28] devoldmx: has joined #ruby
[10:32:52] kfpratt: has joined #ruby
[10:33:10] wolffles: has joined #ruby
[10:33:10] Gnut: has joined #ruby
[10:33:15] ElFerna: has joined #ruby
[10:36:18] Lildirt: has joined #ruby
[10:38:41] rahul_j: has joined #ruby
[10:39:18] pawnbox: has joined #ruby
[10:42:43] PedramT: has joined #ruby
[10:44:56] adaedra: It's quiet in here.
[10:45:12] agit0: has joined #ruby
[10:46:00] robbyoconnor: has joined #ruby
[10:46:45] lenwood: has joined #ruby
[10:47:58] blackgoat: has joined #ruby
[10:49:28] rahul_j: has joined #ruby
[10:52:02] kalopsian: has joined #ruby
[10:52:15] robbyoconnor: has joined #ruby
[10:58:49] haxrbyte: has joined #ruby
[10:59:29] tvw: has joined #ruby
[10:59:50] c0m0: has joined #ruby
[10:59:50] crdpink2: has joined #ruby
[11:00:43] azgil: time to sledding http://www.zirveart.com/uploads/posts/2013-10/thumbs/1382116493_thumb_812__lightbox.jpeg
[11:02:51] haxrbyte_: has joined #ruby
[11:04:35] HANJIN: has joined #ruby
[11:06:16] krz: has joined #ruby
[11:07:01] roshanavand: has joined #ruby
[11:07:18] roshanavand: has joined #ruby
[11:08:50] roshanav_: has joined #ruby
[11:15:41] chouhoulis: has joined #ruby
[11:16:26] PedramT: has joined #ruby
[11:17:42] robbyoconnor: has joined #ruby
[11:18:24] PedramT: has joined #ruby
[11:22:09] robbyoconnor: has joined #ruby
[11:22:33] the_nick_me: has joined #ruby
[11:23:45] beast: has joined #ruby
[11:24:25] arup_r: has joined #ruby
[11:24:26] slugabed: has joined #ruby
[11:26:12] scepticulous: has joined #ruby
[11:26:23] The_Phoenix: has joined #ruby
[11:26:30] thejamespinto: has joined #ruby
[11:28:44] PedramT: has joined #ruby
[11:32:02] andriusms: has joined #ruby
[11:34:22] kfpratt: has joined #ruby
[11:36:39] araujo: has joined #ruby
[11:37:52] araujo: has joined #ruby
[11:39:42] araujo: has joined #ruby
[11:40:10] The_Phoenix: has joined #ruby
[11:40:49] prestorium: has joined #ruby
[11:45:33] seitensei: has joined #ruby
[11:45:38] devoldmx: has joined #ruby
[11:47:09] VaibhavRajput: has joined #ruby
[11:47:28] VaibhavRajput: has left #ruby: ()
[11:48:50] lenwood: has joined #ruby
[11:50:42] lubekpl: has joined #ruby
[11:51:11] moeabdol: has joined #ruby
[11:52:30] whiteline: has joined #ruby
[11:52:53] kalopsian: has joined #ruby
[11:53:55] c355E3B: has joined #ruby
[11:55:02] pawnbox: has joined #ruby
[11:55:04] duckpuppy: has joined #ruby
[11:55:32] PedramT: has joined #ruby
[11:55:46] bithon: has joined #ruby
[11:56:52] p0wn3d_: has joined #ruby
[11:58:44] decoponio: has joined #ruby
[12:01:14] roshanavand: has joined #ruby
[12:03:55] futilegames: has joined #ruby
[12:04:09] ellisTAA: has joined #ruby
[12:04:25] ellisTAA: is a module the same thing as an abstract class in java?
[12:05:22] adaedra: not really
[12:06:07] dlitvak: has joined #ruby
[12:07:15] ellisTAA: i???m reading design patterns & i???m trying to understand what they mean by abstract class
[12:07:48] PedramT: has joined #ruby
[12:08:06] blackmesa: has joined #ruby
[12:08:43] dionysus69: has joined #ruby
[12:09:08] PedramT: has joined #ruby
[12:10:02] ElFerna: has joined #ruby
[12:10:07] mdw: has joined #ruby
[12:10:52] andywojo: has joined #ruby
[12:11:25] PedramT: has joined #ruby
[12:12:26] the_nick_me: has joined #ruby
[12:14:01] jbrhbr: has joined #ruby
[12:15:16] adaedra: usually, an abstract class is a class you can't instantiate because of the presence of unimplemented methods
[12:15:34] krz: has joined #ruby
[12:16:29] chouhoulis: has joined #ruby
[12:16:52] roshanavand: has joined #ruby
[12:16:55] PedramT: has joined #ruby
[12:17:03] ellisTAA: has joined #ruby
[12:17:13] ellisTAA: adaedra: what is an unimplemented method
[12:17:20] robbyoconnor: has joined #ruby
[12:17:43] adaedra: A method without implementation: you say the method exist, but the class don't know how to do it.
[12:18:08] adaedra: So the implementation is left to a class inheriting from the abstract class.
[12:18:59] yankov: has joined #ruby
[12:20:22] PedramT: has joined #ruby
[12:20:51] pawnbox: has joined #ruby
[12:21:31] ellisTAA: that doesn???t make sense
[12:21:56] ellisTAA: are you saying its like a person classs having a method called greet & the greet method is empty?
[12:23:03] adaedra: It's not possible in Ruby (except throwing NotImplemented or something), but yeah, a method which has no code at all (not even empty: nothing.)
[12:23:14] toretore: has joined #ruby
[12:23:18] sankaber: has joined #ruby
[12:23:41] roshanav_: has joined #ruby
[12:25:12] adaedra: To follow you example, you could have an abstract class Person which declares a greet() method but doesn't implement it; you would have to derivate from Person (i.e. NicePerson) and implement the greet() method there. This way, you can handle Person objects you can greet, without knowing who really implements it, since they are in fact specialized objects.
[12:26:11] adaedra: It's for when you want to define WHAT a class can do but leave HOW to do it to specialized classes.
[12:26:29] adaedra: Also, a class with only unimplemented methods is an interface.
[12:26:30] lubekpl: has joined #ruby
[12:26:35] mdw7: has joined #ruby
[12:27:40] ellisTAA: interesting
[12:28:13] ellisTAA: we dont??? really have this in ruby do we? is that because ruby is interpreted?
[12:28:40] adaedra: yes and no
[12:28:45] r0bby_: has joined #ruby
[12:29:09] adaedra: we don't have a way of creating an abstract method ??? you define and implement at the same time
[12:30:16] ellisTAA: hm what???s the value of both?
[12:30:30] mymosh: has joined #ruby
[12:30:58] ellisTAA: what???s the value of an abstract class & what???s the value of defining and implementing at the same time
[12:31:59] adaedra: Abstract classes permits to have homogenous objects filling interface conditions (provide a set of methods) without having to care about actual implementation.
[12:32:27] adaedra: For the latter, that's a matter of preference.
[12:32:34] robbyoconnor: has joined #ruby
[12:32:50] adaedra: Ruby dynamism makes it viable, I guess.
[12:32:58] ellisTAA: adaedra: thhanks
[12:33:07] lxsameer: has joined #ruby
[12:34:03] adaedra: Also, Ruby cares less about type checking.
[12:35:46] kfpratt: has joined #ruby
[12:37:19] norc: There is some cases where you do interfaces without implementation in Ruby though. Say you provide an abstract library which calls a parser object, now for different formats you might write your own parser class.
[12:37:31] norc: But the interface is set by the way the abstract library uses that parser object (duck typing)
[12:37:52] sdothum: has joined #ruby
[12:38:33] roshanavand: has joined #ruby
[12:39:33] kobain: has joined #ruby
[12:40:01] shanemcd: has joined #ruby
[12:40:53] stannard: has joined #ruby
[12:42:25] ellisTAA: has joined #ruby
[12:42:43] shanemcd: has joined #ruby
[12:42:55] codecop: has joined #ruby
[12:46:18] colegatron: has joined #ruby
[12:46:28] icbm: has joined #ruby
[12:49:51] dtordable: has joined #ruby
[12:49:54] Scripore: has joined #ruby
[12:51:15] PedramT: has joined #ruby
[12:52:04] DotMH: has joined #ruby
[12:53:25] jbrhbr: has joined #ruby
[12:54:11] SantaClaus1: has joined #ruby
[12:54:55] aryaching: has joined #ruby
[12:58:00] FooMunki: has joined #ruby
[12:58:22] rooltak: has joined #ruby
[13:02:58] synthroid: has joined #ruby
[13:02:59] DoubleMalt: has joined #ruby
[13:04:12] andywojo: has joined #ruby
[13:06:46] dorei: has joined #ruby
[13:06:53] anisha: has joined #ruby
[13:11:10] blackmesa: has joined #ruby
[13:11:36] sgambino: has joined #ruby
[13:11:47] dtordable: Hello ladies and gentleman
[13:13:04] anisha: has joined #ruby
[13:16:15] bkxd: has joined #ruby
[13:16:20] ruid: has joined #ruby
[13:16:21] ruid: has joined #ruby
[13:16:44] shellie_: has joined #ruby
[13:17:15] chouhoulis: has joined #ruby
[13:20:59] Marsupermammal: has joined #ruby
[13:21:24] aryaching: has joined #ruby
[13:21:26] anisha: has joined #ruby
[13:21:41] thejamespinto: has joined #ruby
[13:23:30] codehotter: has joined #ruby
[13:24:42] codehotter: I need a patch for a gem that will be released in the next version but I need now. What's a good way to put this temporary hack in my code? Can I create a gem based on the upstream code, with a version higher than the current, but lower than the next upstream version?
[13:24:48] shinnya: has joined #ruby
[13:24:54] codehotter: can I create say 2.1.1.5 to update 2.1.1 and be updated by 2.1.2?
[13:28:14] apeiros: codehotter: yes
[13:28:22] toretore: yes, just edit the spec and build locally
[13:28:50] apeiros: if you use a gemfile - we use the :git or :github version for such gems in our projects
[13:29:26] ellisTAA: has joined #ruby
[13:29:43] codehotter: I would like bundle outdated to notify me of upstream 2.1.2
[13:29:44] aef: has joined #ruby
[13:30:14] codehotter: Even though I am using my patched 2.1.1
[13:30:34] mdw: has joined #ruby
[13:33:13] hightower4: has joined #ruby
[13:33:55] hightower4: Hey, is there a practical difference in saying class X < Y ... end versus X = Class.new Y do ... end ?
[13:34:53] arup_r: has joined #ruby
[13:36:24] PedramT_: has joined #ruby
[13:37:16] kfpratt: has joined #ruby
[13:37:56] apeiros: hightower4: I don't understand your question
[13:39:53] hightower4: Is there any practical difference between these two syntaxes?
[13:40:14] hightower4: Or the effect is completely the same and synonymous?
[13:40:33] pawnbox: has joined #ruby
[13:41:04] kalopsian: has joined #ruby
[13:41:33] apeiros: the latter works with a closure
[13:41:45] apeiros: i.e. within the class body you can access local variables of the surrounding scope
[13:41:56] apeiros: otherwise they're iirc identical in effect
[13:42:07] hightower4: Right, sure. Ok, thanks
[13:42:18] pawnbox: has joined #ruby
[13:43:48] dtordable: has joined #ruby
[13:44:01] anisha: has joined #ruby
[13:44:42] mdw: has joined #ruby
[13:45:32] arup_r: has joined #ruby
[13:45:33] atomical: has joined #ruby
[13:46:24] devoldmx: has joined #ruby
[13:46:27] seitensei: has joined #ruby
[13:47:01] ElFerna: has joined #ruby
[13:47:03] duckpuppy: has joined #ruby
[13:47:43] davedev24: has joined #ruby
[13:48:07] PedramT: has joined #ruby
[13:48:29] Jardayn: has joined #ruby
[13:50:27] mary5030: has joined #ruby
[13:52:42] kalopsian: has joined #ruby
[13:53:43] stannard: has joined #ruby
[13:54:46] davedev24: has joined #ruby
[13:55:30] GinoManWorks: How impossible would it be to compile ruby into a native executable?
[13:56:31] apeiros: GinoManWorks: it is possible with limitations
[13:56:42] apeiros: things like rubymotion generate binary code
[13:56:53] GinoManWorks: I guess any code that uses "eval" would be out?
[13:57:02] GinoManWorks: unless you embed a ruby interpreter
[13:57:04] apeiros: you can also create an application which embeds the dynamical ruby code
[13:57:08] davedev24: has joined #ruby
[13:57:11] ESpiney: has joined #ruby
[13:57:16] beardnbeauty: has joined #ruby
[13:57:29] apeiros: I'm not aware of all limitations, sorry. take a look at the specific products which offer compilation.
[13:57:42] dtordable: has joined #ruby
[14:00:52] yes`r: has joined #ruby
[14:01:44] dtordable: has joined #ruby
[14:02:20] beardnbeauty: has left #ruby: ()
[14:02:32] Melpaws: has joined #ruby
[14:03:10] Melpaws: can some one tell me what is wrong with this payload for json . Its not using the global variables correctly (just take it literal)
[14:03:15] Melpaws: https://gist.github.com/dylnnlsn/d65ec23732fc88dc48d3
[14:03:22] puria: has joined #ruby
[14:03:41] GinoManWorks: I know this is a rubinius question, but rubinius uses llvm; does it compile the ruby down to llvm bytecode or is it a special bytecode?
[14:06:04] Mekkis: has joined #ruby
[14:10:06] c355E3B: GinoManWorks: i would ask in their gitter.im channel
[14:11:08] apeiros: Melpaws: single quoted strings don't interpolate
[14:11:19] apeiros: also: globals = eeeeeeeeeeeeeee(???)eeeew
[14:11:42] apeiros: Melpaws: replace '' with %{}
[14:11:52] roshanavand: has joined #ruby
[14:11:54] apeiros: %{{"auth": { ??? }}
[14:12:16] GinoManWorks: c355e3b: they have an IRC bridge, is that the freenode #rubinius channel?
[14:12:17] apeiros: {} are allowed without escaping in the content as long as they're balanced
[14:14:14] blackmesa: has joined #ruby
[14:15:12] skakri: has joined #ruby
[14:15:15] sankaber: has joined #ruby
[14:15:38] ruurd_: has joined #ruby
[14:15:41] krobzaur: has joined #ruby
[14:15:53] Melpaws: so like so @ apeiros :
[14:15:54] Melpaws: https://gist.github.com/dylnnlsn/d65ec23732fc88dc48d3
[14:16:24] apeiros: or use ruby 2.3 and a <<~ heredoc
[14:16:35] apeiros: then you can have nicer indentation
[14:17:09] apeiros: oh, you also forgot the # in front of $
[14:17:22] apeiros: #$var or #{$var}, just plain $var won't interpolate anywhere
[14:17:38] apeiros: #{} should imo be preferred
[14:17:42] Yzguy: has joined #ruby
[14:17:57] vikaton: has joined #ruby
[14:17:58] chouhoulis: has joined #ruby
[14:18:15] PedramT: has joined #ruby
[14:19:25] industrial: has left #ruby: ("Leaving")
[14:21:58] aef: has joined #ruby
[14:23:21] IdanM: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[14:23:44] roshanav_: has joined #ruby
[14:24:39] TomPeed: has joined #ruby
[14:24:55] atumzin: has joined #ruby
[14:26:29] mdw: has joined #ruby
[14:27:44] aef: has joined #ruby
[14:29:30] sankaber: has joined #ruby
[14:30:22] moeabdol: has joined #ruby
[14:30:59] sankaber: has joined #ruby
[14:31:00] nerium: has joined #ruby
[14:32:46] govg: has joined #ruby
[14:33:26] whippythellama: has joined #ruby
[14:34:01] skade: has joined #ruby
[14:34:09] monthy: has joined #ruby
[14:34:40] hinbody: has joined #ruby
[14:34:47] Encapsulation: has joined #ruby
[14:38:27] ESpiney: has joined #ruby
[14:38:53] kfpratt: has joined #ruby
[14:39:52] FooMunki: has left #ruby: ()
[14:42:05] kobain: has joined #ruby
[14:42:28] norc: apeiros: Were you the one with the gist about unicoding issues?
[14:44:32] roshanavand: has joined #ruby
[14:45:24] Averna: has joined #ruby
[14:46:19] rahul_j: has joined #ruby
[14:47:48] duckpuppy: has joined #ruby
[14:47:54] PedramT: has joined #ruby
[14:48:03] DexterLB: has joined #ruby
[14:49:07] skade: has joined #ruby
[14:49:23] polishdub: has joined #ruby
[14:51:47] PedramT: has joined #ruby
[14:53:04] solocshaw: has joined #ruby
[14:53:09] cashnguns: has joined #ruby
[14:55:11] stannard: has joined #ruby
[14:57:04] rahul_j: has joined #ruby
[14:57:43] Yzguy: has joined #ruby
[14:59:25] trwyth: has joined #ruby
[15:00:00] lubekpl: has joined #ruby
[15:01:53] diegoviola: has joined #ruby
[15:01:56] diegoviola: has joined #ruby
[15:02:16] the_nick_me: has joined #ruby
[15:02:38] roshanav_: has joined #ruby
[15:04:43] Melpaws: has joined #ruby
[15:06:25] trwyth: has joined #ruby
[15:07:18] irk: has joined #ruby
[15:08:51] tommylommykins: has joined #ruby
[15:11:08] PedramT: has joined #ruby
[15:12:25] Scripore: has joined #ruby
[15:14:46] nerium: has joined #ruby
[15:17:13] blackmesa: has joined #ruby
[15:18:41] chouhoulis: has joined #ruby
[15:19:39] RegulationD: has joined #ruby
[15:19:45] Hammy_Work: has joined #ruby
[15:22:09] kirun: has joined #ruby
[15:23:20] hagabaka: has joined #ruby
[15:23:33] thejamespinto: has joined #ruby
[15:25:18] B1n4r10: has joined #ruby
[15:25:32] spider-mario: has joined #ruby
[15:27:08] freerobby: has joined #ruby
[15:27:39] dhollinger: has joined #ruby
[15:28:22] diego1: has joined #ruby
[15:29:00] diego1: has joined #ruby
[15:29:23] akem2: has joined #ruby
[15:31:07] mrtomme: has joined #ruby
[15:31:30] tildes: has joined #ruby
[15:32:33] nerium: has joined #ruby
[15:32:59] cyfr0n: has joined #ruby
[15:34:16] CloCkWeRX: has joined #ruby
[15:34:22] abyss: has joined #ruby
[15:35:06] blackmesa: has joined #ruby
[15:36:47] aspire: has joined #ruby
[15:37:40] yqt: has joined #ruby
[15:38:20] wsewolod: has joined #ruby
[15:38:35] symm-: has joined #ruby
[15:40:17] kfpratt: has joined #ruby
[15:40:34] kobain: has joined #ruby
[15:40:36] babblebre: has joined #ruby
[15:42:36] blackjid: has joined #ruby
[15:43:55] spider-mario: has joined #ruby
[15:45:03] synthroid: has joined #ruby
[15:47:11] devoldmx: has joined #ruby
[15:47:16] adgtl: has joined #ruby
[15:47:23] seitensei: has joined #ruby
[15:49:10] mostlybadfly: has joined #ruby
[15:51:12] peeja: has joined #ruby
[15:51:48] kfpratt: has joined #ruby
[15:52:27] mark2: has left #ruby: ()
[15:52:56] PedramT: has joined #ruby
[15:53:09] cyfr0n: has joined #ruby
[15:55:21] dfinninger: has joined #ruby
[15:55:56] RegulationD: has joined #ruby
[15:56:15] benhuda: has joined #ruby
[15:56:20] TomyLobo: has joined #ruby
[15:58:57] JakFrist: has joined #ruby
[16:00:17] ascarter: has joined #ruby
[16:00:44] krz: has joined #ruby
[16:01:02] FooMunki: has joined #ruby
[16:01:14] TomyLobo: i want to make a simple ruby script that runs a (starbound) server and then sends it commands via a socket, while interpreting a fixed set of specially prefixed commands itself. i've found a number of gems that deal with interactive CLI commands: highline, ripl, cliqr, readline. Which would be best suited?
[16:06:13] kfpratt: has joined #ruby
[16:06:33] gambl0re: has joined #ruby
[16:07:31] arthurix: has joined #ruby
[16:08:26] B1n4r10: has joined #ruby
[16:08:29] ellisTAA: has joined #ruby
[16:09:24] Outlastsheep: has joined #ruby
[16:09:57] The_Phoenix: has joined #ruby
[16:11:39] dtordable: has joined #ruby
[16:12:37] ellisTAA: has joined #ruby
[16:13:27] B1n4r10_: has joined #ruby
[16:13:32] lubekpl: has joined #ruby
[16:14:18] akem: has joined #ruby
[16:15:34] depesz: has joined #ruby
[16:15:48] TheBrayn: has joined #ruby
[16:16:26] depesz: hi. i have array of hashes, and each hash, under specific key ("instances") has array of elements. sometimes one element, sometimes more. is there any simple way to get "all_instances" array that will contains all instances from all hashes in the original array ?
[16:17:18] cdg: has joined #ruby
[16:17:30] havenwood: TomyLobo: You might consider Slop if simple option parsing suffices for your case.
[16:17:53] chouhoulis: has joined #ruby
[16:18:04] thejamespinto: has joined #ruby
[16:18:28] havenwood: depesz: Maybe #flat_map will do?
[16:18:33] TomyLobo: havenwood, i want the program to persist and ask for commands
[16:18:55] cdg: has joined #ruby
[16:19:09] dtordable: has joined #ruby
[16:19:38] depesz: havenwood: it's possible. checking
[16:20:08] adgtl_: has joined #ruby
[16:20:08] havenwood: TomyLobo: ahh, right
[16:20:15] Gnut: has joined #ruby
[16:20:33] _blizzy_: has joined #ruby
[16:20:35] TheBrayn: has joined #ruby
[16:20:48] spt0: has joined #ruby
[16:21:07] _blizzy_: hmm, how do I do this. I'm making a ruby version manager for windows, however, it would require a gem. however, that wouldn't work
[16:21:17] depesz: havenwood: looks perfect, thanks
[16:21:19] adgtl__: has joined #ruby
[16:21:24] _blizzy_: as you would need ruby to install the gem, but the gem to use the version manager to install ruby
[16:22:49] AlexRussia: has joined #ruby
[16:22:59] rahul_j: has joined #ruby
[16:24:01] trwyth: has joined #ruby
[16:25:25] ellisTAA: has joined #ruby
[16:25:27] s00pcan_: has joined #ruby
[16:25:41] kaleido: has joined #ruby
[16:26:43] kies^: has joined #ruby
[16:27:24] Lildirt: has joined #ruby
[16:27:53] rahul_j: has joined #ruby
[16:30:54] HANJIN: has joined #ruby
[16:31:32] havenwood: _blizzy_: Making an installer or a switcher?
[16:31:56] _blizzy_: havenwood, both. it can install and switch
[16:32:02] _blizzy_: which is why I'm using ocra to make it into a exe
[16:32:14] _blizzy_: oh, if I use ocra, then it'll bundle the gem
[16:32:24] mercwithamouth: has joined #ruby
[16:32:26] havenwood: _blizzy_: uru is one option on windows (written in Go): https://bitbucket.org/jonforums/uru
[16:32:41] mercwithamouth: does anyone know if there's a standalone ruby repl that works like Mancy for javascript?
[16:33:06] _blizzy_: havenwood, yeah true, but I'm also doing this to learn.
[16:33:11] havenwood: _blizzy_: Or you could try Traveling Ruby.
[16:33:12] bougyman: mercwithamouth: pry.
[16:33:46] mercwithamouth: well i mean like not terminal based
[16:34:00] Lildirt: has joined #ruby
[16:34:01] mercwithamouth: just looking for something i can install fast on my work computer to toy around with on breaks without getting too intrusive
[16:34:06] bougyman: rubymine has some of that bloat.
[16:35:25] adgtl: has joined #ruby
[16:35:29] mercwithamouth: hmm i suppose i'm making it too difficult. i do have a linux laptop i can just load up my tools on...
[16:35:33] havenwood: _blizzy_: Consider making the installer and switcher separate tools! :)
[16:36:10] _blizzy_: havenwood, true.
[16:36:22] _blizzy_: I guess it would be a good idea also to be able to install devkit from my program.
[16:36:39] futilegames: has joined #ruby
[16:36:47] arup_r: has joined #ruby
[16:36:57] havenwood: _blizzy_: You might also consider fetching your Ruby versions and checksums from the ruby-versions metadata repo: https://github.com/postmodern/ruby-versions
[16:37:10] dfinninger: has joined #ruby
[16:37:34] howdoi: has joined #ruby
[16:37:36] _blizzy_: thanks for thel ink, havenwood
[16:38:29] wsewolod: has joined #ruby
[16:42:40] jobewan: has joined #ruby
[16:43:12] quangv: has joined #ruby
[16:44:21] phutchins: has joined #ruby
[16:48:24] codehotter: is there a shorthand for var = bla ? bla : []
[16:48:36] duckpuppy: has joined #ruby
[16:49:57] wolffles: has joined #ruby
[16:50:00] tildes: has joined #ruby
[16:50:03] codehotter: What about a shorthand for if bla and bla.include?(sth)
[16:50:45] havenwood: codehotter: var = bla || []
[16:51:21] havenwood: codehotter: bla&.include(sth)
[16:51:41] codehotter: havenwood: Thanks! I love ruby
[16:51:54] havenwood: codehotter: The latter is the lonely person operator, introduced in 2.3. No prob!
[16:52:30] adaedra: ooops, stabbed the lonely person.
[16:52:38] pl1ght: has joined #ruby
[16:53:21] Papierkorb: my spaceship will rescue that person! <=>
[16:53:37] havenwood: >> ->(){}&.()
[16:53:38] ruboto: havenwood # => /tmp/execpad-a8e0475439d4/source-a8e0475439d4:2: syntax error, unexpected '.' ...check link for more (https://eval.in/494337)
[16:53:44] havenwood: Oh, right, not 2.3...
[16:55:29] Guest30656: has left #ruby: ()
[16:55:39] inanepenguin: has joined #ruby
[16:56:56] futilegames: has joined #ruby
[16:58:46] adgtl_: has joined #ruby
[16:59:24] chouhoulis: has joined #ruby
[16:59:35] dionysus69: has joined #ruby
[16:59:39] sp1rs: has joined #ruby
[16:59:49] ellisTAA: has joined #ruby
[16:59:51] ElFerna: has joined #ruby
[17:00:20] musl: has joined #ruby
[17:00:30] chipotle: has joined #ruby
[17:02:01] codehotter: havenwood: wait, not 2.3? Then? Not yet?
[17:02:09] codehotter: Wait, latest release is 2.2.
[17:02:48] lacuna: has joined #ruby
[17:03:47] havenwood: codehotter: aye, eval.in hasn't been updated to 2.3.0 yeta
[17:04:44] havenwood: codehotter: But 2.3 is out!
[17:04:58] shevy: codehotter upgrade today!
[17:05:50] Begi: has joined #ruby
[17:06:13] codehotter: I'm a little new to all this. How stable is a release? Can I safely update all my production apps to use ruby 2.3?
[17:06:21] codehotter: Should I wait a few days? Months? Years?
[17:07:39] depesz: has left #ruby: ("WeeChat 1.4-dev")
[17:07:46] havenwood: codehotter: Some folk wait till the first TEENY release after a MINOR but 2.3.0 is stable.
[17:09:30] _blizzy_: damnit, why doesn't rubyinstaller just use a normal zip file
[17:09:33] _blizzy_: instead of 7zip >.>
[17:09:41] nertzy: has joined #ruby
[17:10:13] adaedra: because 7z > zip
[17:10:41] _blizzy_: yeah but it makes it hard to open it without additional software
[17:10:52] adaedra: You can include 7za I think if you want to be able to handle them
[17:10:55] trwyth: has joined #ruby
[17:11:29] solocshaw: has joined #ruby
[17:11:40] kfpratt: has joined #ruby
[17:12:44] Scripore: has joined #ruby
[17:12:59] dfinninger: has joined #ruby
[17:13:10] shevy: codehotter depends on the quality of your ruby code really, if it is of good quality then upgrading is trivial
[17:13:15] SCHAAP137: has joined #ruby
[17:14:40] banister: has joined #ruby
[17:15:45] amclain: has joined #ruby
[17:16:07] dopie: has joined #ruby
[17:17:10] fernandomm: has joined #ruby
[17:17:31] trwyth: has joined #ruby
[17:18:31] shevy: and of course how much code depends on it too :)
[17:18:57] Xiti: has joined #ruby
[17:19:05] shevy: I had migration pain only from 1.8 to 1.9; and to some extent lateron due to Encoding. Past that point it was no longer difficult
[17:19:20] anaeem1_: has joined #ruby
[17:21:14] kmckelvin: has joined #ruby
[17:21:36] dopie: has joined #ruby
[17:24:43] cpup: has joined #ruby
[17:24:44] AlexRussia: has joined #ruby
[17:26:21] agit0: has joined #ruby
[17:27:03] B1n4r10: has joined #ruby
[17:27:22] mdw: has joined #ruby
[17:31:42] pietr0: has joined #ruby
[17:33:04] TomPeed: has joined #ruby
[17:33:47] robh71: has joined #ruby
[17:34:11] mistermocha: has joined #ruby
[17:35:07] arup_r: has joined #ruby
[17:36:28] wolffles: has joined #ruby
[17:36:30] mdw: has joined #ruby
[17:36:57] shanemcd: has joined #ruby
[17:39:46] zack6849: has joined #ruby
[17:39:46] zack6849: has joined #ruby
[17:41:34] ico: has joined #ruby
[17:41:40] redeeem: has joined #ruby
[17:42:27] TomyLobo: i want to make an interactive prompt in ruby. kinda like irb, except each line isn't a ruby expression but a command that i would like to handle. is there a gem for that which takes the parsing and help generation and all that stuff off of me?
[17:42:45] TomyLobo: i just tried cliqr, but it seems like i'm abusing instead of using a tool there
[17:43:00] norc: has joined #ruby
[17:43:15] tubbo: TomyLobo: you don't necessarily need a gem, like you could use `gets`
[17:43:31] tubbo: but there's also highline, https://github.com/JEG2/highline
[17:44:05] TomyLobo: well highline isnt really more helpful than gets :)
[17:44:07] B1n4r10: has joined #ruby
[17:45:03] TomyLobo: this has to work with multicraft in the end, so i cant use anything that doesnt work with a cat on both ends, basically :)
[17:45:10] TomyLobo: cat|./foo.rb|cat
[17:45:44] TomyLobo: it can't spam the prompt all the time, for instance
[17:45:49] TomyLobo: or try to position stuff on the terminal
[17:45:57] norc: >> require 'ripper'; puts Ripper.sexp('a = (if 1 then 2 else 3)')
[17:45:58] ruboto: norc # => ...check link for more (https://eval.in/494369)
[17:46:02] norc: What the heck?
[17:46:16] ElFerna: has joined #ruby
[17:46:18] norc: Is this a bug in Ripper?
[17:47:04] trwyth: has joined #ruby
[17:47:37] norc: Oh Im silly.
[17:47:38] norc: >> require 'ripper'; puts Ripper.sexp('a = (if 1 then 2 else 3 end)')
[17:47:40] ruboto: norc # => program ...check link for more (https://eval.in/494374)
[17:47:53] devoldmx: has joined #ruby
[17:47:56] norc: I feel like Ripper should throw an exception on parse errors. =S
[17:48:16] seitensei: has joined #ruby
[17:48:58] norc: >> a = puts((1 if false))
[17:48:59] ruboto: norc # => ...check link for more (https://eval.in/494378)
[17:49:02] norc: >> a = puts(1 if false)
[17:49:03] ruboto: norc # => /tmp/execpad-201be5235605/source-201be5235605:2: syntax error, unexpected modifier_if, expecting ')' ...check link for more (https://eval.in/494379)
[17:49:08] tectonic: has joined #ruby
[17:49:24] shevy: TomyLobo that sounds less than a prompt and more like a pipe; in your case, you'd have to match whether it is the last element, before showing that prompt
[17:49:44] trwyth: has joined #ruby
[17:50:07] TomyLobo: shevy well in the end it is a prompt, but it shows up on a web page
[17:50:45] TomyLobo: ok let me clarify
[17:50:57] morfin60: has joined #ruby
[17:51:08] TomyLobo: it is a prompt (interface) but there should be no prompt (text)
[17:51:49] TomyLobo: anyway, i think i'll just pipe gets into the rcon interface i'm wrapping here
[17:51:59] TomyLobo: it's a silly game server i'm wrapping
[17:52:13] TomyLobo: it has an rcon interface, but no console on stdin/stdout or anything
[17:53:29] ElFerna: has joined #ruby
[17:54:07] TomyLobo: but multicraft expects such a console, so i'm putting some ruby between multicraft and that game server :)
[17:58:06] last_staff: has joined #ruby
[17:59:58] gambl0re: has joined #ruby
[18:00:51] jbrhbr: has joined #ruby
[18:02:02] wolffles: has joined #ruby
[18:02:03] mdw: has joined #ruby
[18:02:07] DavidDudson: has joined #ruby
[18:03:13] JoshGlzBrk: has joined #ruby
[18:07:42] jbrhbr: has joined #ruby
[18:07:59] shanemcd: has joined #ruby
[18:10:59] jbrhbr: has joined #ruby
[18:11:39] idefine: has joined #ruby
[18:11:59] S1kx: has joined #ruby
[18:14:53] rkazak: has joined #ruby
[18:15:28] benhuda: has joined #ruby
[18:17:25] hxegon: has joined #ruby
[18:17:25] blt: has joined #ruby
[18:18:10] hxegon: has joined #ruby
[18:18:37] jobewan: has joined #ruby
[18:19:45] zdman135: has joined #ruby
[18:20:37] redeeem: has joined #ruby
[18:20:37] ramfjord: has joined #ruby
[18:20:52] robh71: has joined #ruby
[18:22:31] redeeem: has joined #ruby
[18:22:52] sanguisdex: has joined #ruby
[18:25:15] mrchris: has joined #ruby
[18:25:39] mrchris: Do subclasses also inherit the parents included modules?
[18:26:30] redeeem_: has joined #ruby
[18:28:08] Tref: has joined #ruby
[18:28:18] Tref: hey guys, why does enumerable not have bang methods?
[18:28:18] arup_r: has joined #ruby
[18:28:35] synthroid: has joined #ruby
[18:28:47] Tref: Im trying to use map! on a nokogiri node set and im wondering why map is available but not map!
[18:28:52] [Butch]: has joined #ruby
[18:29:41] shanemcd: has joined #ruby
[18:29:53] domgetter: has joined #ruby
[18:30:55] hxegon: __chris https://eval.in/494385
[18:30:56] mistermocha: has joined #ruby
[18:31:36] mrchris: Thanks hxegon
[18:32:04] hxegon: __chris no problem
[18:32:06] RegulationD: has joined #ruby
[18:32:51] kfpratt: has joined #ruby
[18:33:22] hxegon: Tref so you're getting a NoMethodError when you call #map! ?
[18:33:42] Tref: hxegon: yeah
[18:33:52] Tref: I mean if you look at the docs there is no map! method
[18:33:53] Tref: only map
[18:34:19] Tref: I mean obviously I could create a new var for the result of map but im just wondering why there???s no method there
[18:35:17] pskosinski: has joined #ruby
[18:37:22] hxegon: Tref can't figure out myself, but I looked and there is a #nokogiri channel here :)
[18:37:36] shevy: trivial explanation: they might have forgotten to add it
[18:38:15] hxegon: Tref shevy quite possible. I would check the channel and open an issue if they don't know.
[18:39:14] yfeldblum: has joined #ruby
[18:39:24] Tref: well theres no map method in nokogiri
[18:39:38] Tref: the NodeSet module just includes Enumerable
[18:39:46] Tref: http://www.rubydoc.info/github/sparklemotion/nokogiri/Nokogiri/XML/NodeSet
[18:40:53] juddey: has joined #ruby
[18:41:44] Jardayn: has joined #ruby
[18:44:10] hxegon: Tref Probably not intentional to not have #map! then. Open a new issue up and see what they say
[18:45:37] bb010g: has joined #ruby
[18:45:56] BackEndCoder: has joined #ruby
[18:47:04] jobewan: has joined #ruby
[18:47:05] sneakerhax: has joined #ruby
[18:47:20] colegatron: has joined #ruby
[18:47:27] snarkanoid: has joined #ruby
[18:47:33] mimic289: has joined #ruby
[18:49:20] duckpuppy: has joined #ruby
[18:49:26] hxegon: by the way, morning shevy :D
[18:50:16] shevy: how did you know that I woke up not long ago?
[18:51:06] hxegon: shevy reading 'what is monad?' articles over and over apparently gave me psychic powers shevy
[18:51:17] shevy: did you understand them?
[18:51:55] hxegon: I feel close, but it's like sand running through my fingers.
[18:51:56] domgetter: They're just monoids in the category of endofunctors. What's the big deal?
[18:52:08] preyalone: has joined #ruby
[18:52:18] hxegon: aww man, why didn't they just say that domgetter!? it's so clea- and I lost it.
[18:52:24] trwyth: has joined #ruby
[18:52:48] domgetter: Just take the lambda cube, turn it on its side, say a few incantations, and you'll get it
[18:52:51] preyalone: Help, I can see my new specs v0.21 on rubygems.org, but when I run `gem install specs`, it grabs an older version, v0.20. https://rubygems.org/gems/specs
[18:53:01] shevy: hxegon hehe
[18:53:09] Axsuul: has joined #ruby
[18:53:51] hxegon: I can point to something and say, that is a monad sometimes, but not that is not a monad
[18:53:56] domgetter: preyalone: how long ago did you push?
[18:54:02] dtordable: has joined #ruby
[18:54:42] domgetter: hxegon: most of the enumerable methods are "monadic" in that they return something that is enumerable
[18:54:51] domgetter: I always feel nice and safe chaining those puppies
[18:56:59] domgetter: preyalone: if it's only been a few minutes, it's probably a caching issue on the gem server. try gem install specs -v 0.21
[18:57:29] hagabaka: has joined #ruby
[18:57:53] jackjackdripper: has joined #ruby
[19:00:10] preyalone: ERROR: Could not find a valid gem 'specs' (= 0.21) in any repository
[19:00:47] shevy: preyalone I sometimes have this with internet-connection problems
[19:01:26] ss_much: has joined #ruby
[19:01:44] domgetter: hmm. I just ran gem list specs -r
[19:01:50] shevy: sometimes it may take a bit before it gets synced to the main server
[19:01:51] domgetter: and v 0.21 came up in the list
[19:01:53] preyalone: does gem have an equivalent to apt-get update, that forcibly updates its cache of available package versions?
[19:02:23] domgetter: gem update specs
[19:02:29] shevy: preyalone you can go to https://rubygems.org/gems/specs/versions/0.21 and download manually; or try a "wget https://rubygems.org/downloads/specs-0.21.gem", then a "gem install ./specs-0.21.gem"
[19:02:59] domgetter: preyalone: what does `gem list specs -r` say?
[19:03:34] dfinninger: has joined #ruby
[19:04:34] haraigo: has joined #ruby
[19:04:36] preyalone: lol, even so, gem install still can't find version 0.21 https://www.irccloud.com/pastebin/Psxg1Wg8/
[19:04:38] ruboto: preyalone, we in #ruby do not like irccloud.com, I reposted your paste to gist for you: https://gist.github.com/4a6cd2993b59eb24ff8c
[19:04:38] ruboto: irccloud.com has no syntax highlighting, distracting formatting and loads slowly for most.
[19:04:51] stannard: has joined #ruby
[19:05:12] shevy: preyalone yeah it requires syncing; can you not download the gem via wget?
[19:05:40] domgetter: shevy: prey made the gem, it's just a sanity check I think
[19:05:58] domgetter: I'm pretty sure if you wait a bit, the website and the server will become consistent
[19:06:44] preyalone: i'll make some tea. 6 months ago, the sync felt instantaneous but i understand why this happens in order to scale rubygems
[19:07:28] domgetter: Welcome to the world of eventual consistency :)
[19:08:45] haraigo: has joined #ruby
[19:09:23] DoubleMalt: has joined #ruby
[19:09:29] tmtwd: has joined #ruby
[19:09:47] robh71: has joined #ruby
[19:10:06] haraigoshi: has joined #ruby
[19:11:07] shevy: well it's indeed sorta strange
[19:11:14] shevy: my gems are available almost instantly
[19:11:21] shevy: perhaps the name itself is a weird one?
[19:11:27] DotMH: has joined #ruby
[19:11:28] shevy: I mean "specs"
[19:11:58] Asher: has joined #ruby
[19:12:31] benhuda: has joined #ruby
[19:13:57] preyalone: could be a bug in rubygems 2.5.1, part of the new ruby 2.3 released Christmas 2015?
[19:15:09] Trynemjoel: has joined #ruby
[19:15:51] preyalone: system Mac OS X El Capitan rubygems can find and install specs -v 0.21, but not rvm installed ruby 2.0, gems 2.4.3
[19:16:21] preyalone: gem sources => https://rubygems.org/
[19:18:01] shevy: pretty weird
[19:19:48] baroquebobcat: has joined #ruby
[19:19:55] spleeze: has joined #ruby
[19:20:53] _blizzy_: has joined #ruby
[19:20:56] snockerton: has joined #ruby
[19:21:39] Axsuul: has joined #ruby
[19:22:50] dopie: has joined #ruby
[19:23:03] naftilos76: has joined #ruby
[19:24:11] c355E3B: has joined #ruby
[19:24:18] synthroid: has joined #ruby
[19:28:28] _blizzy_: has joined #ruby
[19:29:20] DavidDudson: has joined #ruby
[19:29:36] toretore: has joined #ruby
[19:30:00] tomphp: has joined #ruby
[19:30:13] mcmire: has joined #ruby
[19:30:40] atomical: has joined #ruby
[19:31:45] norc_: has joined #ruby
[19:31:48] _blizzy_: has joined #ruby
[19:33:54] symm-: has joined #ruby
[19:35:25] Darin_: has joined #ruby
[19:35:31] dotix: has joined #ruby
[19:36:41] djbkd: has joined #ruby
[19:37:09] preyalone: reporting: https://github.com/rubygems/rubygems.org/issues/1158
[19:37:56] shevy: "gem install specs -v 0.21" still does not work
[19:38:02] redeeem: has joined #ruby
[19:38:04] shevy: are you sure it does not have to do with the name?
[19:38:06] ruby-lang387: has joined #ruby
[19:38:31] trwyth: has joined #ruby
[19:38:32] redeeem: has left #ruby: ()
[19:38:43] shevy: well actually
[19:38:47] kadoppe: has joined #ruby
[19:38:49] shevy: the fact that one can download it via the link directly
[19:38:52] dotix: hey guys, is it normal to create classes dynamically and use const_set ?
[19:38:54] shevy: but not via gem install on the commandline
[19:38:57] shevy: that sounds like a bug indeed
[19:39:06] ruby-lang387: has left #ruby: ()
[19:39:13] shevy: dotix you can define constants?
[19:40:06] greenhat: was seeing the same issue with rgeo-geojson - cannot install the latest but it is listed on the website
[19:40:28] norc_: has joined #ruby
[19:40:28] norc_: has joined #ruby
[19:40:30] norc_: dotix: Normal, no. Possible, yes.
[19:40:45] shevy: greenhat I see
[19:41:23] dotix: shevy not really, I'm interested for something like: you have a module and a method like A.new_with_json(path) and it would be nice to return a A::B (where B is the class) . Class name will be determined based on the filename in the path.
[19:41:30] ruby-lang516: has joined #ruby
[19:41:40] dionysus70: has joined #ruby
[19:42:45] dotix: That module A basically can create classes with some methods in them, or inherit them from a Base, doesn't matter. I'm courios if it's a good practice or not
[19:42:48] j0bk_: has joined #ruby
[19:42:55] cpup: has joined #ruby
[19:43:05] Junaos: has joined #ruby
[19:43:10] robh71: has joined #ruby
[19:43:16] norc_: dotix: It really depends, generally generating classes dynamically is not good practice thoguh.
[19:43:19] naftilos76: Hi is there a way to compile an executable from a ruby script other than the project: https://github.com/ryanbooker/rubyscript2exe which is for 1.8.7 only?
[19:43:24] celly: has joined #ruby
[19:43:29] norc_: I mean it can be a neat way of solving certain problems.
[19:44:00] norc_: naftilos76: Cross platform? Or do you have a specific target in mind?
[19:45:58] naftilos76: norc_, do you have anything in mind?
[19:46:07] norc_: naftilos76: There is several solutions
[19:46:31] naftilos76: norc_, the only one i found so far is the one ^
[19:47:06] naftilos76: norc_, can you pls give me a link or two?
[19:47:58] norc_: naftilos76: I think the most flexible solution would be to use jruby with warbler.
[19:48:18] norc_: If Java works for you.
[19:48:39] devoldmx: has joined #ruby
[19:48:52] wolffles: has joined #ruby
[19:49:00] naftilos76: does that make the ruby code to java? and then it can be compiled into a binary executable?
[19:49:04] mrtomme: has joined #ruby
[19:49:04] seitensei: has joined #ruby
[19:49:13] tbuehlmann: has joined #ruby
[19:49:29] norc_: naftilos76: It just packages the Ruby application into a Jar, which can be run from any JRE.
[19:50:06] naftilos76: ok i see, never used java...
[19:50:39] c355E3B: oh man warbler is great
[19:50:40] naftilos76: norc_, thanks though
[19:50:55] mistermocha: has joined #ruby
[19:51:36] koba: has joined #ruby
[19:52:18] dtordable: has joined #ruby
[19:52:42] shanemcd: has joined #ruby
[19:53:16] dopie: has joined #ruby
[19:53:18] norc_: naftilos76: Aside from that, there is a handful of solutions like ruby_ship
[19:53:26] moeabdol: has joined #ruby
[19:53:43] norc_: None of them are stellar though, because it is so easy to install Ruby under Linux systems - even as a local user.
[19:53:56] naftilos76: norc_, let me google that
[19:55:25] Marsupermammal: has joined #ruby
[19:55:36] havenwood: naftilos76: Traveling Ruby is another to look at.
[20:01:04] PedramT: has joined #ruby
[20:02:02] hinbody: has joined #ruby
[20:02:04] FernandoBasso: has joined #ruby
[20:02:33] skcin7: has joined #ruby
[20:03:17] paha80: has joined #ruby
[20:04:13] roshanavand: has joined #ruby
[20:05:53] PedramT: has joined #ruby
[20:10:11] hakat: has joined #ruby
[20:10:53] marcdel: has joined #ruby
[20:12:47] naftilos76: havenwood, thanks seem like the best solution for me.
[20:13:20] naftilos76: havenwood, do you know if the executable is easily reversable?
[20:13:28] idefine: has joined #ruby
[20:13:36] havenwood: naftilos76: It's not obfuscated at all.
[20:13:41] yfeldblum: has joined #ruby
[20:14:12] dfinninger: has joined #ruby
[20:14:17] pawnbox: has joined #ruby
[20:14:25] havenwood: naftilos76: It's not Ruby but you might like looking at Crystal-lang, which has a Ruby-like syntax and nice modern stdlib and compiles to machine code: http://crystal-lang.org
[20:14:33] trwyth: has joined #ruby
[20:15:00] naftilos76: havenwood, i have already invested too much time in ruby
[20:15:09] mcmire: has joined #ruby
[20:15:13] naftilos76: i can't just switch langs!
[20:15:23] havenwood: naftilos76: As a Rubyist I find it trivial to write simple Crystal scripts.
[20:16:00] c355E3B: naftilos76: if you want a secure ruby app distribution, your looking at an appliance situation.
[20:16:01] naftilos76: havenwood, let me have a look at crystal then
[20:16:45] mcmire: has anyone tried to compile ruby trunk lately? i just did and i'm getting an error: unable to open output file 'enc/ascii.o': 'No such file or directory'. i followed the directions here: https://github.com/ruby/ruby/blob/trunk/doc/contributing.rdoc#running-tests
[20:17:00] PedramT_: has joined #ruby
[20:17:55] asam: has joined #ruby
[20:19:40] B1n4r10: has joined #ruby
[20:21:49] djbkd: has joined #ruby
[20:21:55] ta0: has joined #ruby
[20:22:21] roshanavand: has joined #ruby
[20:23:02] _blizzy_: has joined #ruby
[20:24:56] ico: has joined #ruby
[20:25:01] mistermocha: has joined #ruby
[20:25:20] naftilos76: havenwood, it is just amazing how people create new compilers and languages just like that! Crystal looks nice. Thanks.
[20:25:25] kalopsian: has joined #ruby
[20:25:58] marcdel: has joined #ruby
[20:26:43] havenwood: naftilos76: You're welcome.
[20:26:57] havenwood: mcmire: PASS all 1010 tests
[20:28:08] n_blownapart: has joined #ruby
[20:29:11] ahmedsaleh: has joined #ruby
[20:29:52] mistermocha: has joined #ruby
[20:32:16] davedev24: has joined #ruby
[20:32:31] Scripore: has joined #ruby
[20:32:41] rodfersou: has joined #ruby
[20:32:52] mcmire: when i check the enc folder inside of my build directory, there is indeed no ascii.o. i'm not all that familiar with C and make and all that, and this is my first time building ruby. what would be a reason that ascii.o wouldn't get created?
[20:32:58] mjuszczak: has joined #ruby
[20:33:46] shanemcd: has joined #ruby
[20:34:33] mcmire: if it helps any, when i ran ./configure i do see several lines that look like "checking for somethingsomething.......no", but ./configure doesn't give an error at the end, so i'm not sure if that's the issue or not.
[20:35:22] andywojo: has joined #ruby
[20:35:58] mcmire: also i'm using os x el capitan, using clang to compile
[20:38:16] diegoviola: has joined #ruby
[20:39:01] diegoviola: has joined #ruby
[20:41:52] ur5us: has joined #ruby
[20:43:34] mcmire: oh... if i'm building ruby inside of a custom directory like build/, it's saying that build/enc needs to exist.
[20:43:50] roshanavand: has joined #ruby
[20:44:41] baweaver: has joined #ruby
[20:44:56] tectonic: has joined #ruby
[20:44:58] shevy: I have not tried it but with default configure, using a custom directory like build/ works fine
[20:45:09] shevy: svn checkouts tend to be weirder for me sometimes
[20:45:41] dfinninger: has joined #ruby
[20:45:49] gccostabr: has joined #ruby
[20:46:57] ElFerna: has joined #ruby
[20:47:09] jonnyro: has joined #ruby
[20:47:13] bradleyprice: has joined #ruby
[20:48:26] mistermocha: has joined #ruby
[20:48:39] Guest38: has joined #ruby
[20:50:03] JoshGlzBrk: has joined #ruby
[20:50:04] duckpuppy: has joined #ruby
[20:50:40] mcmire: which neither ./configure nor make does on its own. sigh.
[20:51:09] nerium: has joined #ruby
[20:58:37] pwned_: has left #ruby: ()
[20:59:10] synthroid: has joined #ruby
[21:00:18] djbkd_: has joined #ruby
[21:01:14] davedev24: has joined #ruby
[21:02:01] dmonster: has joined #ruby
[21:02:55] mcmire: ok, so precreating those directories worked, but i'm still getting the same kind of errors from make. it's trying to link miniruby, whatever that is, and now it doesn't know what dmyext.o or miniprelude.o are. they do exist in the root directory, but i guess they aren't getting copied to build/.
[21:06:58] mdw: has joined #ruby
[21:11:41] azgil: has joined #ruby
[21:12:05] tmtwd: has joined #ruby
[21:12:33] Axsuul: has joined #ruby
[21:14:47] blackgoat: has joined #ruby
[21:14:54] dotix: has joined #ruby
[21:17:03] monsieurp: has joined #ruby
[21:17:04] monsieurp: has joined #ruby
[21:18:07] ChameleonSix: has joined #ruby
[21:18:31] ChameleonSix: hello does anyone know a channel for life advice
[21:19:12] Yzguy: has joined #ruby
[21:22:09] colegatron: has joined #ruby
[21:23:30] havenwood: !kick ChameleonSix "You've been warned repeatedly about off-topic questions. Try the #ruby-offtopic channel."
[21:23:32] ruboto: ruboto kicked ChameleonSix: been warned repeatedly about off-topic questions. Try the #ruby-offtopic channel."
[21:23:32] ruboto: -o ruboto
[21:23:59] havenwood: (Also good for hangman.)
[21:24:23] ChameleonSix: has joined #ruby
[21:24:39] hxegon: havenwood hey.
[21:24:51] hxegon: I feel like I just witnessed some sort of irc koan
[21:25:23] havenwood: ChameleonSix: Go through the Koans!: http://rubykoans.com
[21:25:39] hxegon: Cham6: does a dog have ruby-nature? havenwd: nothing.
[21:26:17] havenwood: ChameleonSix: That you might be enlightened.
[21:26:38] robh71: has joined #ruby
[21:26:40] ramfjord: has joined #ruby
[21:26:41] ChameleonSix: I will bookmark it
[21:26:44] ChameleonSix: im too tired now
[21:27:40] atomical: has joined #ruby
[21:27:57] ChameleonSix: Anything else?
[21:28:08] ChameleonSix: Book recomendations about metasploit?
[21:28:21] hxegon: TIME IS A FLAT CIRCLE
[21:28:22] havenwood: ChameleonSix: Go through the Koans a few times first.
[21:28:34] ChameleonSix: is it truly good
[21:28:48] adaedra: You won't know if you don't do them.
[21:28:56] n_blownapart: has joined #ruby
[21:29:03] hxegon: ChameleonSix no one can tell you what the matrix is friend.
[21:29:30] ChameleonSix: i will try it in the morning
[21:29:50] Dimik: has joined #ruby
[21:30:16] marcdel: has joined #ruby
[21:30:21] FooMunki: has joined #ruby
[21:32:23] PedramT: has joined #ruby
[21:32:36] ChameleonSix: can you recommend any good hacking books
[21:32:41] Radar: ChameleonSix: Sotp
[21:32:50] Radar: Go through Ruby Koans first to gain an understanding of the Ruby language.
[21:32:57] ChameleonSix: I understand it
[21:32:57] Radar: Then, when you're done, take the next step
[21:33:07] Radar: you are trying to move your right foot while your left foot is still in the air
[21:33:13] stannard: has joined #ruby
[21:33:16] adaedra: If you understand it, koans should be a piece of cake.
[21:33:58] pawnbox: has joined #ruby
[21:34:25] alphaatom: has joined #ruby
[21:34:45] ChameleonSix: first things come first i guess
[21:34:54] ChameleonSix: you cant run before learning how to walk
[21:36:28] ChameleonSix: nix is linux and mac osx
[21:36:48] robh71: has joined #ruby
[21:37:03] tbuehlmann: has left #ruby: ()
[21:37:08] hxegon: ChameleonSix they are both derivative.
[21:37:31] ChameleonSix: this kaons is like bible
[21:37:56] hxegon: ChameleonSix no, koans are by there nature contradictory to the nature of western religion
[21:38:10] unreal: has joined #ruby
[21:38:36] hxegon: in that christianity, islam etc. are preached, vs being contemplative like a koan
[21:39:17] benhuda: has joined #ruby
[21:39:20] slash_nick: then koans are like the Dhammacakkappavattana Sutta?
[21:39:23] ChameleonSix: Im an atheist
[21:39:50] hxegon: ChameleonSix buddhism doesn't claim a deity, so no conflict there.
[21:40:36] shanemcd: has joined #ruby
[21:41:14] ChameleonSix: what does .to_s precicely do
[21:41:39] adaedra: I thought you knew Ruby.
[21:41:42] slash_nick: ChameleonSix: s is for string
[21:41:42] hxegon: slash_nick koans came way after that bidness
[21:43:00] dstarh: has joined #ruby
[21:43:00] ChameleonSix: .new creates a new object?
[21:43:31] adaedra: That's not the koans you need, it's a getting started tutorial.
[21:43:34] hxegon: >> String.new # ChameleonSix try this stuff out in pry or irb before asking plz
[21:43:36] ruboto: hxegon # => "" (https://eval.in/494451)
[21:44:26] hxegon: love and peace
[21:44:29] ChameleonSix: has left #ruby: ()
[21:45:37] lipoqil: has joined #ruby
[21:46:23] redeeem: has joined #ruby
[21:48:51] atomical_: has joined #ruby
[21:49:01] jottr: has joined #ruby
[21:49:23] devoldmx: has joined #ruby
[21:50:00] seitensei: has joined #ruby
[21:50:03] dtordable: has joined #ruby
[21:51:22] wolffles: has left #ruby: ()
[21:51:52] FooMunki: has joined #ruby
[21:51:58] wolffles: has joined #ruby
[21:52:30] devbug: has joined #ruby
[21:53:08] jottr: has joined #ruby
[21:53:10] idefine_: has joined #ruby
[21:53:41] symm-: has joined #ruby
[21:55:54] shevy: hxegon hipster!
[21:56:31] colegatron: has joined #ruby
[21:56:33] idefine: has joined #ruby
[21:57:02] hxegon: shevy or a trigun fan
[21:57:09] shevy: if I consider http://www.biophp.org/minitools/melting_temperature/ ugly, is something wrong with me? I am trying to just extract the algorithm they are using... but the sheer spaghetti code so distracts me
[21:57:36] wolffles: has left #ruby: ()
[21:58:31] idefine: has joined #ruby
[21:58:49] selfflow: has joined #ruby
[21:59:35] Papierkorb: shevy: The PHP is strong with this one
[22:00:29] idefine: has joined #ruby
[22:00:36] shevy: yeah... one can get to the meaning ... but my eyes feel disturbed... perhaps I should write a php_cleaner.rb file ...
[22:00:37] Zarthus: shevy: needs more &nbsp;
[22:01:09] djbkd: has joined #ruby
[22:01:37] Zarthus: shevy: it starts with error_reporting(0); turn it on.
[22:01:50] snockerton1: has joined #ruby
[22:01:50] Zarthus: shevy: it throws undefined variable $_GET['primer'] immediately when you open the page.
[22:02:03] robh71: has joined #ruby
[22:02:14] Zarthus: So uh. Yeah. This was made by someone with no love for writing good code.
[22:02:15] selfflow: has left #ruby: ()
[22:02:19] idefine_: has joined #ruby
[22:02:47] shevy: yeah it's sorta strange... I mean I remember from my old php code that php isn't as pretty as ruby, but that seems really spaghetti code on a higher level
[22:02:52] Smcnaughts: has joined #ruby
[22:03:02] Zarthus: pretty typical PHP code, it's why it has a bad reputation
[22:03:19] Zarthus: partially, anyways.
[22:03:37] Papierkorb: tbh that kind of code is frowned upon in the php community
[22:03:42] ruby-lang878: has joined #ruby
[22:03:50] Zarthus: Papierkorb: yes, but it is also common.
[22:03:54] Papierkorb: Looks like some math guy just wrote it down
[22:04:02] icarus: has joined #ruby
[22:04:14] idefine: has joined #ruby
[22:04:20] Papierkorb: It's really common for that kind of people to produce pretty messy code
[22:04:47] Papierkorb: Although that one in particular goes a bit over board ;)
[22:06:49] jottr_: has joined #ruby
[22:07:07] skcin7: has joined #ruby
[22:07:28] volty: has joined #ruby
[22:07:46] idefine_: has joined #ruby
[22:10:37] Smcnaughts: has left #ruby: ()
[22:10:51] Smcnaughts: has joined #ruby
[22:11:17] Smcnaughts: has left #ruby: ()
[22:11:56] moei: has joined #ruby
[22:12:46] moei: has joined #ruby
[22:13:18] darin_thompson: has joined #ruby
[22:14:48] shellie_: has joined #ruby
[22:16:09] shellie_: has joined #ruby
[22:16:32] darin_thompson: I was having some issues with registering my name, I am hoping my messages are being sent now.
[22:16:43] mcmire: yes, we can see your messages.
[22:16:54] darin_thompson: ok, good. No more clutter.
[22:17:31] redeeem: has joined #ruby
[22:17:57] atumzin: has joined #ruby
[22:18:17] darin_thompson: So, I am trying to get better at programming Ruby. I can hack a site together with Rails and gems, with some basic functionality and bootstrap styling, but I have a project in mind but no idea how to start.
[22:18:26] darin_thompson: I want to program the Farkle dice game.
[22:19:04] ElFerna: has joined #ruby
[22:19:55] yfeldblum: has joined #ruby
[22:20:13] mcmire: is ruby your first language, or have you been programming previously?
[22:20:22] darin_thompson: Ruby is my first.
[22:20:33] slash_nick: sounds like fun!
[22:20:33] Melpaws: has joined #ruby
[22:21:21] darin_thompson: I have done an online bootcamp and know what Ruby is and am comfortable with the parts of Ruby. (i.e. I know what a class is and hashes are) but I don't know what to do with it.
[22:21:38] volty: has joined #ruby
[22:22:14] kaleido: the generic answer is
[22:22:22] lele: has joined #ruby
[22:22:24] kaleido: think of something you do every day, and try to automate it
[22:22:43] kaleido: start making it ugly
[22:22:47] darin_thompson: I know that answer, but my current job has nothing to do with computers.
[22:22:52] kaleido: and youll figure out how to make it more elegant
[22:23:08] mcmire: i'm not familiar with that game, but i would say to start off with, identify a tiny version of the game that you can start working on. oftentimes people try making these giant plans up front and that tends to be intimidating. but if you have a small piece then you can finish that in a reasonable amount of time, and then start building upon that.
[22:23:24] shevy: darin_thompson simplest thing is - if you know that you can automate something, it does not matter what it is, on a computer, just focus and do that, the rest will come on its own
[22:23:29] redeeem_: has joined #ruby
[22:23:42] kaleido: i am by no means "good" at it, but ive written some pretty simple web apps using sinatra and cuba
[22:23:48] dtordable: Yeah, toilet!
[22:23:59] kaleido: they start out looking like php, but ive managed to clean them up pretty nicely. by my standards anyways :)
[22:24:14] darin_thompson: How do I automate High Value Asset escorts in the Persian gulf?
[22:24:22] kaleido: and by php i mean they looked like sloppy written feces wrapped in cow dung
[22:24:51] shevy: darin_thompson do you use computers for any of it?
[22:24:57] kaleido: darin_thompson, doesnt have to be work related necessarily
[22:25:24] darin_thompson: No. I use a 50.Cal heavy Barrel Machine Gun and an M4 Carbine
[22:25:40] kaleido: forget ruby, lets talk guns awhile
[22:25:43] shevy: darin_thompson so you are trolling
[22:25:47] aef: has joined #ruby
[22:25:48] andywojo: has joined #ruby
[22:26:03] shevy: the lone guy out in the desert fully armed - but no computer anywhere
[22:26:23] darin_thompson: No. Not at all. I started doing what I do now, because up front I was told I was going to be working with computers. <--- not truth
[22:26:35] kaleido: oh, you believed the recruiter :(
[22:26:37] darin_thompson: So, when I am not doing what I do, I am programming.
[22:26:53] rkazak: has joined #ruby
[22:27:11] mcmire: that's really awesome, major props, both for what you do and for learning ruby :)
[22:27:24] kaleido: my cousin believed the recruiter, but instead of being an MP he was a "cannon cocker"
[22:27:31] darin_thompson: Everyday people tell me Im too smart to be doing what I do. And I agree with them. haha. Thanks a lot. haha
[22:27:52] Cihan: has joined #ruby
[22:28:02] kaleido: although his service did get him some points when he was applying to be a sheriff
[22:28:18] shevy: kaleido a sheriff like those in Rambo I!
[22:28:24] darin_thompson: Thats definitely what a lot of people end up doing.
[22:29:01] darin_thompson: For awhile I was thinking about doing private contracting, but after being in the military I want a job less "stressful"
[22:29:10] dtordable: I got fired from Spain military
[22:29:19] zdman135: has joined #ruby
[22:29:54] dtordable: Can't fuck so that
[22:30:03] snockerton: has joined #ruby
[22:30:17] hxegon: ACTION thinks dtordable has his/her priorities straight.
[22:30:25] dtordable: But got fired because of an illness
[22:30:56] shevy: dtordable hah I had to go through a psychological review because I stated that I had difficulties with "authority"
[22:30:56] darin_thompson: Ok, so I have a Ruby question actually now.
[22:31:19] hxegon: darin_thompson about bang methods :D
[22:31:25] mloy: has joined #ruby
[22:31:34] darin_thompson: I see what you did there...
[22:32:01] dtordable: shevy yeah, may I help? LOL
[22:32:35] celly: has joined #ruby
[22:32:43] darin_thompson: I was creating a generic Person class and wanted to create a get_name method. But when I try to print the greeting it doesn't pick up the name variable. I have to set the name as an argument when instantiating the new object.
[22:33:11] darin_thompson: https://gist.github.com/darinthompson/de1ad7f1c901c978019c
[22:33:38] hxegon: darin_thompson try not to use get_* methods, just make it #name.
[22:33:44] dotix: has joined #ruby
[22:33:45] shevy: darin_thompson store it in @name
[22:33:52] shevy: then it will be available
[22:34:20] hxegon: darin_thompson if you don't put @ in front of variable name, you can't use it outside the scope. In this case that is get_name.
[22:34:29] darin_thompson: so @name = gets.chomp?
[22:34:35] shevy: darin_thompson yes that would be one way
[22:34:49] darin_thompson: And I thought that's why you set @name to name in the initialize method
[22:34:55] CihanKaygusuz: has joined #ruby
[22:35:01] shevy: yes, it has an initial value there
[22:35:17] robh71: has joined #ruby
[22:35:23] shevy: but you modify the variable "name" in another method, which is local; if you want to invoke the method, you could try self.name = gets
[22:35:37] darin_thompson: Oh, that's too confusing. haha
[22:35:45] mcmire: you might not need the @name = name in your initializer. that isn't serving a purpose right now.
[22:36:22] darin_thompson: I see. I just see everyone doing that, but I guess they aren't doing exactly what I am trying to do either.
[22:36:42] shevy: eh you almost got it, it's a tiny thing there really
[22:36:51] idefine: has joined #ruby
[22:37:26] shevy: you can also put the method calls that you do, into "def initialize", so that you don't have to manually call them. Usually "NameOfClass.new" should be enough to invoke it
[22:37:27] mcmire: yeah, sometimes you will see something where the name is passed to the initializer. so Person.new(name), for instance. in that case, then you'd take name as an argument to the initializer and then set @name = name inside of #initialize. but in this case you're doing something different.
[22:38:22] darin_thompson: Oh, so in initialize you would have Person.new.get_name?
[22:38:29] darin_thompson: if I were to use that same method?
[22:38:57] mcmire: you can do that, although i would keep the initializer simple. oftentimes you don't want the initializer to do things like get input from the user. design-wise it makes things complicated and more difficult to work with later.
[22:39:42] darin_thompson: So you think it's better to just do @name = gets.chomp and then puts "Hello #{@name}"?
[22:40:02] hxegon: darin_thompson in the same function?
[22:40:18] snockerton: has joined #ruby
[22:40:32] darin_thompson: get_name is the gets.chomp greeting is the puts @name
[22:40:45] jidar: what's the most correct way for loading a local file's class? "require './foo.rb'" ?
[22:40:51] darin_thompson: I've got it working now. Just clarifying.
[22:41:08] hxegon: jidar require_relative might be what you're looking for
[22:41:22] stannard: has joined #ruby
[22:41:28] hxegon: darin_thompson btw, if you want to conditionally define it https://eval.in/494497
[22:41:33] mcmire: yeah - so - what i might do is rename "get_name" to "get_name_from_user" or "ask_user_for_name". you don't want to rename it to "name" because then it would override the name method you've created by saying attr_accessor :name
[22:41:36] shevy: darin_thompson just "get_name" should be enough, no need for Person.new when you are inside of the class; you only need that outside of your class, if you instantiate a new object
[22:42:07] hxegon: mcmire good point.
[22:42:08] mcmire: and then change @name = gets.chomp inside of get_name or whatever you want to name it, and then you're done
[22:42:37] darin_thompson: ok. That's sounds better.
[22:42:47] shevy: right now you manually call methods on your object there, like "darin.get_name", but you can put that part into your class, which will make using your class easier in the long run. for this code you showed, it may not matter much, but if you build larger things, it will be easier to keep things simple and the whole logic in the class itself
[22:43:35] darin_thompson: You guys are too smart. This is awesome.
[22:43:36] _blizzy_: is there any way to extract files from a installer using ruby?
[22:44:09] dtordable: has joined #ruby
[22:44:20] mcmire: _blizzy_ by "installer" what do you mean?
[22:44:30] _blizzy_: mcmire, like the ruby installer for windows
[22:44:34] hxegon: >> foo ||= gets.chomp # more concise way of writing 7-10 in my example
[22:44:35] ruboto: hxegon # => undefined method `chomp' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/494498)
[22:44:51] hxegon: why would that work /me
[22:45:03] zenlot3: has joined #ruby
[22:45:25] shevy: _blizzy_ I guess you have to extract first anyway
[22:45:35] _blizzy_: shevy, hmm, ok.
[22:45:48] shevy: most of the windows things follow some installer as part of an .exe if you got one... I forgot the name
[22:49:02] sandstrom: has joined #ruby
[22:50:49] duckpuppy: has joined #ruby
[22:51:54] jidar: hxegon: think this is what I was looking for, thanks,
[22:52:17] senayar: has joined #ruby
[22:52:18] senayar: has joined #ruby
[22:52:40] uxp: has joined #ruby
[22:52:48] ElFerna: has joined #ruby
[22:53:01] shevy: Can't find 'rubygems-update' in any repo. Check `gem source list`.
[22:54:07] sonOfRa: has joined #ruby
[22:54:38] kith: has joined #ruby
[22:55:04] idefine: has joined #ruby
[22:55:06] TheHodge: has joined #ruby
[22:56:10] pawnbox: has joined #ruby
[22:56:17] kfpratt: has joined #ruby
[22:58:09] gccostabr: has joined #ruby
[22:59:09] jschmid: has joined #ruby
[23:00:35] idefine: has joined #ruby
[23:02:00] djbkd: has joined #ruby
[23:03:25] darin_thompson: @shevy you were saying something about calling a method on the instance of the class?
[23:04:08] snockerton: has joined #ruby
[23:05:26] atumzin: has joined #ruby
[23:05:27] atumzin: has joined #ruby
[23:05:54] tvw: has joined #ruby
[23:09:33] Phage: Can anyone help me with this issue? https://gist.github.com/phildk/83ac562271bf022090e4
[23:10:05] mcmire: Phage what's the issue?
[23:10:23] havenwood: Phage: json.keys #=> ["kind", "data"]
[23:10:25] Phage: It doesn't return the value of the key "id"
[23:11:00] Phage: havenwood: what?
[23:11:01] mcmire: ^ what havenwood said
[23:11:03] Begi: has joined #ruby
[23:11:08] nerium: has joined #ruby
[23:11:09] Phage: I'm not sure I understand?
[23:11:18] mcmire: there is no "id" key
[23:11:31] mcmire: the only two keys in that JSON data are "kind" and "data"
[23:12:27] atumzin: has joined #ruby
[23:12:28] atumzin: has joined #ruby
[23:13:23] Axsuul: has joined #ruby
[23:14:10] idefine: has joined #ruby
[23:14:30] Phage: mcmire: havenwood thanks, sorry for my stupidity :p
[23:14:49] mcmire: no worries.
[23:16:02] whippythellama: has joined #ruby
[23:16:18] Begi2: has joined #ruby
[23:16:50] ta: has joined #ruby
[23:18:29] JakFrist: has joined #ruby
[23:19:19] moeabdol: has joined #ruby
[23:19:42] shevy: darin_thompson yes, you are doing this right now: cat = Cat.new; cat.name = 'Tom'; mouse = Mouse.new; mouse.name = 'Jerry' ... could be easier if you do it: cat = Cat.new 'Tom'
[23:20:28] aaeron: has joined #ruby
[23:20:35] darin_thompson: I thought you meant something like, darin = Person.new would automatically run the get_name_from_user method.
[23:20:47] saltsa: has joined #ruby
[23:20:52] shevy: you put that method into initialize() for instance
[23:21:08] shevy: I usually have a method called run() that handles that logic for me and I use that from within def initialize()
[23:22:31] darin_thompson: https://gist.github.com/darinthompson/47ceb7a4fa6f574fff87
[23:22:59] aaeron: has joined #ruby
[23:23:15] darin_thompson: I honestly don't know how I would do that.
[23:24:30] Yzguy_: has joined #ruby
[23:25:44] darin_thompson: But it's 2:30AM over here, so I am heading to sleep. Thanks for all the help, and I will definitely be on here more often now that I have it working.
[23:26:18] dtordable: has joined #ruby
[23:26:45] pawnbox: has joined #ruby
[23:27:16] colegatron: has joined #ruby
[23:27:44] shevy: you just put get_name_from_user into def initialize
[23:28:40] darin_thompson: It's that simple?
[23:29:25] jottr_: has joined #ruby
[23:29:58] darin_thompson: Ok, when I did that, the greeting doesn't work properly now.
[23:30:51] rkazak_: has joined #ruby
[23:32:16] shevy: darin_thompson for instance https://gist.github.com/shevegen/3d2fe0f86f2b70e0c1c0
[23:34:57] skcin7: has joined #ruby
[23:35:36] andywojo: has joined #ruby
[23:36:40] darin_thompson: So, the order in which you have your initialize method set up affects the outcome of the program?
[23:37:59] dotix: has joined #ruby
[23:38:27] baweaver: has joined #ruby
[23:39:13] vikas027: has joined #ruby
[23:40:57] shevy: the order is important
[23:41:02] VeryBewitching: has joined #ruby
[23:41:02] Renich: has joined #ruby
[23:41:13] shevy: usually build from simple to more complex
[23:41:16] shevy: while keeping things simple
[23:41:42] shevy: you can think of your class as the factory, the methods are the different steps in the factory
[23:41:58] shevy: you build a car... first attach the base skeleton... then the wheels... and so on... last comes the colour painting
[23:42:41] shevy: and the test/ directory will be the monkeys that you put into your car
[23:42:42] shevy: to drive it
[23:42:51] darin_thompson: Right. But I tried it and called the get_name method before @name = name and the string was blank during the greeting method.
[23:43:47] darin_thompson: But if you set your variables first, then all should be good.
[23:44:48] shevy: you have only two important variables there
[23:45:00] shevy: @name and @age
[23:45:20] CloCkWeRX: has joined #ruby
[23:45:26] atumzin: has joined #ruby
[23:45:36] darin_thompson: But if they aren't called first or set first I should say. Then the methods won't work properly.
[23:46:28] shevy: well, I usually also use a method called reset()
[23:46:41] shevy: which sets the default state (but can also be used to .reset() on the object to reset it to its default state again)
[23:46:46] darin_thompson: That's what I thought. It's working now though. Like a charm. It's the small things that count.
[23:46:58] Trynemjoel: has joined #ruby
[23:47:30] darin_thompson: I think that's beyond me. But if you know anyone willing to trade some remote training for free work let me know. I want to learn bad.
[23:50:08] devoldmx: has joined #ruby
[23:50:56] seitensei: has joined #ruby
[23:55:25] darin_thompson: Thanks again @shevy for your help. I am out for real this time
[23:57:01] BTRE: has joined #ruby