« Back to channel list

#ruby - 09 October 2015

« Back 1 day Forward 1 day »
[00:04:49] diegoviola: sentionics: just translate your python knowledge to ruby
[00:05:23] WillAmes: has joined #ruby
[00:05:33] diegoviola: learn as you go
[00:06:37] iamjarvo_: has joined #ruby
[00:07:10] fullofcaffeine: has joined #ruby
[00:09:47] freerobby: has joined #ruby
[00:12:32] blackmesa: has joined #ruby
[00:13:25] fullofcaffeine: has joined #ruby
[00:17:01] rushed: has joined #ruby
[00:17:12] cdg: has joined #ruby
[00:17:21] djbkd: has joined #ruby
[00:17:40] jenrzzz: has joined #ruby
[00:18:04] shinnya: has joined #ruby
[00:18:06] freerobby: has joined #ruby
[00:18:40] acke: has joined #ruby
[00:19:42] jpfuentes2: has joined #ruby
[00:21:36] radgeRayden: has joined #ruby
[00:23:24] seal: has joined #ruby
[00:26:49] atomical: has joined #ruby
[00:28:08] CloCkWeRX: has joined #ruby
[00:30:32] mary5030: has joined #ruby
[00:30:54] jenrzzz: has joined #ruby
[00:32:21] drbrain: shevy: I like the new API, Socket.tcp host, port do |socket| ??? end
[00:33:05] fullofcaffeine: has joined #ruby
[00:33:39] riotjones: has joined #ruby
[00:33:43] drbrain: does python have a better socket API than the low-level BSD socket wrapper?
[00:34:30] idefine: has joined #ruby
[00:35:16] EminenceHC: has joined #ruby
[00:36:17] mary5030: has joined #ruby
[00:38:20] ZiLi0n: has joined #ruby
[00:39:45] Cyther: has joined #ruby
[00:40:29] toretore: sentionics: eventmachine is similar to twisted in ruby if you're looking to do non-blocking io
[00:42:10] pipework: There's other stuff too, like using celluloid too.
[00:42:32] pipework: DCell and the such.
[00:43:46] rushed: has joined #ruby
[00:45:20] stardiviner: has joined #ruby
[00:46:59] bruno-_: has joined #ruby
[00:47:00] gambl0re: has joined #ruby
[00:47:33] sphex: has joined #ruby
[00:48:31] pipework: shevy: huh?
[00:48:57] arthurix_: has joined #ruby
[00:48:58] fullofcaffeine: has joined #ruby
[00:49:38] mondayrain: has joined #ruby
[00:51:35] jessemcgilallen: has joined #ruby
[00:52:34] beauby: has joined #ruby
[00:55:28] idefine: has joined #ruby
[00:56:06] null_ref: has joined #ruby
[00:57:18] iamjarvo_: has joined #ruby
[00:57:19] rushed: has joined #ruby
[00:58:27] agentmeerkat: has joined #ruby
[01:00:27] |ifei5good: has joined #ruby
[01:02:07] mary5030: has joined #ruby
[01:03:46] amystephen: has joined #ruby
[01:06:59] patchedmonkey: has joined #ruby
[01:07:01] NeverDie: has joined #ruby
[01:07:30] diegoviola: has joined #ruby
[01:08:14] |ifei5g00d: has joined #ruby
[01:08:16] hahuang65: has joined #ruby
[01:08:30] jso: has joined #ruby
[01:09:44] ausec: has joined #ruby
[01:09:47] codeurge: has joined #ruby
[01:12:25] ausec: i have a file which i am reading into an array using 'file.readlines('filename')'
[01:12:27] moeabdol: has joined #ruby
[01:12:43] allcentury: has joined #ruby
[01:12:48] skweek: has joined #ruby
[01:13:10] ausec: i want to print the first 50 lines, then the next 50 etc
[01:13:17] blackmesa: has joined #ruby
[01:13:20] tkuchiki: has joined #ruby
[01:15:20] saddad: has joined #ruby
[01:18:03] djbkd: has joined #ruby
[01:19:26] acke: has joined #ruby
[01:21:12] davedev24: has joined #ruby
[01:22:09] rushed: has joined #ruby
[01:22:22] swgillespie: has joined #ruby
[01:23:26] tkuchiki: has joined #ruby
[01:23:47] ellisTAA: has joined #ruby
[01:24:18] havenwood: has joined #ruby
[01:26:10] toretore: ausec: http://www.rubydoc.info/stdlib/core/Enumerable#each_slice-instance_method
[01:26:22] matp_: has joined #ruby
[01:26:58] Maletor: has joined #ruby
[01:28:31] jso: has joined #ruby
[01:28:42] oliver___: has joined #ruby
[01:30:26] Vile`: has joined #ruby
[01:33:09] agentmeerkat: has left #ruby: ()
[01:33:13] houhoulis: has joined #ruby
[01:33:22] l_tonz: has joined #ruby
[01:34:38] Flyy7: has joined #ruby
[01:36:16] paulcsmith: has joined #ruby
[01:38:32] jso: has joined #ruby
[01:38:43] jsuth: has joined #ruby
[01:40:01] diego1: has joined #ruby
[01:40:04] diego1: has joined #ruby
[01:40:31] dstarh: has joined #ruby
[01:40:35] EasyCo: has joined #ruby
[01:40:49] cibs_: has joined #ruby
[01:41:15] iWaffles: has joined #ruby
[01:41:23] northfurr: has joined #ruby
[01:41:45] EasyCo: Anybody here use CodeClimate and added a repo and had it continuously show: "Generating code quality metrics" in the project dashboard?
[01:42:37] giuseppesolinas: has joined #ruby
[01:44:48] havenwood: has joined #ruby
[01:45:32] havenn: has joined #ruby
[01:45:47] fullofcaffeine: has joined #ruby
[01:47:23] tmtwd: has joined #ruby
[01:48:06] |ifei5good: has joined #ruby
[01:51:09] xqo: has joined #ruby
[01:51:42] xqo: hi, I was wondering, why is ruby good? What's the appeal?
[01:52:14] Illusioneer: has joined #ruby
[01:53:12] jsuth: has joined #ruby
[01:53:13] Lilian: has joined #ruby
[01:54:00] xqo: i mean, like.. when do you choose Ruby as your weapon of choice?
[01:54:07] xqo: what is it good for?
[01:54:11] l_tonz: has joined #ruby
[01:54:24] havenn: xqo: Why is English good? What's the appeal? What is it good for?
[01:54:27] pipework: xqo: great things.
[01:55:04] havenn: xqo: The question is so broad it's hard to answer. Ruby is a general purpose language. It excels at making programmers happy.
[01:55:21] xqo: oh, hey i know
[01:55:30] xqo: What are Ruby's strengths, compared to other languages?
[01:55:37] xqo: thats my question.
[01:55:40] RobertBirnie: has joined #ruby
[01:55:43] jsuth: it excels at making programmers happy
[01:56:02] havenn: xqo: People enjoy using it to get things done.
[01:56:27] jsuth: express a lot with concise code. easily readable
[01:56:35] toretore: up to a certain point, where it increasingly gets in your way
[01:56:45] pipework: xqo: It's great.
[01:56:50] xqo: ruby and python are kind of alike and have the same strengths?
[01:57:26] pipework: The communities have some shared interests and strengths, and they both have differing interests and strengths too.
[01:57:50] wallerdev: has joined #ruby
[01:57:55] RegulationD: has joined #ruby
[01:57:56] Smigwell: has joined #ruby
[01:58:30] Smigwell: has left #ruby: ()
[01:58:33] devoldmx: has joined #ruby
[01:58:56] Smigwell: has joined #ruby
[02:00:00] havenn: xqo: Generally speaking the Ruby community is more adventurous and the Python community is more calculating. We have more foxes and chunky bacon in Ruby.
[02:00:21] havenn: xqo: Maybe try both and see what appeals to you.
[02:00:24] xqo: whatever does that mean?
[02:00:40] havenn: xqo: Our books may have soundtracks and mascots.
[02:01:06] Radar: xqo: It really depends on what you want to do with Ruby.
[02:01:19] havenn: xqo: And your aesthetic preferences.
[02:01:32] Radar: Ruby has a really great web framework (Rails). Python has great math tools (SciPy)
[02:01:34] PaulCape_: has joined #ruby
[02:01:51] pipework: and it's okay to start with one or both and then switch to another or drop one.
[02:02:03] chipotle: has joined #ruby
[02:02:24] swgillespie: has joined #ruby
[02:02:30] Pharaoh2: has joined #ruby
[02:02:39] diego1: has joined #ruby
[02:02:40] EasyCo: Everytime I think Ruby, I think http://mislav.uniqpath.com/poignant-guide/
[02:02:40] havenn: xqo: Elixir.
[02:02:43] diego1: has joined #ruby
[02:02:44] EasyCo: and I like that
[02:03:11] havenn: http://mislav.uniqpath.com/poignant-guide/soundtrack/
[02:03:16] havenn: I like track two.
[02:03:17] rushed: has joined #ruby
[02:03:29] freerobby: has joined #ruby
[02:03:47] havenn: ACTION sings This book is made of rabbits and lemonade...
[02:04:43] BTRE: has joined #ruby
[02:04:43] xqo: has left #ruby: ()
[02:04:56] sckhzn: has joined #ruby
[02:05:05] jso: has joined #ruby
[02:05:15] A124: has joined #ruby
[02:06:34] datanoise: has joined #ruby
[02:07:33] p1k: has joined #ruby
[02:09:15] sckhzn: has left #ruby: ("Textual IRC Client: http://www.textualapp.com/")
[02:09:50] fullofcaffeine: has joined #ruby
[02:11:05] jso: has joined #ruby
[02:11:29] mary5030: has joined #ruby
[02:11:51] bruno-: has joined #ruby
[02:12:12] davedev24: has joined #ruby
[02:14:18] cibs: has joined #ruby
[02:15:02] mary5030: has joined #ruby
[02:15:26] blackmesa: has joined #ruby
[02:15:31] mdih: has joined #ruby
[02:17:45] sagax: has joined #ruby
[02:17:55] tkuchiki: has joined #ruby
[02:18:36] johnzorn_: has joined #ruby
[02:18:51] djbkd: has joined #ruby
[02:19:10] Alazoral: has joined #ruby
[02:20:18] acke: has joined #ruby
[02:20:23] fullofcaffeine: has joined #ruby
[02:22:43] cwong_on_irc: has joined #ruby
[02:25:32] simplyianm: has joined #ruby
[02:25:42] BTRE: has joined #ruby
[02:27:56] pontiki: has joined #ruby
[02:28:10] rickmasta: has joined #ruby
[02:28:11] havenn: has joined #ruby
[02:28:59] RobertBirnie: has joined #ruby
[02:29:22] iamjarvo_: has joined #ruby
[02:31:30] cibs_: has joined #ruby
[02:32:35] dnewkerk: has joined #ruby
[02:34:23] riotjones: has joined #ruby
[02:35:16] baweaver: has joined #ruby
[02:37:08] bb010g: has joined #ruby
[02:39:13] fullofcaffeine: has joined #ruby
[02:42:35] c_nick: has joined #ruby
[02:42:48] Soda: has joined #ruby
[02:43:13] mary5030: has joined #ruby
[02:46:49] ndrei: has joined #ruby
[02:49:44] diego1: has joined #ruby
[02:52:46] diego1: has joined #ruby
[02:58:54] r00t_: has joined #ruby
[02:59:21] RegulationD: has joined #ruby
[03:00:30] tkuchiki: has joined #ruby
[03:00:56] gener1c_: has joined #ruby
[03:01:05] lessless: has joined #ruby
[03:01:51] mrtomme: has joined #ruby
[03:02:07] fred1807: has joined #ruby
[03:02:20] luckyme: has joined #ruby
[03:03:39] fred1807: So, I installed the Ruby gem "T" to access my twitter from command line... And the app fails because it tries to open a X window session / internet browser for me to authorize the application........ ..... ....... .. . .. c'mon...
[03:05:30] darkf: has joined #ruby
[03:07:06] TheWhip: has joined #ruby
[03:07:31] amystephen: has joined #ruby
[03:09:18] favadi: has joined #ruby
[03:09:39] braincrash: has joined #ruby
[03:10:08] tkuchiki: has joined #ruby
[03:10:33] BraddPitt: you can authorize through the command line fred1807
[03:11:06] fred1807: t authorize tries to open a Gui browser. but dont have X / desktop installed....
[03:11:15] fred1807: any alternative?
[03:12:37] bruno-: has joined #ruby
[03:13:48] fred1807: can you believe? "Lets authorize from command line...." $t authorize = Opens the desktop browser, so you can athorize....
[03:14:00] allcentury: has joined #ruby
[03:14:09] Radar: Shocking!
[03:14:27] Radar: I mean, who these days uses a computer with a proper desktop setup? Plebs, that's who!
[03:14:32] cibs: has joined #ruby
[03:14:37] c_nick: has joined #ruby
[03:14:46] Radar: It's clearly wrong of the author to assume that people use desktops these days.
[03:14:56] Radar: You should write a nasty issue on the repo and give them what for!
[03:15:57] fred1807: It does not matter.... Lets say.... I will write a Operational system in Ruby... Then when the user runs the gem... It loads windows.exe... lol its the same
[03:16:11] blackmesa: has joined #ruby
[03:16:16] ramfjord: has joined #ruby
[03:18:17] yes`r: has joined #ruby
[03:18:41] gix: has joined #ruby
[03:18:42] c_nick: has left #ruby: ()
[03:19:17] fred1807: command line is command line for god sake... I want to run the twitter client inside a vps server, so I can send a load of useful information to other server apps... What now? Should I take an airplane to Amazon AWS DataCenter and plug a monitor on the bare metal server because "who is not using a proper desktop nowdays?".. Just kidding, but I cannot believe someone treats the command line philosophy like that
[03:19:45] djbkd: has joined #ruby
[03:19:51] Radar: The creator of the gem made a decision, and you disagree with it.
[03:20:01] Radar: You're employing at least ONE logical fallacy in your argument.
[03:20:23] krz: has joined #ruby
[03:20:27] fred1807: no, he is totally wrong
[03:20:34] Radar: If I had to pick which one, it'd be slippery slope.
[03:20:54] acke: has joined #ruby
[03:21:00] tkuchiki: has joined #ruby
[03:21:19] Radar: TOTALLY wrong
[03:21:26] fred1807: utterly wrong
[03:21:33] Radar: OF COURSE he's totally wrong... if 100% of his userbase was terminal-only users.
[03:21:38] Radar: But, protip, they're not.
[03:21:54] Radar: There is also a lovely little "Fork" button on GitHub that you could use to fix this problem for yourself :)
[03:23:21] fred1807: if you write a command line tool, it is a command line tool.... You cannot depend on GUI for the SETUP process... End of question.. There is a load of twitter clients on github already... Hundreds only in Python, I had the "luck" to start with the ruby fake gem
[03:23:27] fred1807: lets move on :P
[03:23:27] pawnbox: has joined #ruby
[03:23:40] Radar: Did you get out of the wrong side of bed this morning?
[03:23:53] rushed: has joined #ruby
[03:24:55] fred1807: a bad piece of code for twitter does not deserve such a rant, but my opinion would not change even in a bright rainbow sunny day
[03:28:16] pocketprotector-: has joined #ruby
[03:28:32] dopie: has joined #ruby
[03:29:36] favadi: has joined #ruby
[03:29:44] Coraline: Um, who would want to use a command-line Twitter client from AWS?
[03:29:52] diego1: has joined #ruby
[03:29:56] diego1: has joined #ruby
[03:30:20] charliesome: has joined #ruby
[03:30:31] rickmasta: has joined #ruby
[03:32:27] EminenceHC: has joined #ruby
[03:34:25] fred1807: Coraline: AWS means nothings.. But a virtual server, from AWS's EC2 service, can be used to create a twitter wall presentation for an event, or public show. Another use is to let it runnign data mining a subjects or hashtag... Another option is to create a IOS App for a Iphone Game that publish the leadeboard scores to the game's timeline, so users followers can retweet.... Endless possibilities, as long one use a proper lang like python (jk again)
[03:34:39] ybian_: has joined #ruby
[03:35:49] erasmus: has joined #ruby
[03:37:53] Coraline: You have a choice of gems then.
[03:37:58] astrobun_: has joined #ruby
[03:37:59] Coraline: No one library is all-purpose.
[03:38:07] sanjayu: has joined #ruby
[03:38:09] Axy: has joined #ruby
[03:38:32] l_tonz: has joined #ruby
[03:39:03] iamse7en: has joined #ruby
[03:39:56] tkuchiki: has joined #ruby
[03:39:57] sentionics: Is it sane to write 2D games (like an RPG) in Ruby? There a good lib for that:
[03:40:30] rickmasta: has joined #ruby
[03:40:44] astrobun_: has joined #ruby
[03:40:46] Coraline: sentionics: gosu
[03:41:12] iamse7en: Hello, any experts with regular expression, would kindly appreciate any help with this one. thank you! https://gist.github.com/anonymous/9fa709bd5d1a8366999e
[03:42:29] Coraline: iamse7en: http://rubular.com/r/yOmspGVIhD
[03:42:29] Radar: iamse7en: Sure.
[03:42:35] Radar: Coraline: is already on it :)
[03:42:36] luckyme: has joined #ruby
[03:43:05] iamse7en: Thank you so very much! Perfect
[03:43:28] l_tonz: has joined #ruby
[03:43:46] Radar: In your original example, you can also escape the pipe | and that'll return the result you want too.
[03:44:18] devoldmx: has joined #ruby
[03:45:09] mrburied: has joined #ruby
[03:47:17] willardg: has joined #ruby
[03:47:57] Ropeney: has joined #ruby
[03:48:48] pilne: has joined #ruby
[03:49:27] stardiviner: has joined #ruby
[03:49:44] diego1: has joined #ruby
[03:49:56] ses1980: has joined #ruby
[03:50:12] willardg: has joined #ruby
[03:50:24] ses1980: hi, is there a ruby equivalent to something like chmod +x file_path? the File class has chmod module but you have to set all the permissions
[03:50:44] diego1: has joined #ruby
[03:50:56] ses1980: unfortunately when googling this problem...there are a billion results explaining how to use chmod +x to make a ruby script executable
[03:51:24] ses1980: i really don't want to have to parse out File.stat ... that's probably the wrong way
[03:51:49] pilne: has joined #ruby
[03:53:12] jenrzzz: has joined #ruby
[03:53:49] pontiki: you shouldn't need to parse it, i think, or a bit mask equivalent. but it's still rather unfriendly. someone must have done something easier....
[03:54:01] pontiki: (that's OR a bit mask)
[03:54:28] iamse7en: has left #ruby: ("I'm out like a black kid in a spelling bee.")
[03:54:50] pontiki: http://ruby-doc.org/stdlib-2.2.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-chmod
[03:55:06] charliesome: has joined #ruby
[03:55:42] TheWhip: has joined #ruby
[03:59:36] amoeba: has joined #ruby
[04:01:16] l_tonz: has joined #ruby
[04:04:30] giuseppesolinas: has joined #ruby
[04:06:42] balazs: has joined #ruby
[04:08:50] julieeharshaw: has joined #ruby
[04:09:30] tkuchiki: has joined #ruby
[04:09:55] decaff: has joined #ruby
[04:13:40] bruno-: has joined #ruby
[04:14:05] BTRE: has joined #ruby
[04:14:40] jun_: has joined #ruby
[04:15:01] fullofcaffeine: has joined #ruby
[04:17:39] pawnbox: has joined #ruby
[04:17:55] tkuchiki: has joined #ruby
[04:18:03] ses1980: has joined #ruby
[04:18:20] blackmesa: has joined #ruby
[04:19:14] ses1980: pontiki: sorry got disconnected. did i miss anything? yeah someone must have done something easier. the problem is finding the right way to sift through all the pages that explain how to chmod +x helloworld.rb
[04:19:50] ellisTAA: has joined #ruby
[04:19:56] grenierm: has joined #ruby
[04:20:02] moeabdol: has joined #ruby
[04:20:09] MeMoc: has joined #ruby
[04:20:37] djbkd: has joined #ruby
[04:20:45] seaned__: has joined #ruby
[04:21:11] fullofcaffeine: has joined #ruby
[04:21:40] acke: has joined #ruby
[04:21:44] pontiki: <pontiki> (that's OR a bit mask) [22:54]
[04:21:45] pontiki: http://ruby-doc.org/stdlib-2.2.3/libdoc/fileutils/rdoc/FileUtils.html#method-c-chmod
[04:21:56] pontiki: just the link
[04:22:17] Radar: EllisTAA: 1
[04:22:31] pontiki: Radar: ping
[04:22:38] Radar: pontiki: pong
[04:23:04] pontiki: Radar: ping
[04:23:10] Radar: pontiki: pong
[04:23:16] pontiki: ooo, aced me
[04:25:10] ellisTAA: is an egine, e.g. template engine, something that processes code?
[04:26:35] dikaio: has joined #ruby
[04:26:38] pontiki: usually, yes; ruby code is embedded in the template, the template engine executes that code and depending on the embed markup, can insert the results in the output
[04:26:54] pontiki: this is how ERB, Haml, Slim and others work
[04:27:25] pontiki: also, fwiw, how PHP works
[04:28:11] tkuchiki: has joined #ruby
[04:28:44] UtkarshRay: has joined #ruby
[04:29:05] keen___________7: has joined #ruby
[04:31:19] astrobun_: has joined #ruby
[04:32:07] pilne: has joined #ruby
[04:32:55] jaequery: has joined #ruby
[04:34:13] aaeron: has joined #ruby
[04:35:14] riotjones: has joined #ruby
[04:47:22] arescorpio: has joined #ruby
[04:47:35] cwright1986: has joined #ruby
[04:47:43] TheWhip: has joined #ruby
[04:49:47] cwright1986: is ruby a good language to learn for freelance?
[04:51:29] pontiki: good as any
[04:52:00] cwright1986: did you "fall in love" with ruby pontiki?
[04:52:24] pontiki: cwright1986: you'd probably find more freelance gigs with javascript
[04:53:30] pontiki: ruby and rails yield more contracting jobs, but javascript yields more freelance gigs
[04:53:43] pontiki: so that's a datapoint of one
[04:53:51] pontiki: datum point
[04:54:12] Technodrome: has joined #ruby
[04:55:35] cwright1986: sorry to be so naieve, how are contracting job different from freelance?
[04:56:02] krz: has joined #ruby
[04:56:22] pontiki: do not PM without permissiong
[04:56:58] cwright1986: oh sorry. this is my first time on irc
[04:56:58] yes`r: has joined #ruby
[04:57:24] pontiki: contracting you are working for someone else for a time period. freelancing you work for yourself, and deliver a work piece.
[04:57:47] pawnbox: has joined #ruby
[04:57:51] amystephen: has joined #ruby
[04:58:25] pontiki: i've never used ruby or rails in a freelance gig. wordpress in PHP is much more the norm, for me
[04:58:34] pontiki: i much prefer contracting
[04:58:43] pontiki: chasing work as a freelancer is a royal pain
[04:59:25] pontiki: yeah; it was taking almost all my time
[04:59:37] pontiki: so not very many billable hours :()
[05:00:02] cwright1986: do you have trouble finding contract work?
[05:00:03] RegulationD: has joined #ruby
[05:00:08] pontiki: contracting, someone else chases the work and clients, i'm all billable time
[05:00:10] TheWhip: has joined #ruby
[05:00:12] pontiki: not so much
[05:00:19] pawnbox: has joined #ruby
[05:00:36] casadei: has joined #ruby
[05:00:44] cwright1986: thanks for the info
[05:01:11] neanderslob__: has joined #ruby
[05:04:24] astrobun_: has joined #ruby
[05:09:49] matp: has joined #ruby
[05:09:52] [k-: has joined #ruby
[05:09:59] jsuth: has joined #ruby
[05:14:20] bruno-: has joined #ruby
[05:16:22] fullofcaffeine: has joined #ruby
[05:16:30] dhjondoh: has joined #ruby
[05:18:58] atmosx: has joined #ruby
[05:20:13] blackmesa: has joined #ruby
[05:20:53] atmosx: has joined #ruby
[05:21:15] djbkd: has joined #ruby
[05:21:38] diegoaguilar: has joined #ruby
[05:25:30] jenrzzz: has joined #ruby
[05:30:52] radgeRayden_: has joined #ruby
[05:34:33] favadi: has joined #ruby
[05:34:47] pawnbox: has joined #ruby
[05:35:19] TheWhip: has joined #ruby
[05:36:51] fullofcaffeine: has joined #ruby
[05:37:55] aganov: has joined #ruby
[05:40:44] tagrudev: has joined #ruby
[05:41:03] timonv: has joined #ruby
[05:43:10] jun_: has joined #ruby
[05:45:05] devoldmx: has joined #ruby
[05:48:38] aaeron: has joined #ruby
[05:49:08] aaeron: has joined #ruby
[05:50:38] fullofcaffeine: has joined #ruby
[05:51:04] ValicekB: has joined #ruby
[05:52:32] riotjones: has joined #ruby
[05:55:12] tkuchiki: has joined #ruby
[05:55:14] swgillespie: has joined #ruby
[05:56:26] dionysus69: has joined #ruby
[05:57:20] Pupp3tm4st3r: has joined #ruby
[05:57:37] PaulCapestany: has joined #ruby
[05:59:31] acke: has joined #ruby
[05:59:50] astrobun_: has joined #ruby
[06:00:25] trautwein: has joined #ruby
[06:00:51] TheWhip_: has joined #ruby
[06:01:58] dionysus69: has joined #ruby
[06:07:24] jenrzzz: has joined #ruby
[06:08:26] trautwein: has joined #ruby
[06:10:39] Timba-as_: has joined #ruby
[06:13:36] agit0: has joined #ruby
[06:15:10] allcentury: has joined #ruby
[06:16:48] bruno-: has joined #ruby
[06:17:38] lessless: has joined #ruby
[06:21:00] fullofcaffeine: has joined #ruby
[06:21:50] djbkd: has joined #ruby
[06:23:27] blackmesa: has joined #ruby
[06:27:08] yeticry: has joined #ruby
[06:28:35] Macaveli: has joined #ruby
[06:29:40] pawnbox_: has joined #ruby
[06:32:46] Ropeney: has joined #ruby
[06:33:25] InternetFriend: has joined #ruby
[06:35:29] firstdayonthejob: has joined #ruby
[06:38:08] jun_: has joined #ruby
[06:40:45] jun_: has joined #ruby
[06:42:51] fullofcaffeine: has joined #ruby
[06:44:19] casadei: has joined #ruby
[06:44:50] dhjondoh: has joined #ruby
[06:45:38] malconis: has joined #ruby
[06:46:04] roshanavand: has joined #ruby
[06:46:22] jas02: has joined #ruby
[06:47:04] eGGsha: has joined #ruby
[06:49:57] certainty: has joined #ruby
[06:51:54] DanKnox: has joined #ruby
[06:52:31] stardiviner: has joined #ruby
[06:54:05] l_tonz: has joined #ruby
[06:54:18] charliesome: has joined #ruby
[06:58:02] DoubleMalt: has joined #ruby
[06:58:04] charliesome: has joined #ruby
[07:00:52] RegulationD: has joined #ruby
[07:02:38] tvw: has joined #ruby
[07:02:56] devyn: has joined #ruby
[07:03:20] karapetyan: has joined #ruby
[07:03:57] solars: has joined #ruby
[07:06:33] roshanav_: has joined #ruby
[07:08:26] terlar: has joined #ruby
[07:09:01] ndrei: has joined #ruby
[07:09:55] techsethi: has joined #ruby
[07:12:38] brunto: has joined #ruby
[07:14:24] wallerdev: has joined #ruby
[07:14:53] greenarrow: has joined #ruby
[07:16:01] MuffinPimp: has joined #ruby
[07:16:26] Musashi007: has joined #ruby
[07:17:23] bruno-: has joined #ruby
[07:18:41] Oog: has joined #ruby
[07:19:16] Shoutsid: has joined #ruby
[07:20:36] tkuchiki: has joined #ruby
[07:22:03] nfk|laptop: has joined #ruby
[07:22:36] djbkd: has joined #ruby
[07:22:49] SamGerber: has joined #ruby
[07:24:06] blackmesa: has joined #ruby
[07:26:10] Juanchito: has joined #ruby
[07:28:42] yfeldblum: has joined #ruby
[07:30:06] haraoka: has joined #ruby
[07:32:19] roshanavand: has joined #ruby
[07:32:28] platzhirsch: has joined #ruby
[07:33:22] SCHAAP137: has joined #ruby
[07:33:41] DEA7TH: has joined #ruby
[07:35:43] ndrei: has joined #ruby
[07:36:53] herbst: has joined #ruby
[07:40:38] lipoqil: has joined #ruby
[07:41:17] voker57: has joined #ruby
[07:43:04] codecop: has joined #ruby
[07:43:32] sivoais: has joined #ruby
[07:44:25] roshanavand: has joined #ruby
[07:44:50] wnd: has joined #ruby
[07:45:51] devoldmx: has joined #ruby
[07:47:26] roshanavand: has joined #ruby
[07:48:33] pawnbox: has joined #ruby
[07:49:54] giuseppesolinas: has joined #ruby
[07:50:21] pawnbox_: has joined #ruby
[07:55:06] sivoais: has joined #ruby
[07:55:50] joonty: has joined #ruby
[07:56:49] astrobun_: has joined #ruby
[07:57:23] _blizzy_: has joined #ruby
[07:57:26] nertzy2: has joined #ruby
[07:57:43] jud^: has joined #ruby
[07:58:13] chipotle_: has joined #ruby
[07:59:08] tomphp: has joined #ruby
[07:59:26] jaequery: has joined #ruby
[08:00:49] diegoviola: has joined #ruby
[08:01:07] andikr: has joined #ruby
[08:01:19] fullofcaffeine: has joined #ruby
[08:01:50] futilegames: has joined #ruby
[08:02:36] mark2: has joined #ruby
[08:03:01] drptbl: has joined #ruby
[08:04:51] mikecmpbll: has joined #ruby
[08:05:05] krisquigley: has joined #ruby
[08:05:55] sivoais: has joined #ruby
[08:06:43] Technodrome: has joined #ruby
[08:07:07] karapetyan: has joined #ruby
[08:07:59] karapetyan: has joined #ruby
[08:09:42] matp: has joined #ruby
[08:10:04] certainty: shevy: what's cracking?
[08:10:55] roshanavand: has joined #ruby
[08:11:12] blackmesa: has joined #ruby
[08:14:00] roshanavand: has joined #ruby
[08:14:15] radgeRayden: has joined #ruby
[08:14:43] Spami: has joined #ruby
[08:15:57] sivoais: has joined #ruby
[08:16:03] Kendos-Kenlen: has joined #ruby
[08:17:52] BraddPitt: early morning
[08:17:53] radgeRayden_: has joined #ruby
[08:18:41] charliesome: has joined #ruby
[08:18:45] pawnbox: has joined #ruby
[08:19:07] radgeRayden__: has joined #ruby
[08:19:36] lxsameer: has joined #ruby
[08:20:57] radgeRayden: has joined #ruby
[08:22:08] mark2: has joined #ruby
[08:22:50] radgeRayden_: has joined #ruby
[08:23:34] djbkd: has joined #ruby
[08:24:50] anisha: has joined #ruby
[08:25:01] pontiki: has joined #ruby
[08:26:07] sivoais: has joined #ruby
[08:26:33] matp: has joined #ruby
[08:27:17] pontiki: has joined #ruby
[08:27:23] brunto_: has joined #ruby
[08:31:39] subshad: has joined #ruby
[08:33:21] senayar: has joined #ruby
[08:33:32] lenwood: has joined #ruby
[08:33:34] senayar: has joined #ruby
[08:36:05] nertzy3: has joined #ruby
[08:36:14] sivoais: has joined #ruby
[08:36:16] mdih: has joined #ruby
[08:36:40] jud: has joined #ruby
[08:36:40] jud: has joined #ruby
[08:36:40] chipotle: has joined #ruby
[08:36:42] LiquidInsect: has joined #ruby
[08:37:01] charliesome: has joined #ruby
[08:41:37] giuseppesolinas: has joined #ruby
[08:43:29] jgt: has joined #ruby
[08:44:01] krisquigley: has joined #ruby
[08:44:48] subscope: has joined #ruby
[08:46:07] wallerdev: has joined #ruby
[08:46:20] sivoais: has joined #ruby
[08:46:23] User458764: has joined #ruby
[08:47:03] diegoviola: has joined #ruby
[08:49:35] PierreRambaud: has joined #ruby
[08:50:52] coffeecupp: has joined #ruby
[08:52:14] rakm: has joined #ruby
[08:52:30] Peg-leg: has joined #ruby
[08:54:26] bruno-: has joined #ruby
[08:56:22] Ropeney: has joined #ruby
[08:56:31] sivoais: has joined #ruby
[08:56:46] fullofcaffeine: has joined #ruby
[08:56:46] khebbie: has joined #ruby
[08:56:53] zotherstupidguy: has joined #ruby
[08:57:04] marr: has joined #ruby
[08:57:48] favadi: has joined #ruby
[08:59:12] TTilus: lunch time
[09:00:17] TTilus: ACTION is plowin thru documentation to learn the fine art of creating R packages
[09:01:33] RegulationD: has joined #ruby
[09:02:38] allcentury: has joined #ruby
[09:05:58] fullofcaffeine: has joined #ruby
[09:06:45] sagittarian: has joined #ruby
[09:06:49] sivoais: has joined #ruby
[09:07:00] spider-mario: has joined #ruby
[09:09:04] astrobun_: has joined #ruby
[09:10:34] xrlabs: has joined #ruby
[09:11:26] xrlabs: hey guys, how can I tell a "State"-object that it has a map and tile picker object without initializing these objects?
[09:11:29] mrburied: has joined #ruby
[09:11:58] bougyman: vim + rubocop + syntastic folks: Is there a way to get the CopName to show?
[09:12:03] xrlabs: the tile picker is initialized in the moment I create the state, but I don't want it to initialize until the state becomes the "active" state
[09:12:10] bougyman: I see 2 options.rb|22 col 81 warning| Line is too long. [121/80]
[09:12:16] TvL2386: has joined #ruby
[09:12:20] bougyman: but I want Metrics/LineLength to show, too.
[09:14:06] nfk|laptop: has joined #ruby
[09:16:32] roshanavand: has joined #ruby
[09:16:55] sivoais: has joined #ruby
[09:17:03] rikai: has joined #ruby
[09:17:05] bougyman: oh, damn that was easy
[09:17:20] bougyman: AllCops: DisplayCopNames: true
[09:17:34] yfeldblum: has joined #ruby
[09:17:39] gagrio: has joined #ruby
[09:17:58] Azure: has joined #ruby
[09:18:11] jud^: has joined #ruby
[09:18:19] dopamean_: has joined #ruby
[09:18:25] DylanJ: has joined #ruby
[09:18:34] DylanJ: has joined #ruby
[09:19:14] blaxter: has joined #ruby
[09:20:32] sagittarian: has joined #ruby
[09:23:37] blackmesa: has joined #ruby
[09:24:11] djbkd: has joined #ruby
[09:25:53] porfa: has joined #ruby
[09:27:02] sivoais: has joined #ruby
[09:27:05] brunto: has joined #ruby
[09:28:31] mrburied: has joined #ruby
[09:29:05] Gnomethrower: has joined #ruby
[09:31:32] leitz: has joined #ruby
[09:32:21] leitz: Okay, OOP learning. Does it make sense to have an object that does nothing but take another object and output attributes in a certain format?
[09:33:18] apeiros: leitz: that's a presenter
[09:33:18] leitz: Cool, [k-, thanks! I guess that's my learning task for the day!
[09:33:24] Technodrome: has joined #ruby
[09:33:25] subscope: has joined #ruby
[09:33:41] rikai: has joined #ruby
[09:33:44] Azure|dc: has joined #ruby
[09:34:01] [k-: this obviously is on the right track to not violate the single responsibility principle!
[09:34:11] xrlabs: if i do State.new('a state', entities: [ UI::Map.new(args), UI::Menu.new(args) ], the menu gets created before the state and won't be able to access the state to set itself some variables
[09:34:41] leitz: Yeah, I'm voilating a lot of things. Trying to clean my act up a bit. :)
[09:35:34] xrlabs: i'm just trying to tell the state's tile picker that it should should get the state's map's tiles
[09:35:43] [k-: xrlabs, would you like to hear the reason first or how to solve it first?
[09:36:00] xrlabs: the reason [k-
[09:36:15] [k-: ok, the reason is because ruby is a strict language
[09:36:41] [k-: this means that it evaluates the expression UI::Menu.new(args) first
[09:37:06] [k-: ruby will always evaluate the arguments to a method before running the method
[09:37:21] xrlabs: alas no lazyness
[09:37:25] sivoais: has joined #ruby
[09:37:30] [k-: yes. exactly
[09:38:22] [k-: you can, however, use a proc to simulate laziness or, let the object do its own initialising
[09:38:22] xrlabs: so I would need something to tell state what objects it will have, and then let state create them?
[09:38:37] [k-: yes, that is one way
[09:39:10] [k-: the other would just be proc { UI::Menu.new(args) }
[09:39:14] last_staff: has joined #ruby
[09:39:37] xrlabs: in one instance, I used this code to create a menu item. Name and function to call: Entity::UI::MenuEntry.new('Exit', proc { System.exit_game })
[09:39:49] [k-: or, reconsider if UI::Menu should draw anything on the screen or should another object be handling that
[09:40:59] [k-: yes, it works the same way, or else, ruby will tell the System to exit the game long before the menu is even clicked
[09:41:21] xrlabs: [k-, if you'd like to evaluate my source code, you can see that I'm in a real struggle to create states http://pastebin.com/bdZaFENf
[09:41:21] ruboto: xrlabs, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/708edfa4aaab83803f0e
[09:41:22] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[09:41:39] lenwood: has joined #ruby
[09:42:49] [k-: oh dear
[09:42:50] last_staff: has joined #ruby
[09:43:00] [k-: that would be difficult...
[09:43:53] [k-: why not use another proc to wrap up an entire list of things to do and just pass it to a state?
[09:44:20] xrlabs: ah nice. Like a job, hehe
[09:44:23] [k-: or, have multiple individual state objects that encapsulate those logic
[09:45:05] [k-: a hint about those [0,0,0,0,0...]
[09:45:13] xrlabs: yeah that was what I was going to say. Is it really necessary to have such a fluid state system?
[09:45:20] [k-: >> [0] * 10
[09:45:21] ruboto: [k- # => [0, 0, 0, 0, 0, 0, 0, 0, 0, 0] (https://eval.in/447572)
[09:45:29] xrlabs: oh thanks
[09:45:40] [k-: >> [[0] * 10] * 10
[09:45:42] ruboto: [k- # => [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, 0, 0, 0, 0, 0, 0, 0, 0, 0], [0, ...check link for more (https://eval.in/447573)
[09:46:02] xrlabs: in the end, the user will never really create a completely new state, just existing states with different values, I think
[09:46:04] ndrei: has joined #ruby
[09:46:09] [k-: you should document the code on why you are multiplying the 0 by 10 though
[09:46:34] devoldmx: has joined #ruby
[09:47:00] xrlabs: the architectural design is much more confusing than the programming :)
[09:47:07] [k-: multiple that just makes it clearer and more expressive
[09:47:19] [k-: s/states/that/
[09:47:40] [k-: i meant it the other way round...
[09:47:53] sivoais: has joined #ruby
[09:48:03] howdoi: has joined #ruby
[09:48:54] [k-: i dont have much experience writing software myself ????
[09:49:14] xrlabs: I think my whole approach is leading to a totally wrong direction
[09:50:12] [k-: yeah, laziness doesnt really fit into the language
[09:50:29] [k-: too much work
[09:51:09] xrlabs: i guess i have to examine some other people's games
[09:51:51] xrlabs: I mean, I could always just say Menu.new(parent: self), but how the hell should I do that inside of the creation of an object. this part is so confusing
[09:53:08] [k-: maybe apeiros can spare you some advice :>
[09:54:12] Kendos-Kenlen: has joined #ruby
[09:54:31] xrlabs: it's funny how for every ruby error that can run into, there's a piece of rails source code that will tell you how to fix it. Ruby really is a microcosm
[09:54:49] jokke: has joined #ruby
[09:54:57] bruno-: has joined #ruby
[09:56:18] deimos_: has joined #ruby
[09:56:19] tonini: has joined #ruby
[09:56:30] last_staff: has joined #ruby
[09:56:46] n1ftyn8_: has joined #ruby
[09:56:50] xrlabs: *ruby problem, sorry
[09:56:58] charles81: has joined #ruby
[09:57:37] c0m0: has joined #ruby
[09:57:38] Musashi007: has joined #ruby
[09:57:48] [k-: ruby is complex, you'll find out soon enough, when you begin to explore the boundaries and possibilities you can achieve in the language
[09:58:04] roshanavand: has joined #ruby
[09:58:09] c0m0: Hi, How can I archive this Dir.glob("**/*.txt").each { |x| File.readlines(x) } ?
[09:58:21] sivoais: has joined #ruby
[09:58:41] pusewicz: has joined #ruby
[09:58:49] charliesome: has joined #ruby
[09:59:15] bruce_lee: has joined #ruby
[09:59:30] vcoinminer: has joined #ruby
[09:59:55] shredding: has joined #ruby
[09:59:56] avdi: has joined #ruby
[10:00:08] jeregrine: has joined #ruby
[10:01:32] bjeanes: has joined #ruby
[10:02:03] huddy: has joined #ruby
[10:02:04] matp: has joined #ruby
[10:02:08] alxndr: has joined #ruby
[10:02:43] c0m0: I would like to read every .txt file
[10:03:05] schaary: has joined #ruby
[10:03:12] adambeynon: has joined #ruby
[10:03:28] hellschreiber: has joined #ruby
[10:03:46] charliesome: has joined #ruby
[10:03:59] pawnbox: has joined #ruby
[10:04:30] demonlove: has joined #ruby
[10:04:48] CloCkWeRX: has joined #ruby
[10:05:37] bruno-: has joined #ruby
[10:05:39] pizzaops: has joined #ruby
[10:06:09] leitz: On the Presenter class. Should there be multiple presenters for different output type (SRP) like CSV, wiki, etc? Or one presenter that takes an output format option? (DRY)
[10:06:36] [k-: has joined #ruby
[10:06:43] DaniG2k: has joined #ruby
[10:06:47] n1ftyn8_: has joined #ruby
[10:07:59] gyre007: has joined #ruby
[10:08:16] lipoqil: has joined #ruby
[10:08:23] bb010g: has joined #ruby
[10:08:29] sivoais: has joined #ruby
[10:09:15] ELCALOR: has joined #ruby
[10:10:34] bryancp: has joined #ruby
[10:10:55] cek: has joined #ruby
[10:11:04] deimos_: has joined #ruby
[10:11:10] [k-: the DRY one is still SRP
[10:12:23] pawnbox_: has joined #ruby
[10:12:41] charles81: has joined #ruby
[10:12:50] halfdan: has joined #ruby
[10:12:55] manveru: has joined #ruby
[10:12:55] bcavileer: has joined #ruby
[10:13:47] it_tard: has joined #ruby
[10:14:22] kellabyte: has joined #ruby
[10:14:25] momon: has joined #ruby
[10:14:45] momon: has left #ruby: ()
[10:15:03] rfv: has joined #ruby
[10:15:08] djbender: has joined #ruby
[10:16:05] skmp: has joined #ruby
[10:16:38] blackmesa: has joined #ruby
[10:16:48] jgt: has joined #ruby
[10:17:50] cstrahan: has joined #ruby
[10:17:58] Kendos-Kenlen: has joined #ruby
[10:18:01] ishikawa91: has joined #ruby
[10:18:39] sivoais: has joined #ruby
[10:18:41] MiracleBlue: has joined #ruby
[10:19:14] chrisseaton: has joined #ruby
[10:19:19] sankaber: has joined #ruby
[10:19:24] jenrzzz: has joined #ruby
[10:20:19] rickmasta: has joined #ruby
[10:21:30] nyandoge: has joined #ruby
[10:22:10] pfg: has joined #ruby
[10:22:31] apt-get: has joined #ruby
[10:23:34] BTRE: has joined #ruby
[10:24:52] djbkd: has joined #ruby
[10:25:30] KnownSyntax: has joined #ruby
[10:25:46] CloCkWeRX: has joined #ruby
[10:25:51] KnownSyntax_: has joined #ruby
[10:26:05] avril14th: has joined #ruby
[10:26:27] tonini: has joined #ruby
[10:29:17] sivoais: has joined #ruby
[10:29:56] tkuchiki: has joined #ruby
[10:29:58] skade: has joined #ruby
[10:31:29] `derpy: has joined #ruby
[10:31:55] atmosx_: has joined #ruby
[10:32:02] cardoni: has joined #ruby
[10:32:05] pawnbox: has joined #ruby
[10:33:18] zzak: has joined #ruby
[10:34:29] senayar: has joined #ruby
[10:34:47] gagrio: has joined #ruby
[10:38:35] TPBallbag: has joined #ruby
[10:39:26] yashinbasement: has joined #ruby
[10:39:32] sivoais: has joined #ruby
[10:39:37] roshanavand: has joined #ruby
[10:40:40] krisquigley: has joined #ruby
[10:42:45] norc: has joined #ruby
[10:44:23] sdothum: has joined #ruby
[10:45:46] techsethi: has joined #ruby
[10:45:50] nettoweb: has joined #ruby
[10:46:03] gregoriokusowski: has joined #ruby
[10:46:09] greenarrow: has joined #ruby
[10:46:25] mprelude: has joined #ruby
[10:46:31] blueOxigen: has joined #ruby
[10:46:55] charliesome: has joined #ruby
[10:49:22] phutchins1: has joined #ruby
[10:50:03] sivoais: has joined #ruby
[10:50:40] avril14th: has joined #ruby
[10:51:54] Guest683: has joined #ruby
[10:52:20] L8: has joined #ruby
[10:53:05] charliesome_: has joined #ruby
[10:54:25] ndrei: has joined #ruby
[10:54:34] karapetyan: has joined #ruby
[10:55:03] futilegames: has joined #ruby
[10:55:10] leafybasil: has joined #ruby
[10:56:41] tejasmanohar: has joined #ruby
[10:56:57] DoubleMalt: has joined #ruby
[10:57:09] yes`r: has joined #ruby
[10:58:14] gagrio: has joined #ruby
[10:59:27] tvw: has joined #ruby
[10:59:52] subscope: has joined #ruby
[10:59:56] tier: has joined #ruby
[11:00:43] sivoais: has joined #ruby
[11:00:43] rodfersou: has joined #ruby
[11:00:51] roshanavand: has joined #ruby
[11:02:21] RegulationD: has joined #ruby
[11:02:35] khebbie: has joined #ruby
[11:02:42] matp: has joined #ruby
[11:04:07] KnownSyntax: has joined #ruby
[11:04:16] BeastMaster: has joined #ruby
[11:04:50] stamina: has joined #ruby
[11:11:12] sivoais: has joined #ruby
[11:14:21] davedev24: has joined #ruby
[11:17:45] senayar: has joined #ruby
[11:19:34] jgt: has joined #ruby
[11:21:48] sivoais: has joined #ruby
[11:22:17] subscope: has joined #ruby
[11:22:22] futilegames: has joined #ruby
[11:24:16] tonini: has joined #ruby
[11:24:31] ErfanBs: has joined #ruby
[11:24:42] syath: has joined #ruby
[11:25:40] djbkd: has joined #ruby
[11:25:56] ErfanBs: what question mark means ? like even?, empty? and ...
[11:26:23] ghr: usually means a method will return either true or false ErfanBs
[11:26:41] ghr: its only by convention though ??? so always worth checking the source of the method
[11:26:42] norc: ErfanBs: Its part of the method name.
[11:27:09] norc: >> def foo?; "banana"; end; foo?()
[11:27:10] ruboto: norc # => "banana" (https://eval.in/447639)
[11:28:54] norc: ErfanBs: Note, that you can also append the method name with ! - which by convention again indicates a method that has side effects, mostly the receiver.
[11:29:10] kalusn: has joined #ruby
[11:29:16] norc: >> foo = "banana"; foo.gsub!("b", "g"); foo
[11:29:17] ruboto: norc # => "ganana" (https://eval.in/447642)
[11:29:28] apeiros: usually a pretty specific side effect even: mutating self
[11:29:37] colegatron: has joined #ruby
[11:29:48] izzol: hmm, if I have in rspec expect() and I want to have something like if expect() true then puts false. I simply want to puts OK if expect will fail. There is some negation for expect? or I need to use "if" ?
[11:30:14] futilegames: has joined #ruby
[11:30:31] izzol: ohh I think expect().not_to
[11:30:31] norc: izzol: Im actually trying to figure out why...
[11:31:03] ghr: def banana?(str) ; str == 'banana' ; end; puts banana?('banana') ; puts banana?('potato') ; nil
[11:31:03] ghr: >> def banana?(str) ; str == 'banana' ; end; puts banana?('banana') ; puts banana?('potato') ; nil
[11:31:04] ruboto: ghr # => true ...check link for more (https://eval.in/447643)
[11:31:26] izzol: norc: I'm testing login page. If I can log in or not. But if not I'm getting something like: "Login Failed." And I simply want to check if I have it.
[11:32:00] sivoais: has joined #ruby
[11:32:06] norc: izzol: Ahh. It sounded to me like you actually wanted skip there for a second.
[11:32:16] poikon: has joined #ruby
[11:32:51] banister: has joined #ruby
[11:34:18] colegatron: maybe simple question but I am not ruby programmer, just messing on a Vagrant file: I have a require "prefs.rb" in a ruby file. inside prefs.rb I define a class and create an instance (named 'servers') of that class. When referring to 'servers' in the main file inside a block I get the error: Path: <provider config: aws> Message: undefined local variable or method `instances' for main:Object
[11:34:31] rodfersou: has joined #ruby
[11:34:43] subscope: has joined #ruby
[11:34:43] norc: Is there a way to dynamically generate a Method?
[11:34:58] norc: >> Method.new
[11:34:59] colegatron: seems a scope issue, but I do not know how to handle it. Can't I define the 'server' instance as a global var?
[11:34:59] ruboto: norc # => undefined method `new' for Method:Class (NoMethodError) ...check link for more (https://eval.in/447647)
[11:35:18] workmad3: norc: what are you trying to do?
[11:35:23] ghr: norc http://apidock.com/ruby/Module/define_method ?
[11:35:40] norc: ghr: Ah beautiful :)
[11:35:44] norc: workmad3: Learning Ruby. Heh.
[11:36:20] karapetyan: has joined #ruby
[11:36:21] norc: ghr: Im actually curious why this is a method of Module rather than Class.
[11:36:21] terlar: has joined #ruby
[11:36:23] workmad3: norc: just it makes a difference if you want to define a method, or just want something like a lambda/proc as an anonymous method to pass around ;)
[11:36:36] workmad3: norc: because modules have methods too
[11:36:40] sepp2k: has joined #ruby
[11:36:51] workmad3: norc: and Class inherits from Module, not the other way around
[11:37:14] ldnunes: has joined #ruby
[11:38:43] colegatron: oh, found $variable!
[11:38:44] norc: workmad3: Ah nevermind, I was confusing Class with RClass again.
[11:39:06] norc: workmad3: Somehow the word "class" carries too many confusing meanings in Ruby.
[11:39:26] fullofcaffeine: has joined #ruby
[11:39:33] workmad3: norc: hmm, what's RClass?
[11:39:54] apeiros: norc: how come? afaik there's exactly one kind of thing identified as "class" in ruby.
[11:40:12] SylarRuby: has joined #ruby
[11:40:13] shevy: norc or modules that are classes :)
[11:40:55] norc: Ive been diving into the MRI lately to understand how Ruby works internally.
[11:41:14] Porfa_: has joined #ruby
[11:41:27] tkuchiki: has joined #ruby
[11:41:36] workmad3: norc: right... there's a big difference between the way classes are implemented and what 'class' means semantically in ruby
[11:42:11] sivoais: has joined #ruby
[11:42:24] norc: workmad3: Indeed. And the barrier between the two starts to bleed when Ruby lets you inspect and toy with singleton_class for example.
[11:42:27] roshanavand: has joined #ruby
[11:42:51] workmad3: norc: example please ;)
[11:42:52] Pumukel: has joined #ruby
[11:44:35] allcentury: has joined #ruby
[11:45:36] norc: workmad3: Its that core principle that I have been talking about the past days. Methods belong to classes, not objects.
[11:45:40] apeiros: ah well, internals actually have a couple of things at odds with how it's presented
[11:45:54] subscope: has joined #ruby
[11:45:58] apeiros: e.g. iirc most if not all instance methods of Object are actually defined in Kernel
[11:46:04] apeiros: (but reported owner is still Object)
[11:46:35] norc: workmad3: And thats why I intuitively (and naively) expected "define_methods" to be part of Class - but I really just mixed up the presentation and implementation there.
[11:47:18] TPBallbag: has joined #ruby
[11:47:20] devoldmx: has joined #ruby
[11:47:22] workmad3: norc: classes are objects though
[11:47:26] workmad3: norc: as are modules
[11:47:50] norc: workmad3: And singleton_class lets you peek at the implementation. ;)
[11:48:02] workmad3: norc: how so? ;)
[11:48:41] skade: has joined #ruby
[11:49:07] err_ok: has joined #ruby
[11:50:23] greenarrow: has joined #ruby
[11:50:37] icbm: has joined #ruby
[11:50:46] techsethi: has joined #ruby
[11:51:30] codecop: has joined #ruby
[11:51:54] edwinvdgraaf: has joined #ruby
[11:52:40] sivoais: has joined #ruby
[11:54:11] norc: workmad3: Lets assume for a second you did not have the method
[11:54:34] norc: workmad3: You could magically create class methods in your classes
[11:54:49] workmad3: norc: not 'magically', but sure
[11:55:57] norc: Now this singleton_class is what lets you tap that class that Ruby creates internally to give you the tools to implement class methods in the first place.
[11:56:12] workmad3: norc: the singleton class is an explicit part of the semantic ruby object model though ;)
[11:56:40] workmad3: norc: and has been long before the introduction of the (relatively recent) singleton_class method... there's even explicit ruby syntax for opening the singleton_class
[11:56:58] jhass: namely def foo.bar; and class << foo; end;
[11:56:59] workmad3: norc: e.g. `class << foobar` <-- opens the singleton class for foobar
[11:57:39] CloCkWeRX: has joined #ruby
[11:57:40] norc: That only sets the default definee. Having an actual object reference is something else entirely.
[11:57:56] workmad3: norc: 'class << foobar; self; end' <-- has always returned the singleton class
[11:58:09] norc: Or wait. The class << foobar - does the eigenclass become the default receiver for methods?
[11:58:21] skweek: has joined #ruby
[11:58:22] workmad3: norc: yes, class << foobar opens the singleton class
[11:58:22] ndrei: has joined #ruby
[11:58:54] norc: workmad3: Interesting. That syntax (commonly I see class << self) now makes sense.
[11:59:42] norc: Since "class methods" are just methods added to the classes singleton class, your syntax opens that singleton class, and lets me extend it...
[12:00:05] workmad3: norc: so yeah... singleton_class is part of the ruby object model at a semantic level (it's even part of the semantic rules for method lookup in ruby), not a leak of the implementation details
[12:00:12] Kendos-Kenlen: has joined #ruby
[12:00:18] norc: Alright.
[12:00:43] workmad3: norc: yeah... classes are objects, and the method lookup rules state to look at an objects singleton_class first for a method, so adding a method there adds a method into the lookup chain for just that object
[12:00:58] InternetFriend: has joined #ruby
[12:01:26] workmad3: norc: if you wanted to see a leak of the implementation detail, you normally need to play with ObjectSpace ;)
[12:01:37] norc: Well its just a recursion down the class reference of the object until it finds a matching method in any method table, or a linked modules method table
[12:02:04] apt-get: has joined #ruby
[12:02:30] workmad3: norc: it's easier to say 'it walks along the `ancestors` chain of the class, and the singleton_class for an object is always at the start of the ancestors chain'
[12:02:32] norc: Not sure I want to get into the GC just yet. :)
[12:03:10] workmad3: >> Object.ancestors
[12:03:11] ruboto: workmad3 # => [Object, Kernel, BasicObject] (https://eval.in/447679)
[12:03:13] sivoais: has joined #ruby
[12:03:38] workmad3: norc: see how modules are just in the ancestors chain, so you can just walk along it, rather than recurse into a superclass repeatedly ;)
[12:04:19] workmad3: (implementation wise, ancestors may be built doing just that, but at the ruby level, you can get away with talking about the ancestors list)
[12:05:24] nateberkopec: has joined #ruby
[12:06:30] joonty: has joined #ruby
[12:08:14] shevy: why tis not simpler!
[12:09:43] jhass: shevy: for example?
[12:10:13] norc: workmad3: That is interesting. Im guessing the output is in the method lookup order?
[12:10:25] workmad3: norc: correct
[12:11:08] ta: has joined #ruby
[12:11:41] ta: has joined #ruby
[12:12:27] dorei: has joined #ruby
[12:13:56] sivoais: has joined #ruby
[12:14:27] mikecmpbll: has joined #ruby
[12:15:04] CloCkWeRX: has joined #ruby
[12:15:19] sagittarian: has joined #ruby
[12:15:49] weihan: has joined #ruby
[12:18:03] futilegames: has joined #ruby
[12:19:06] skade: has joined #ruby
[12:21:01] xet7: has joined #ruby
[12:21:05] Kendos-Kenlen: has joined #ruby
[12:21:19] armyriad: has joined #ruby
[12:21:26] weihan_: has joined #ruby
[12:22:47] Jardayn: has joined #ruby
[12:24:11] roshanavand: has joined #ruby
[12:25:19] sivoais: has joined #ruby
[12:26:29] djbkd: has joined #ruby
[12:26:30] shevy: jhass the arbitrary separation in classes and modules for instance
[12:27:15] karapetyan: has joined #ruby
[12:27:19] solocshaw: has joined #ruby
[12:28:05] jhass: shevy: so you want to be able to instantiate all your namespaces?
[12:28:12] charliesome: has joined #ruby
[12:28:42] shevy: jhass I want to be able to not have to think about whether I would use a class or a module and gain/lose functionality based on that
[12:29:23] jhass: that's not answering my question
[12:29:32] shevy: it has been answered
[12:29:33] adaedra: It's simple: if you have to instantiate, it's a class. Otherwise, it's a module.
[12:29:43] beauby: has joined #ruby
[12:29:54] jhass: shevy: elaborate? since I obviously missed the part where it answers my question
[12:30:01] subscope: has joined #ruby
[12:30:34] yosiat: has joined #ruby
[12:30:37] shevy: jhass see situations such as described by apeiros when he wanted to use #new on the toplevel constant
[12:30:51] shevy: adaedra I want to be able to not be limited
[12:30:52] karapetyan: has joined #ruby
[12:31:06] adaedra: limited by what
[12:31:09] shevy: does a link exist?
[12:31:20] shevy: adaedra being able to include or not, for instance
[12:31:36] leitz: Does this make sense as a class hierarchy? https://github.com/LeamHall/CT_Character_Generator/blob/master/docs/Program_flow.txt
[12:31:42] shevy: adaedra can you include a class
[12:32:01] bnagy: ooh I know this one
[12:32:04] bnagy: don't tell me
[12:32:11] adaedra: shevy: how would including a class make sense?
[12:32:29] shevy: adaedra the behaviour becomes part of it
[12:32:34] phutchins: has joined #ruby
[12:32:39] [k-: that is extend, no?
[12:33:38] adaedra: It's code design, basically
[12:33:41] bnagy: shevy: what's the difference between including a (parent) class and inherting?
[12:33:44] TPBallbag: has joined #ruby
[12:33:48] shevy: bnagy precisely
[12:34:01] subscope: has joined #ruby
[12:34:28] shevy: of course you are limited to have just one direct subclass whereas you can include the behaviour of multiple other components, but only when they are modules
[12:34:33] bnagy: are you wishing for ruby multiple inheritance?
[12:34:44] shevy: I am wishing for no artificial limitations
[12:34:50] bnagy: fair enough
[12:34:56] shevy: adaedra yeah
[12:35:28] shevy: anyone happens to know how python addresses this?
[12:35:29] adaedra: I prefer having modules, so users don't instantiate things that are not intended to
[12:35:36] adaedra: like, as jhass said, a namespace
[12:35:37] [k-: multi inheritance is disabled for safety
[12:35:56] Guest250: has joined #ruby
[12:35:57] [k-: |\\!//|
[12:35:59] bnagy: they should just disable inheritance
[12:36:10] bnagy: way more consistent :P
[12:36:10] shevy: adaedra yeah but I remember how apeiros once had this toplevel namespace a class, and I was surprised about it until he said that he wanted to have #new on his toplevel namespace
[12:36:17] sivoais: has joined #ruby
[12:36:25] naztharune: has joined #ruby
[12:36:32] bnagy: plus people would write better coedz
[12:36:36] shevy: one could also have #new for the toplevel module of course :)
[12:36:53] adaedra: shevy: if he wants to have an instance of it, a class is appropriate.
[12:36:57] adaedra: Like I said above.
[12:37:17] Spami: has joined #ruby
[12:37:27] workmad3: [k-: heh :) annoyingly, python has safe, deterministic MI... most of the MI issues are C++ specific ones, because the standard is very unclear on things like memory layout, lookup order, etc.
[12:38:24] bkulbida: has joined #ruby
[12:38:46] shevy: adaedra I assume that most projects will use a toplevel module
[12:38:50] solocshaw: has joined #ruby
[12:38:51] yosiat: has joined #ruby
[12:39:12] futilegames: has joined #ruby
[12:39:37] shevy: do you have a project with a toplevel class?
[12:40:17] WizJin: has joined #ruby
[12:40:21] adaedra: Can happen, if there's only the class
[12:40:45] dionysus69: has joined #ruby
[12:41:09] adaedra: But I don't see where you're going to
[12:41:39] krisquigley: has joined #ruby
[12:41:43] [k-: s/to/with this/
[12:41:58] shevy: I am going to Japan
[12:42:08] gregoriokusowski: has joined #ruby
[12:43:30] adaedra: I have things to do, see ya
[12:43:47] Jaglor: has joined #ruby
[12:45:33] leitz: See you, adaedra.
[12:45:36] decoponio: has joined #ruby
[12:46:01] [k-: he means have lunch
[12:46:18] sivoais: has joined #ruby
[12:46:18] adaedra: no I don't
[12:46:44] User458764: has joined #ruby
[12:46:46] [k-: or maybe he is going running and comeback in a few minutes because he is out of shape
[12:48:05] devoldmx: has joined #ruby
[12:48:12] Trynemjoel: has joined #ruby
[12:48:29] jakobhans: has joined #ruby
[12:48:40] sgambino: has joined #ruby
[12:49:31] solocshaw: has joined #ruby
[12:50:32] weihan: has joined #ruby
[12:51:00] norc: What is the difference between #new and #initialize. Why is that distinction?
[12:51:36] norc: Is this the differentiation between allocation and initialization?
[12:51:54] shevy: norc for class instantiation, if you invoke .new, it will go through allocate() first and then initialize()
[12:52:07] shevy: I don't know if you can modify allocate
[12:52:44] shevy: I have to install and try out Slackel/Slackware, be back in a while
[12:53:00] TPBallbag: has joined #ruby
[12:53:13] norc: shevy: Does that mean attempting to call new without an initialize method defined will allocate for an object (and deallocate as the stack unwinds) ?
[12:53:21] leitz: Feels like I'm chasing everyone off...starting to get a complex...
[12:53:22] dstarh: has joined #ruby
[12:53:55] lxsameer: has joined #ruby
[12:53:57] jhass: norc: new is roughly defined as def self.new(*args); obj = allocate; obj.initialize(*args); obj; end
[12:54:21] [k-: no, the object will only be deallocated if the garbage collector deems so
[12:54:49] saddad: has joined #ruby
[12:54:58] jhass: norc: also there's a BasicObject#initialize, so you'd have to undef that
[12:55:04] norc: Which would be the case in some point of the future because the stack unwinds before a reference to the object can be made?
[12:56:07] devoldmx: has joined #ruby
[12:56:19] sivoais: has joined #ruby
[12:56:33] norc: warning: undefining `initialize' may cause serious problems
[12:57:15] jhass: I never said it's a remotely good idea
[12:57:37] [k-: try removing the constant Object
[12:57:47] beauby: has joined #ruby
[12:57:51] norc: jhass: I know, I was just smiling at the warning - never seen Ruby talk to me like that.
[12:58:32] norc: jhass: But its interesting - I always implictely imagined there was something magical about new. I checked to understand your statement, and Class#new is indeed defined like that (except in C)
[12:58:51] jhass: allocate is where the magic is
[13:00:12] victortyau: has joined #ruby
[13:00:15] norc: By the way, I appreciate you guys helping me figure out Ruby from the inside. :)
[13:00:22] e1senhorn: has joined #ruby
[13:00:29] ruboto: Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
[13:00:51] DEA7TH: has joined #ruby
[13:01:00] solocshaw: has joined #ruby
[13:01:16] allcentury: has joined #ruby
[13:01:24] norc: Valid point there.
[13:01:55] krisquigley: has joined #ruby
[13:02:18] norc: jhass: Its really interesting because allocate() is the function that prevents singleton classes from being instantiated.
[13:02:31] norc: Which makes sense, since new calls allocate.
[13:03:09] RegulationD: has joined #ruby
[13:03:55] DEA7TH: I have a customer_test.rb file which uses TestUnit. One of the methods, search, returns a subset of users - it requires populating the db with a few records. I feel that its tests deserve their own setup method and be grouped together. How is this achieved with test unit?
[13:04:33] atomical: has joined #ruby
[13:04:40] Caius: has joined #ruby
[13:05:42] roshanavand: has joined #ruby
[13:05:58] _blizzy_: has joined #ruby
[13:06:18] sivoais: has joined #ruby
[13:06:46] radgeRayden__: has joined #ruby
[13:07:04] m8: has joined #ruby
[13:08:39] solocshaw: has joined #ruby
[13:11:36] jmdrawneek: has joined #ruby
[13:12:29] colorisco: has joined #ruby
[13:14:34] JDiPierro: has joined #ruby
[13:15:18] senayar^: has joined #ruby
[13:16:19] jsuth: has joined #ruby
[13:16:19] sivoais: has joined #ruby
[13:16:26] blackmesa: has joined #ruby
[13:17:01] sankaber: has joined #ruby
[13:17:05] Kendos-Kenlen: has joined #ruby
[13:18:04] norc: DEA7TH: Can you pastie a bit to show what you mean?
[13:19:26] rippa: has joined #ruby
[13:19:45] adaedra: [k-: wrong again. Maybe you don't know my life?
[13:20:05] freerobby: has joined #ruby
[13:21:03] norc: adaedra: Yesterday we figured out [k- has a bad memory. :-P
[13:21:07] gregf: has joined #ruby
[13:21:36] adaedra: norc: it's not a bad memory problem here though.
[13:22:39] [k-: undecidable adaedras
[13:23:27] adaedra: But don't worry, [k-, if I wanted people to know what I did, I would have said so.
[13:25:35] DEA7TH: norc: it's not implemented yet, but this is what I mean: https://gist.github.com/VelizarHristov/387f12e17d51eeb58230
[13:25:45] DEA7TH: .search is implemented
[13:26:09] brazenbraden: has joined #ruby
[13:26:53] sivoais: has joined #ruby
[13:26:56] fullofcaffeine: has joined #ruby
[13:27:21] djbkd: has joined #ruby
[13:27:49] norc: DEA7TH: >> #rubyonrails since this belongs there. You can see my answer there
[13:28:41] Kendos-Kenlen: has joined #ruby
[13:29:52] nietzschette: has joined #ruby
[13:30:15] nietzschette: I need a thing made of things
[13:30:29] atomical: has joined #ruby
[13:30:36] nietzschette: like, an endlessly recursive list
[13:31:05] ruboto: Please show your real code to illustrate your problem. Using fake code often hides it or won't bring up the best possible solution.
[13:31:07] [k-: what is a recursive list
[13:31:33] [k-: a list that contains itself?
[13:31:35] Igorshp: has joined #ruby
[13:31:43] [k-: like some kind of double mirror?
[13:31:50] nietzschette: orgenells make up cells. cells make up tissue. tissues make up a body a body makes up a population . . . .. etc etc etc
[13:31:54] DEA7TH: norc: my question at #rubyonrails was different, this one is about TestUnit only. I need to group a few tests together, and have their own setup method.
[13:32:03] jhass: nietzschette: sounds like a tree?
[13:32:04] DEA7TH: I think I'm going with shoulda-context
[13:32:10] roshanavand: has joined #ruby
[13:32:23] jhass: nietzschette: what's your concrete problem? that's a finite list so far
[13:32:26] nietzschette: a tree indeed, but with no centeral trunk
[13:32:27] DEA7TH: but it's shocking that TestUnit doesn't support this without addons
[13:32:33] khebbie: has joined #ruby
[13:32:36] jmdrawneek: I'm getting the error 'Users/me/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb:315:in `to_specs': Could not find 'bundler' (>= 0) among 14 total gem(s) (Gem::LoadError)' when I run this command through gulp but it works fine in terminal. Any idea what's going wrong?
[13:32:37] norc: DEA7TH: Take a look at RSpec.
[13:32:58] norc: DEA7TH: It provides all the facilities to do exactly what you want.
[13:33:00] jhass: jmdrawneek: try gem install bundler
[13:33:08] favadi: has joined #ruby
[13:33:24] roshanav_: has joined #ruby
[13:33:26] jmdrawneek: jhass: Already installed it. That's the odd thing
[13:33:29] norc: DEA7TH: Also, related to the other thing - there is a lot of resources around showing you how to work that with FactoryGirl (it is a very common combination in Rails)
[13:33:49] jhass: jmdrawneek: run it again, exactly on the shell you get the error from
[13:33:54] nietzschette: i get hung up simply using a 'group' parent class which contains an array populated with child classes
[13:34:27] jhass: nietzschette: maybe you're seeking for the component pattern?
[13:34:37] norc: DEA7TH: It also allows for integration testing, syntax, etc.
[13:34:46] DEA7TH: norc: yeah I know, I've used it
[13:34:48] jmdrawneek: jhass: Said it installed 1 gem. Tried my gulp script and get the same error
[13:35:01] p0wn3d__: has joined #ruby
[13:35:02] jhass: jmdrawneek: what's rvm current ?
[13:35:02] iamjarvo_: has joined #ruby
[13:35:03] devdazed: has joined #ruby
[13:35:25] nfk|laptop: has joined #ruby
[13:35:29] jmdrawneek: jhass: rvm 1.26.11
[13:35:38] jhass: jmdrawneek: no the command, rvm current
[13:35:58] ducklobster: has joined #ruby
[13:36:02] nietzschette: maybe!? this is sort of a broad problem, not related to ruby specificly, but a ruby solution would be easy to grasp i think.
[13:36:03] jmdrawneek: jhass: Oh sorry. ruby-2.2.1
[13:36:15] jhass: mmh, weird
[13:36:27] nietzschette: i need something sort of like a lazy enumerator
[13:36:38] gusTester: has joined #ruby
[13:36:41] jhass: jmdrawneek: do you have some sort of debug/trace/verbose output that shows all commands executed? if so, full output of that -> gist
[13:36:53] sivoais: has joined #ruby
[13:37:37] jhass: nietzschette: I don't think anybody can understand what you want or need from the explanations given so far
[13:37:37] curses: has joined #ruby
[13:37:57] jmdrawneek: jhass: https://gist.github.com/jmdrawneek/bf6ba6a7e164cad3ca95
[13:38:17] mase-chatter: has joined #ruby
[13:38:45] jhass: jmdrawneek: and gem which bundler returns what?
[13:38:49] nietzschette: i don't understand myself either
[13:39:23] leitz: I'm not sure which is worse; being stumped by a simple problem, or having it resolve itself while I mentally prepare a gist to ask for help...
[13:39:36] jmdrawneek: jhass: /Users/me/.rvm/gems/ruby-2.2.1/gems/bundler-1.10.6/lib/bundler.rb
[13:39:40] norc: jhass: You said undefine Object earlier, which made me think what that actually means.
[13:39:56] bb010g: has joined #ruby
[13:39:58] odt: has joined #ruby
[13:40:14] jhass: norc: I think you mixed my statement about undef initialize up with [k-'s about const_remove :Object
[13:40:24] norc: Right, thats what I meant.
[13:40:27] solocshaw: has joined #ruby
[13:40:40] jhass: jmdrawneek: well, that's certainly weird
[13:40:42] [k-: hmm, jhass means [k-
[13:40:57] norc: I was just wondering what const_remove should be called on....
[13:41:10] jhass: >> Object::Object::Object
[13:41:11] ruboto: jhass # => Object (https://eval.in/447743)
[13:41:13] sankaber: has joined #ruby
[13:41:16] jhass: does that give a hint?
[13:41:35] jhass: Object is the root namespace, as such it contains itself
[13:41:57] [k-: well there are lazy enumerators in ruby...
[13:42:19] jhass: jmdrawneek: do you have any influence on the command executed?
[13:42:23] [k-: but honestly i have no idea what you are talking about, like i dont with many other people
[13:42:57] jmdrawneek: jhass: as in can I change it?
[13:44:26] newdan: has joined #ruby
[13:44:45] jmdrawneek: jhass: If I run 'livingstyleguide compile sass/styleguide.lsg styleguide.html' in terminal it all works fine
[13:45:31] rickmasta: has joined #ruby
[13:45:52] kirun: has joined #ruby
[13:45:57] jhass: jmdrawneek: try generating a wrapper and using it: rvm wrapper current bundler; /Users/JimCurve/.rvm/bin/bundler exec ...
[13:46:11] tmtwd: has joined #ruby
[13:46:11] jhass: also verify that it works on the current shell
[13:46:11] nietzschette: has left #ruby: ()
[13:46:34] nietzschette: has joined #ruby
[13:46:39] riotjones: has joined #ruby
[13:47:07] sivoais: has joined #ruby
[13:48:23] axl_: has joined #ruby
[13:48:41] gaboesquivel: has joined #ruby
[13:49:09] User458764: has joined #ruby
[13:49:18] shevy: has joined #ruby
[13:50:24] northfurr: has joined #ruby
[13:51:20] JJM: has joined #ruby
[13:51:53] skade: has joined #ruby
[13:52:41] gregf: has joined #ruby
[13:52:58] solocshaw: has joined #ruby
[13:54:05] whippythellama: has joined #ruby
[13:54:52] balazs: has joined #ruby
[13:55:02] k3asd`: has joined #ruby
[13:56:16] roshanavand: has joined #ruby
[13:56:33] shredding: has joined #ruby
[13:56:38] n008f4g_: has joined #ruby
[13:57:08] sivoais: has joined #ruby
[13:57:40] skade: has joined #ruby
[13:59:42] skade: has joined #ruby
[14:00:03] codeurge: has joined #ruby
[14:00:06] casadei: has joined #ruby
[14:01:15] sankaber: has joined #ruby
[14:02:09] solocshaw: has joined #ruby
[14:02:14] zotherstupidguy: how to replace a single character in a string?
[14:02:22] hal_9000: has joined #ruby
[14:02:25] voker57: has joined #ruby
[14:02:53] fullofcaffeine: has joined #ruby
[14:03:25] axl_: has joined #ruby
[14:03:43] jhass: zotherstupidguy: tr
[14:03:57] RegulationD: has joined #ruby
[14:04:08] ericjphillips: has joined #ruby
[14:04:27] JJM: has joined #ruby
[14:05:07] aaeron: has joined #ruby
[14:05:54] marr: has joined #ruby
[14:06:05] jgt: has joined #ruby
[14:06:20] JoshL: zotherstupidguy: if you know the position of the character, you can use square brackets: https://gist.github.com/jlindsey/06e89d0601a615259b52
[14:07:09] sivoais: has joined #ruby
[14:07:45] shevy: jhass are you still using sublime as main editor?
[14:08:10] freerobby: has joined #ruby
[14:09:23] izzol: Sublime is nice, but the vim mode sucks.
[14:09:38] rodfersou: has joined #ruby
[14:09:50] jhass: if I'd use the vim mode I'd use vim
[14:09:51] bigmac: has joined #ruby
[14:10:07] blackmesa: has joined #ruby
[14:10:58] mrburied: has joined #ruby
[14:12:35] mensvaga: has joined #ruby
[14:12:54] mensvaga: Hello. I am on Fedora. What is the best way to get this installed? http://ruby-doc.org/stdlib-1.9.2/libdoc/json/rdoc/JSON/Editor.html
[14:13:11] Zamyatin: has joined #ruby
[14:13:41] shevy: mensvaga your ruby version is 1.9.2 ?
[14:13:45] jhass: looks like it was in 1.9.2 only
[14:13:47] fullofcaffeine: has joined #ruby
[14:13:50] jhass: what would you want it for?
[14:14:11] mensvaga: I have good ideas. Or at least I like to think I have good ideas :)
[14:14:22] giuseppesolinas: has joined #ruby
[14:14:33] cdg: has joined #ruby
[14:14:34] jmdrawneek: jhass: Oh I've never made a wrapper before. Have to read up on it
[14:14:46] mensvaga: I'm thinking about creating a base JSON document with some schema parts, and then seeing if I can use that to do some things with it.
[14:14:47] jhass: 1.9.2 is completely dead, it never saw widespread adoption even
[14:15:03] jhass: mensvaga: less vague?
[14:15:30] mensvaga: A graphical front end that edits structured data and stores structured data.
[14:16:19] jhass: if it was dropped from stdlib it was probably broken
[14:16:37] kalusn: has joined #ruby
[14:16:38] jhass: you better code the GUI from the ground up, have a look at gir_ffi if you want to use Gtk with Ruby
[14:16:45] diegoaguilar: has joined #ruby
[14:16:57] mensvaga: If JSON isn't it, I'm OK with it. I just want a graphical front end to edit structured data, similar to what json is capable of storing / representing.
[14:17:09] sivoais: has joined #ruby
[14:17:18] dopamean_: has joined #ruby
[14:17:19] icbm: has joined #ruby
[14:17:59] RobertBirnie: has joined #ruby
[14:18:27] prefixed: has joined #ruby
[14:19:27] balazs: has joined #ruby
[14:19:51] terlar: has joined #ruby
[14:22:02] shevy: more GUIs written in ruby would always be cool
[14:25:20] solocshaw: has joined #ruby
[14:26:06] fullofcaffeine: has joined #ruby
[14:27:10] sivoais: has joined #ruby
[14:27:11] BeastMaster: hey shevy you like my new Nick?
[14:27:39] BeastMaster: yesterday you said you like beast
[14:27:59] djbkd: has joined #ruby
[14:29:06] shevy: BeastMaster aha
[14:29:40] shevy: dunno, beast was short... short IRC nicks are nice, it was one reason why I shortened my old nick
[14:29:51] mrburied: I am buried. Do you like me ?
[14:30:04] shevy: you zombie
[14:30:44] David27: has joined #ruby
[14:31:17] freerobby: has joined #ruby
[14:34:16] codecop: has joined #ruby
[14:37:18] NeverDie: has joined #ruby
[14:37:30] sivoais: has joined #ruby
[14:39:17] WizJin: has joined #ruby
[14:39:30] krisquigley: has joined #ruby
[14:40:06] ksteck: has joined #ruby
[14:40:42] xrlabs: has joined #ruby
[14:41:00] hal_9000: anyone here use a ruby-based todoist client?
[14:41:01] solocshaw: has joined #ruby
[14:42:24] rocknrollMarc: has joined #ruby
[14:42:26] fullofcaffeine: has joined #ruby
[14:42:44] rocknrollMarc: has joined #ruby
[14:43:04] SylarRuby: has joined #ruby
[14:43:05] rocknrollMarc: has joined #ruby
[14:43:09] riskish: has joined #ruby
[14:43:19] rocknrollMarc: has joined #ruby
[14:43:32] skweek: has joined #ruby
[14:43:33] shevy: not me. I used a primitive variant, my todo files are .md markdown files and I use kramdown for web-based display, or just have it loaded in my editor when locally
[14:43:34] rocknrollMarc: has joined #ruby
[14:43:58] kobain: has joined #ruby
[14:44:30] hal_9000: the most mature one i???ve seen so far is in python, but i???d like to be able to modify and/or contribute
[14:44:34] seydar: has joined #ruby
[14:45:45] The_Phoenix: has joined #ruby
[14:47:01] The_Phoenix: has joined #ruby
[14:47:17] solocshaw: has joined #ruby
[14:47:26] riotjones: has joined #ruby
[14:47:59] sivoais: has joined #ruby
[14:48:15] aredridel: has joined #ruby
[14:48:36] The_Phoenix: has joined #ruby
[14:48:42] riotjones: has joined #ruby
[14:49:22] riotjones: has joined #ruby
[14:49:25] northfurr: has joined #ruby
[14:49:37] The_Phoenix: has joined #ruby
[14:50:08] RegulationD: has joined #ruby
[14:50:29] treehug88: has joined #ruby
[14:52:08] PaulCape_: has joined #ruby
[14:52:16] rodfersou: has joined #ruby
[14:53:19] polishdub: has joined #ruby
[14:53:54] seydar: i just switched to 2.2 from 1.9.3 (i know, i know)
[14:53:58] leitz: In that old, unsupported, old, antiquated, and old Ruby 1.8.7, is there a better way to put these things into an array in order? https://github.com/LeamHall/CT_Character_Generator/blob/refactor_class_character/lib/Presenter.rb#L4-L10
[14:54:17] devoldmx: has joined #ruby
[14:54:24] shevy: seydar hah you were even slower than I was :)
[14:54:24] seydar: i'm having trouble using god with 2.2
[14:54:32] leitz: seydar, I think I give keyboards a workout when people tell me to upgrade from 1.8.7. :)
[14:55:04] leitz: God probably uses Assembler..
[14:55:20] seydar: leitz: i was just so comfortable and everything was running so smoothly on the old version! but i figure it's time. us old folks can't hang around forever
[14:55:23] fullofcaffeine: has joined #ruby
[14:55:31] michaeldeol: has joined #ruby
[14:55:44] leitz: seydar, I agree. Don't tell jhass, but if I could upgrade, I would.
[14:56:41] jhass: seydar: are we to guess your issue?
[14:57:12] mary5030: has joined #ruby
[14:57:41] seydar: jhass: my first issue was that i forgot to switch my laundry, but i just fixed that
[14:57:54] mary5030: has joined #ruby
[14:58:48] sivoais: has joined #ruby
[14:58:52] aredridel: has joined #ruby
[14:58:52] khebbie: has joined #ruby
[14:58:56] it_tard: has joined #ruby
[14:59:34] UtkarshRay: has joined #ruby
[14:59:47] seydar: my new issue is that i get this: http://pastie.org/10470544
[15:01:24] seydar: it's checking the wrong directory, and i can't figure out why. i even checked the rubygems generated code to make sure it was getting the right directory (it is)
[15:01:39] EminenceHC: has joined #ruby
[15:01:56] skweek: why does this still say nil error def initialize(name = "Anonymous", salary = 0.0)
[15:02:21] skweek: Employee.new.print_pay_stub
[15:02:37] shevy: seydar and "gem env" also does not show it?
[15:02:59] shevy: I meant gem list
[15:03:46] skweek: http://pastebin.com/3RgXAAFa
[15:03:46] ruboto: skweek, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/8cf5c709fc25cb4c43c1
[15:03:47] ruboto: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
[15:04:42] jhass: seydar: sudo gem install god
[15:05:30] seydar: jhass: ... god dammit. perfect fix.
[15:05:58] jhass: skweek: employee = Employee.new("Jane Doe", 50000).print_pay_stub # explain me what this line does
[15:06:33] skweek: prints Name: Jane Doe Pay This Period: $1917.81
[15:06:49] skweek: stores variable for new employee?
[15:06:50] paulca: has joined #ruby
[15:07:11] jhass: check employee is what you think it is: p employee
[15:07:15] seydar: jhass: can you explain why the path would be so strangely different between `gem env` and `sudo gem env`?
[15:07:33] fullofcaffeine: has joined #ruby
[15:07:35] jhass: skweek: hint: it's not
[15:08:33] jhass: seydar: meh, I didn't realize you're using RVM
[15:08:35] skweek: it looks like it is, the first two output before the last one, Employee.new.print_pay_stub
[15:08:38] jhass: so this was actually a bad fix
[15:09:05] jhass: skweek: did you do what I suggested? p employee (before the troubling line of course)
[15:09:23] jhass: seydar: actually you should've been using rvmsudo god
[15:10:39] sivoais: has joined #ruby
[15:11:36] jhass: IRC channel with some 1000ish users
[15:11:57] Rutix: has joined #ruby
[15:11:57] Rutix: has joined #ruby
[15:12:42] beauby: has joined #ruby
[15:13:34] jmdrawneek: I've managed to track down this error 'unknown encoding name ":UTF_8" for lib/livingstyleguide.rb, skipping' anything I can do to that?
[15:13:36] solocshaw: has joined #ruby
[15:13:53] jhass: sounds like a warning, not an actual error
[15:13:58] JDiPierro: has joined #ruby
[15:14:09] skweek: Thanks jhass
[15:15:04] i: has joined #ruby
[15:15:09] mensvaga: has left #ruby: ()
[15:15:16] Vile`: has joined #ruby
[15:15:23] tvon: has joined #ruby
[15:15:42] gaboesqu_: has joined #ruby
[15:17:20] _fumk: has joined #ruby
[15:17:45] seydar: jhass: thank you, fixing it now and making sure my startup scripts work
[15:18:29] _fumk: has joined #ruby
[15:19:21] brunto: has joined #ruby
[15:20:07] apt-get: has joined #ruby
[15:20:45] sivoais: has joined #ruby
[15:21:21] dorei: what does sting !~ regexp do?
[15:21:23] futilegames: has joined #ruby
[15:21:26] jmdrawneek: jhass: I've got a new error if you have a sec? Way out of my depth
[15:21:50] jhass: dorei: do you know what string =~ regexp does?
[15:21:57] inteq: has joined #ruby
[15:22:00] jhass: jmdrawneek: just ask the channel
[15:22:01] mark2: has left #ruby: ("PART #RubyOnRails :PART #jquery :PART #reactjs :PART ##javascript :PART #elixir-lang :PART #debian :PART #zsh :QUIT :Leaving.")
[15:22:03] acke: has joined #ruby
[15:22:15] dorei: jhass: oh, does it negate =~ ?
[15:22:29] paulca: has left #ruby: ("Leaving")
[15:22:33] jhass: yes, it's !(string =~ regexp) essentially
[15:23:22] blackmesa: has joined #ruby
[15:24:07] acke_: has joined #ruby
[15:24:50] timonv: has joined #ruby
[15:25:05] Technodrome: has joined #ruby
[15:25:11] atomical: has joined #ruby
[15:26:42] rcvalle: has joined #ruby
[15:27:24] jmdrawneek: Anyone got a sec to look at this error? https://gist.github.com/jmdrawneek/888e1cad419a89871056 It's gulp + a gem called livingstyleguide
[15:27:35] chouhoulis: has joined #ruby
[15:28:10] favadi: has joined #ruby
[15:28:20] fullofcaffeine: has joined #ruby
[15:28:39] Shoutsid: has joined #ruby
[15:28:46] beauby: has joined #ruby
[15:28:51] djbkd: has joined #ruby
[15:29:50] favadi: has joined #ruby
[15:30:09] workmad3: jmdrawneek: that's a JS error...
[15:30:32] tsou: has joined #ruby
[15:30:36] parduse: has joined #ruby
[15:30:47] sivoais: has joined #ruby
[15:31:40] jmdrawneek: workmad3: It's the js caused by the 'Error: Command failed: /bin/sh -c bundle exec livingstyleguide compile.... '
[15:32:31] sankaber: has joined #ruby
[15:32:32] hobodave: has joined #ruby
[15:32:33] porfa: has joined #ruby
[15:32:34] jhass: does running the command outside gulp work?
[15:32:36] imperator: has joined #ruby
[15:32:39] yes`r: has joined #ruby
[15:32:56] pandaant: has joined #ruby
[15:34:12] jmdrawneek: I get 'Could not locate Gemfile or .bundle/ directory'
[15:34:35] jhass: which guide do you follow?
[15:35:14] roshanavand: has joined #ruby
[15:35:17] jmdrawneek: https://github.com/efacilitation/gulp-livingstyleguide
[15:35:47] roshanavand: has joined #ruby
[15:36:07] Kendos-Kenlen: has joined #ruby
[15:36:34] cwong_on_irc: has joined #ruby
[15:36:57] jhass: well, that's just broken
[15:37:01] willardg: has joined #ruby
[15:37:09] s2013: has joined #ruby
[15:37:39] jhass: since the bundle exec is hardcoded, best do echo "source 'https://rubygems.org'\n gem 'livingstyleguide'\n" > Gemfile; bundle
[15:38:19] jhass: I guess you're the first using that outside an application that already has a Gemfile or something
[15:38:43] porfa: howdy guys
[15:38:52] jmdrawneek: So what does echo "source 'https://rubygems.org'\n gem 'livingstyleguide'\n" > Gemfile; bundle do?
[15:40:13] shevy: you put stuff into a Gemfile that will be created
[15:40:27] arthurix: has joined #ruby
[15:40:49] shevy: bundle will read the info in that Gemfile and assumingly have the gem called "livingstyleguide" downloaded/installed
[15:40:49] jhass: jmdrawneek: create a file with two lines
[15:41:05] sivoais: has joined #ruby
[15:41:11] jhass: then call bundle that reads the file and installs the gems described there
[15:41:45] victortyau: has joined #ruby
[15:41:55] porfa: i was wondering something??? I'm doing all these small ruby script to automate some lil things, those scripts will be called by the user, from a webpage, on a web server, being run by www-data 'fcourse ??? the thing is, these scripts are being done on my account, with RVM??? now.. is there a "thing" that i can do as root do clone all the RVM into www-data ?
[15:42:09] jmdrawneek: jhass: ah I see
[15:42:36] bruno-: has joined #ruby
[15:43:26] jmdrawneek: jhass: Hmm I got an error https://gist.github.com/jmdrawneek/4e8d2e8d6d5d24220bd7
[15:44:17] jhass: jmdrawneek: right, I forgot the -n
[15:44:19] gaboesquivel: has joined #ruby
[15:44:27] jhass: edit the file and make those \n proper newlines :P
[15:45:30] porfa: (or is there other way around? )
[15:45:41] davispuh: has joined #ruby
[15:45:50] willardg: has joined #ruby
[15:46:01] jmdrawneek: -n at the end?
[15:46:06] arthurix_: has joined #ruby
[15:46:57] Zamyatin: has joined #ruby
[15:47:44] jmdrawneek: jhass: Sorry I've not using ruby like this before. Only install it for the gems :o/
[15:47:46] Kendos-Kenlen: has joined #ruby
[15:48:11] jhass: jmdrawneek: echo is not part of ruby, it's part of your shell
[15:48:26] jhass: jmdrawneek: $EDITOR Gemfile
[15:49:06] acke: has joined #ruby
[15:50:06] riotjones: has joined #ruby
[15:50:35] DoubleMalt: has joined #ruby
[15:51:19] sivoais: has joined #ruby
[15:51:41] mduca: has joined #ruby
[15:52:04] chouhoulis: has joined #ruby
[15:52:27] shevy: you can make echo!
[15:52:44] shevy: then you can replace all puts with echo... isn't that great?
[15:52:45] skweek: has joined #ruby
[15:53:21] Trynemjoel: has joined #ruby
[15:54:45] ngscheurich: has joined #ruby
[15:55:15] erasmus: has joined #ruby
[15:55:39] jud: has joined #ruby
[15:56:17] devoldmx: has joined #ruby
[15:57:25] tkuchiki: has joined #ruby
[15:58:04] Ebok: has joined #ruby
[15:58:34] RTG`: has joined #ruby
[16:00:15] cschneid_: has joined #ruby
[16:00:16] luckyme: has joined #ruby
[16:00:52] towski_: has joined #ruby
[16:00:53] hobodave: has joined #ruby
[16:01:27] sivoais: has joined #ruby
[16:02:56] Igorshp: has joined #ruby
[16:02:57] Trynemjoel: has joined #ruby
[16:03:58] shinnya: has joined #ruby
[16:04:30] tkuchiki: has joined #ruby
[16:04:40] acke: has joined #ruby
[16:04:41] roshanavand: has joined #ruby
[16:05:48] yosiat: has joined #ruby
[16:06:04] ndrei: has joined #ruby
[16:06:05] Pharaoh2: has joined #ruby
[16:07:53] blackmesa: has joined #ruby
[16:11:09] roshanavand: has joined #ruby
[16:11:39] sivoais: has joined #ruby
[16:12:21] malcolmva: has joined #ruby
[16:13:22] SylarRuby: has joined #ruby
[16:13:45] fullofcaffeine: has joined #ruby
[16:14:34] victortyau: has joined #ruby
[16:14:51] pocketprotector-: has joined #ruby
[16:15:36] acke: has joined #ruby
[16:15:51] nXqd: has joined #ruby
[16:18:16] Soda: has joined #ruby
[16:18:34] jmdrawneek: jhass: I have no idea what's going on with this now. I can't even run the normal command anymore :o/
[16:21:49] shevy: progress!
[16:22:21] coetry: has joined #ruby
[16:22:24] sivoais: has joined #ruby
[16:22:25] jhass: jmdrawneek: and I don't see your screen
[16:22:44] Kendos-Kenlen_: has joined #ruby
[16:23:40] jmdrawneek: jhass: I just seem to be getting this error still: https://gist.github.com/jmdrawneek/209402e94270668e5c99
[16:23:48] jmdrawneek: jhass: When running 'livingstyleguide compile sass/styleguide.lsg styleguide.html'
[16:23:59] p0wn3d__: has joined #ruby
[16:24:11] jhass: jmdrawneek: you should've replaced the \n's with newlines, not spaces
[16:24:22] naztharune: has joined #ruby
[16:24:38] RobertBirnie: has joined #ruby
[16:25:17] Maletor: has joined #ruby
[16:26:01] jmdrawneek: jhass: Ah I've changed the Gemfile to have newlines
[16:26:04] Technodrome: has left #ruby: ()
[16:26:22] shevy: every file wants to have newlines
[16:26:40] jmdrawneek: jhass: I'm back to the original error of https://gist.github.com/jmdrawneek/08d342cd0bf5d70df291
[16:27:06] jmdrawneek: jhass: Oh wait this is different
[16:27:18] jhass: that means that there's no file sass/styleguide.lsg
[16:27:23] Pharaoh2: has joined #ruby
[16:27:25] `tim`: has joined #ruby
[16:27:27] jhass: hopefully relative to the current working directory
[16:27:36] jmdrawneek: jhass: Ah. So where does this run from?
[16:27:42] jmdrawneek: jhass: The gemfile?
[16:28:01] mrgaturus: has joined #ruby
[16:28:02] Jackneill: has joined #ruby
[16:28:13] jhass: relative to whatever the output of pwd is
[16:28:21] jhass: hopefully
[16:28:36] acke: has joined #ruby
[16:29:29] roshanavand: has joined #ruby
[16:29:37] spcmastertim: has joined #ruby
[16:29:40] djbkd: has joined #ruby
[16:30:02] wallerdev: has joined #ruby
[16:30:21] roshanavand: has joined #ruby
[16:30:21] ramfjord: has joined #ruby
[16:30:30] krisquigley: has joined #ruby
[16:30:33] gregoriokusows-1: has joined #ruby
[16:31:09] Pharaoh2: has joined #ruby
[16:31:41] beauby: has joined #ruby
[16:32:25] sivoais: has joined #ruby
[16:33:45] karapetyan: has joined #ruby
[16:35:12] Spami: has joined #ruby
[16:36:14] jgt: has joined #ruby
[16:38:12] jaequery: has joined #ruby
[16:40:10] apt-get: has joined #ruby
[16:40:38] Channel6: has joined #ruby
[16:40:39] jaequery: has joined #ruby
[16:40:45] mrburied: has joined #ruby
[16:40:55] Kendos-Kenlen: has joined #ruby
[16:41:26] dhjondoh: has joined #ruby
[16:41:58] BeastMaster: do any of you fine folks code for sport?
[16:42:13] dagda1: has joined #ruby
[16:42:30] sivoais: has joined #ruby
[16:43:38] symm-: has joined #ruby
[16:44:09] riskish: has joined #ruby
[16:44:26] Shoutsid: has joined #ruby
[16:46:16] matp: has joined #ruby
[16:46:27] lkba: has joined #ruby
[16:46:33] nettoweb: has joined #ruby
[16:47:20] mikecmpbll: has joined #ruby
[16:47:21] matp: has joined #ruby
[16:48:41] dionysus69: has joined #ruby
[16:49:26] saddad: has joined #ruby
[16:49:50] benlieb: has joined #ruby
[16:50:05] solocshaw: has joined #ruby
[16:50:26] ericjphillips: has joined #ruby
[16:51:05] loocash: has joined #ruby
[16:51:09] riotjones: has joined #ruby
[16:52:26] michaeldeol: has joined #ruby
[16:52:45] sivoais: has joined #ruby
[16:52:53] ndrei: has joined #ruby
[16:54:40] ararog: has joined #ruby
[16:55:08] k3asd`: has joined #ruby
[16:55:29] solocshaw: has joined #ruby
[16:56:20] matp: has joined #ruby
[16:57:25] matp: has joined #ruby
[16:58:48] acke: has joined #ruby
[17:00:57] firstdayonthejob: has joined #ruby
[17:01:21] Shoutsid: has joined #ruby
[17:01:29] dagda1_: has joined #ruby
[17:02:02] blackmesa: has joined #ruby
[17:02:45] dcarmich: has joined #ruby
[17:03:15] sivoais: has joined #ruby
[17:04:46] slash_nick: BeastMaster: as opposed to only coding only for sustenance?
[17:05:18] slash_nick: BeastMaster: or as in, do we code competitively?
[17:05:29] BeastMaster: I code on Codewars
[17:05:32] matp: has joined #ruby
[17:05:41] BeastMaster: and Hackerrank
[17:05:45] slash_nick: BeastMaster: are you here to challenge our champion?
[17:06:00] slash_nick: ACTION nominates shevy, today's champion
[17:06:02] BeastMaster: I code on there for honour, fame and glory
[17:06:22] shevy: slash_nick I am way too slow for challenges
[17:06:24] slash_nick: BeastMaster: for your own glory, or for the glory of the greater good?
[17:06:26] shevy: I code at snail-pace literally
[17:06:35] BeastMaster: Cowers is self paced untimed
[17:06:40] shevy: I also found that the larger the codebase is, the more time it takes me to make changes :(
[17:06:41] BeastMaster: Cowers I meant
[17:07:00] slash_nick: shevy: well wait and here the rules of the competition... it may be a who-can-write-code-the-slowest contest
[17:07:19] slash_nick: ACTION thought BeastMaster was trying to call us cowards :)
[17:07:24] BeastMaster: for my own glory
[17:07:53] BeastMaster: http://www.codewars.com/
[17:07:57] slash_nick: BeastMaster: tell us of your glory... and link us to your github profile :)
[17:08:48] slash_nick: BeastMaster: do you also code cooperatively? for the glory of the community?
[17:09:10] ruby-lang451: has joined #ruby
[17:09:25] BeastMaster: Codewars is a community effort, you can even create your own challenge for others to solve
[17:11:17] Thomas-0725: has joined #ruby
[17:11:19] BeastMaster: there is tens of thousands of people coding on there, I'm in the top 150
[17:12:00] bricker: has joined #ruby
[17:12:19] EminenceHC: has joined #ruby
[17:12:50] BeastMaster: they even have Ruby
[17:13:02] arthurix: has joined #ruby
[17:14:01] sivoais: has joined #ruby
[17:15:24] andyrs: has joined #ruby
[17:15:51] Shoutsid: has joined #ruby
[17:16:02] rakm: has joined #ruby
[17:16:17] BeastMaster: so who is keen to join me on Codewars?
[17:16:31] Hanmac: has joined #ruby
[17:16:36] Zarthus: i think i alreayd have an account there
[17:16:43] Zarthus: it's the thing for katas right?
[17:16:55] BeastMaster: its a karate themed coding challenge website
[17:17:16] loocash: has left #ruby: ("Leaving")
[17:17:17] Zarthus: i remember doing some of their challenges, but it got quickly boring due to them being either too difficult or just flat out uneducational
[17:17:32] Zarthus: but that was with javascript, a language I already disliked to begin with
[17:17:54] BeastMaster: Zarthus what is you profile link on there? I would like to follow you
[17:18:14] Zarthus: http://www.codewars.com/users/Zarthus
[17:18:45] asui: has joined #ruby
[17:19:33] BeastMaster: Zarthus I followed you, are you returning the favour?
[17:20:02] sankaber: has joined #ruby
[17:20:28] Zarthus: i suppose the website would be nice to get around again if they now offer more ruby challenges
[17:20:34] Zarthus: especially for when I am bored out of my mind in school
[17:21:07] asui: Hi Everyone, I'm using a ruby script to display some information in i3blocks. I would like to get a colored output. If I use the colorize package + "".red i3block shows an error "Could not parse JSON" Is there any way to colorize the output in a way without adding some characters to the string?
[17:21:37] dfockler: has joined #ruby
[17:21:50] aaeron: has joined #ruby
[17:22:36] atomical: has joined #ruby
[17:23:05] postmodern: has joined #ruby
[17:23:15] fretted: has joined #ruby
[17:23:42] BeastMaster: school is like a distant memory for me
[17:23:52] iWaffles: has joined #ruby
[17:25:23] sivoais: has joined #ruby
[17:25:24] p0wn3d__: has joined #ruby
[17:25:59] leitz: has joined #ruby
[17:26:08] ndrei: has joined #ruby
[17:27:42] diegoaguilar: has joined #ruby
[17:29:02] djbkd: has joined #ruby
[17:29:09] skade: has joined #ruby
[17:29:13] Thomas-0725: asui, never used i3blocks, but it looks like it might have a built-in way to color text which does not rely on colorize. I couldn't find an actual reference, but here is an example: https://github.com/vivien/i3blocks/blob/master/scripts/cpu_usage
[17:29:43] _djbkd: has joined #ruby
[17:30:12] djbkd: has joined #ruby
[17:31:33] pilne: has joined #ruby
[17:33:13] c0m0: has joined #ruby
[17:33:20] havenn: has joined #ruby
[17:33:28] psye: has joined #ruby
[17:33:34] karapetyan: has joined #ruby
[17:34:32] psye: has joined #ruby
[17:34:42] Thomas-0725: asui, as an explanation for why your json is breaking, I believe it is because the way colorize makes text colorful is by inserting a control string of the form "^[[0;31;40m(In color)". I suspect the parser is struggling with the [[, but just a guess. Maybe someone else has a less speculative response. :)
[17:35:01] sivoais: has joined #ruby
[17:35:07] zotherstupidguy: has joined #ruby
[17:35:45] Renich: has joined #ruby
[17:36:18] podman: has joined #ruby
[17:41:08] krisquigley: has joined #ruby
[17:41:20] roshanavand: has joined #ruby
[17:41:54] roshanavand: has joined #ruby
[17:42:04] Shoutsid: has joined #ruby
[17:45:09] sivoais: has joined #ruby
[17:46:27] Musashi007: has joined #ruby
[17:47:09] pecpec: has joined #ruby
[17:47:25] drbrain: I think ^[ is the escape character
[17:47:33] drbrain: ??? "\e" in ruby
[17:48:13] hobodave: has joined #ruby
[17:48:40] Rodya_: has joined #ruby
[17:49:43] Xiti: has joined #ruby
[17:49:47] mrgaturus: has joined #ruby
[17:50:17] RegulationD: has joined #ruby
[17:51:41] blackmesa: has joined #ruby
[17:53:32] mary5030: has joined #ruby
[17:53:34] gusTester: has joined #ruby
[17:53:37] gusTester: has left #ruby: ()
[17:54:28] Shoutsid: has joined #ruby
[17:54:58] enherit: has joined #ruby
[17:55:10] jamto11: has joined #ruby
[17:55:10] sivoais: has joined #ruby
[17:56:17] sankaber: has joined #ruby
[17:57:01] devoldmx: has joined #ruby
[17:57:19] RegulationD: has joined #ruby
[17:58:55] Pharaoh2: has joined #ruby
[17:59:27] PaulCapestany: has joined #ruby
[18:00:01] dionysus69: has joined #ruby
[18:01:20] aaeron: has joined #ruby
[18:01:32] mhib: has joined #ruby
[18:01:43] jpfuentes2: has joined #ruby
[18:02:43] rodfersou: has joined #ruby
[18:03:43] tangentstorm: has joined #ruby
[18:03:48] karapetyan: has joined #ruby
[18:04:16] karapetyan: has joined #ruby
[18:05:11] sivoais: has joined #ruby
[18:06:14] skade: has joined #ruby
[18:06:55] lkba_: has joined #ruby
[18:07:46] freerobby: has joined #ruby
[18:08:56] beauby: has joined #ruby
[18:09:59] benlieb: has joined #ruby
[18:10:02] EminenceHC: has joined #ruby
[18:10:08] Oog: has joined #ruby
[18:10:23] User458764: has joined #ruby
[18:10:33] noobguy: has joined #ruby
[18:10:46] Macaveli: has joined #ruby
[18:13:54] kobain: has joined #ruby
[18:14:04] apt-get: has joined #ruby
[18:14:19] baweaver: has joined #ruby
[18:14:30] codecop: has joined #ruby
[18:15:13] sivoais: has joined #ruby
[18:15:14] ramfjord: has joined #ruby
[18:15:29] northfurr: has joined #ruby
[18:16:13] Blizzy: has joined #ruby
[18:16:13] jackjackdripper: has joined #ruby
[18:16:46] bender_unit: has joined #ruby
[18:18:43] JDiPierro: has joined #ruby
[18:19:12] deepu: has joined #ruby
[18:19:29] beauby_: has joined #ruby
[18:19:32] deepu: has anyone use sys-proctable to measure memory usage?
[18:19:52] deepu: https://github.com/djberg96/sys-proctable
[18:19:53] jenrzzz: has joined #ruby
[18:20:18] shevy: not me, but his IRC nick is imperator, he tends to be online here every now and then
[18:21:07] psye: has joined #ruby
[18:21:40] Sheperson: has joined #ruby
[18:22:06] craysiii: has joined #ruby
[18:22:51] djbkd: has joined #ruby
[18:23:38] imperator: has joined #ruby
[18:24:32] karapetyan: has joined #ruby
[18:25:10] toretore: has joined #ruby
[18:25:47] sivoais: has joined #ruby
[18:25:58] shevy: https://github.com/ruby/ruby/blob/trunk/ChangeLog#L38
[18:26:22] shevy: interesting that the links also go to twitter notifications now :)
[18:26:37] shevy: unfortunately I can't read japanese
[18:27:37] Alayde: has joined #ruby
[18:28:04] havenn: has joined #ruby
[18:29:17] based_pdev_: has joined #ruby
[18:30:57] djbkd_: has joined #ruby
[18:31:22] diegoviola: has joined #ruby
[18:32:02] d10n-work: has joined #ruby
[18:33:06] mattprelude: has joined #ruby
[18:33:52] patdohere: has joined #ruby
[18:33:53] gsingh93: has joined #ruby
[18:34:21] baweaver: has joined #ruby
[18:36:04] bender_unit: has joined #ruby
[18:36:14] sivoais: has joined #ruby
[18:36:20] sankaber: has joined #ruby
[18:37:29] acke: has joined #ruby
[18:38:37] skade: has joined #ruby
[18:39:02] radgeRayden__: has joined #ruby
[18:39:05] CrazyEddy: has joined #ruby
[18:39:33] paulcsmith: has joined #ruby
[18:41:26] gizmore: has joined #ruby
[18:43:01] mary5030: has joined #ruby
[18:43:09] otacon-: has joined #ruby
[18:44:31] howdoi: has joined #ruby
[18:45:05] blackmes1: has joined #ruby
[18:46:24] sivoais: has joined #ruby
[18:47:03] tubuliferous: has joined #ruby
[18:47:08] dagda1: has joined #ruby
[18:50:13] Shoutsid: has joined #ruby
[18:50:40] nk8: has joined #ruby
[18:51:06] nk8: hello world
[18:51:09] freerobby: has joined #ruby
[18:52:31] riotjones: has joined #ruby
[18:54:10] nk8: just wanted to intro myself... i'm a ruby newby from los angeles. hereby publicly promising to ask good questions and follow the rules :)
[18:54:22] acke_: has joined #ruby
[18:54:23] erasmus: ACTION gags
[18:54:56] apt-get: has joined #ruby
[18:54:57] erasmus: has left #ruby: ("Namaste ")
[18:55:27] swgillespie: has joined #ruby
[18:55:51] troulouliou_dev: has joined #ruby
[18:56:24] sivoais: has joined #ruby
[18:58:14] Renich: has joined #ruby
[18:58:33] phutchins: has joined #ruby
[18:58:49] apeiros: hi nk8, thanks for your self introduction, and welcome to the channel
[18:58:58] nobitanobi: has joined #ruby
[18:59:13] aaeron: has joined #ruby
[18:59:14] nobitanobi: What's the difference between doing `<<` and `+=` to add an element into an array?
[18:59:32] apeiros: << mutates, += assigns a new array
[18:59:44] havenn: nk8: hi fellow LA Rubyist!
[18:59:45] s2013: has joined #ruby
[19:00:01] nk8: thanks! I just forked the ruby-community website on github. I come from a front-end development background. Is there anything you guys would appreciate some contributions on?
[19:00:38] nobitanobi: apeiros in terms of performance, what is considered better?
[19:00:41] shevy: nobitanobi the latter will be slower because you will create a new object
[19:01:11] `based_pdev`: has joined #ruby
[19:01:13] nobitanobi: ok thanks shevy
[19:01:15] nk8: @havenn hello :)
[19:01:52] shredding: has joined #ruby
[19:02:07] shevy: havenn you are in LA as well?
[19:02:15] prestorium: has joined #ruby
[19:02:16] havenn: shevy: yup, sure am
[19:02:23] nk8: LA in the house :-D
[19:02:46] havenn: shevy: did you see that voodoo nonsense Tiobe site bumped Ruby up a bunch of spots? ;)
[19:03:04] jhass: nk8: if you want to make us a unique design, that'd be very welcome ;) Join #ruby-community for dev talk etc
[19:03:09] grenierm: has joined #ruby
[19:03:14] havenn: nk8: Make it pretty! :D
[19:03:31] symm-_: has joined #ruby
[19:03:42] solocshaw: has joined #ruby
[19:04:21] nk8: I can make it pretty and clean, like ruby
[19:04:31] EminenceHC: has joined #ruby
[19:04:46] havenn: nk8: Maybe add some foxes.
[19:05:31] nk8: https://en.wikipedia.org/wiki/Ruby_Fox ?
[19:06:55] sivoais: has joined #ruby
[19:07:01] nk8: @jhass which server is ruby-community on? looks like it's not on freenode
[19:07:02] havenn: nk8: Nope, foxes and chunky bacon from _why: http://www.rubyinside.com/media/poignant-guide.pdf
[19:07:23] shevy: havenn yeah... tiobe really just randomly shuffles stuff around, how can things change so rapidly in one month
[19:07:35] Shoutsid: has joined #ruby
[19:07:37] jhass: nk8: the channel? it is, simply type /join #ruby-community
[19:08:07] Renich: has joined #ruby
[19:08:42] dopie: has joined #ruby
[19:09:19] kobain: has joined #ruby
[19:10:12] kobain: has joined #ruby
[19:11:07] kobain: has joined #ruby
[19:11:16] trautwein: has joined #ruby
[19:11:40] paulcsmith: has joined #ruby
[19:11:54] toretore: has joined #ruby
[19:12:03] kobain: has joined #ruby
[19:12:09] system64: has joined #ruby
[19:13:27] atche: has joined #ruby
[19:13:41] havenn: atche: hi
[19:14:07] s00pcan_: has joined #ruby
[19:14:29] tomchapin: has joined #ruby
[19:14:48] prefixed: has joined #ruby
[19:14:55] petricore: has joined #ruby
[19:16:56] sivoais: has joined #ruby
[19:17:26] hobodave: has joined #ruby
[19:17:28] atche: I have a problem, while trying to include another class -- http://ix.io/lk6/ruby -- how can I make it call plop correctly? I can't `def self.plop` in this example or it won't find `c`
[19:17:30] roshanavand: has joined #ruby
[19:17:53] Pumukel: has joined #ruby
[19:19:22] yfeldblum: has joined #ruby
[19:19:37] casadei: has joined #ruby
[19:20:20] jhass: atche: first of all the include should be include X inside Foo::Bar
[19:20:50] jhass: and if you want to call it like that make it def self.plop and use extend X instead of include X
[19:22:35] porfa: so i have a question??? regarding methods ( shevy [TIMESTAMP] )
[19:23:31] porfa: lets say that i have these sets of commands that i do very often and are unique for what i do, so if i turn those lines into a method, all i have to do later is call that method right?
[19:24:00] jhass: sounds about right
[19:25:45] nk8: has joined #ruby
[19:26:42] shevy: Porfa always. methods are like the assembly workers in your factory
[19:26:53] BraddPitt: and you dont even have to pay them!
[19:27:11] sivoais: has joined #ruby
[19:27:14] stamina: has joined #ruby
[19:28:08] cantaberry: has joined #ruby
[19:28:44] nk8: has joined #ruby
[19:30:13] brunto: has joined #ruby
[19:30:42] loechel: has joined #ruby
[19:30:58] atche: jhass: mhh, the question was about having a 'reverse include' that way
[19:31:12] atche: jhass: i know it looks a bit odd though
[19:31:37] jhass: You can't call plop on Foo::Bar then
[19:31:41] jhass: only on X
[19:31:44] djbkd: has joined #ruby
[19:32:12] jhass: and since C is an instance method you'd still have to include X into something before you can call it
[19:32:36] odigity: Why not define +() method on Hash as an alias to merge so you can do hash1 + hash2?
[19:32:39] yorickpeterse: I just spent 9 hours almost non-stop hacking on Socket code
[19:32:43] yorickpeterse: ugurhghghblargh
[19:33:20] odigity: yorickpeterse, I hope your efforts are appreciated.
[19:33:25] yorickpeterse: Did you know that if you create an Addrinfo with an Array, MRI will validate the actual address to make sure it's a valid IPv6 address (given the address family is set to AF_INET6)?
[19:33:29] shevy: yorickpeterse what did you have to do?
[19:33:34] yorickpeterse: But that it doesn't do so when you pass it a string returned from Socket.sockaddr_in?
[19:33:42] yorickpeterse: meaning you can pass in bullshit addresses
[19:34:03] shevy: odigity no idea, perhaps there is a reason
[19:34:05] yorickpeterse: >> require 'socket'; in = Socket.sockaddr_in(80, '127.0.0.1'); Addrinfo.new(in, Socket::PF_INET6);
[19:34:06] ruboto: yorickpeterse # => /tmp/execpad-9f254ca200d4/source-9f254ca200d4:2: syntax error, unexpected keyword_in, expecting keyw ...check link for more (https://eval.in/447934)
[19:34:17] shevy: >> { cat: 'tom' } + { mouse: 'jerry' }
[19:34:18] ruboto: shevy # => undefined method `+' for {:cat=>"tom"}:Hash (NoMethodError) ...check link for more (https://eval.in/447935)
[19:34:24] yorickpeterse: wait wtf, where's the syntax error
[19:34:28] duncannz: has joined #ruby
[19:34:40] shevy: odigity or nobody thought about it yet
[19:34:42] yorickpeterse: >> require 'socket'; sockaddr = Socket.sockaddr_in(80, '127.0.0.1'); Addrinfo.new(sockaddr, Socket::PF_INET6);
[19:34:43] ruboto: yorickpeterse # => #<Addrinfo: 127.0.0.1:80 PF_INET6> (https://eval.in/447937)
[19:34:54] shevy: the only way to be sure is to file a request at: odigity
[19:34:57] shevy: bugs.ruby-lang.org/projects/ruby-trunk
[19:35:05] yorickpeterse: >> require 'socket'; sockaddr = ['AF_INET', 80, 'lol', '127.0.0.1']; Addrinfo.new(sockaddr, Socket::PF_INET6);
[19:35:06] ruboto: yorickpeterse # => (https://eval.in/447938)
[19:35:28] yorickpeterse: that does a syscall to getaddrinfo()
[19:35:30] yorickpeterse: which then fails
[19:35:33] odigity: shevy, I wouldn't want to waste their time. I can't be the first (or thousandth) person to think of it, so I assume there must be a reason it hasn't been done.
[19:35:35] firstdayonthejob: has joined #ruby
[19:35:58] yorickpeterse: shevy: filing a bug about this is pointless, it's not going to be changed any time soon
[19:36:03] yorickpeterse: since it would probably break compatibility
[19:36:21] yorickpeterse: also I have exactly zero interest in filing 1203812093812309 issues for every oddity I come across
[19:36:33] shevy: odigity yeah I would assume so as well. I did not have the idea of using + on hashes before though
[19:36:51] GarethAdams: has joined #ruby
[19:36:57] darix: yorickpeterse: will you fix it in rubinius though?:p
[19:37:00] odigity: I'm more surprised it's not in activesupport, which is less conservative than ruby stdlib.
[19:37:12] sivoais: has joined #ruby
[19:37:14] shevy: odigity you are possibly the first person to want this!
[19:37:19] shevy: on planet earth!!!
[19:37:23] Musashi007: has joined #ruby
[19:37:42] jenrzzz: has joined #ruby
[19:38:03] craysiii: isn't that what .merge! is for?
[19:38:23] yorickpeterse: https://github.com/rubysl/rubysl-socket/pull/9/commits
[19:38:28] yorickpeterse: still a ton of other methods to fix
[19:38:32] n008f4g_: has joined #ruby
[19:38:33] yorickpeterse: and double checking if I fixed this one properly
[19:38:37] yqt: has joined #ruby
[19:38:39] yorickpeterse: well fix as in mimic what MRI does
[19:38:45] yorickpeterse: because MRI is totally the standard
[19:38:56] yorickpeterse: and it re-raising system call errors is totally by design
[19:39:01] shevy: craysiii yeah, other methods exist for that
[19:39:03] odigity: craysiii, well, merge would be the correct analog, I think (not merge!). but I'm aware of it. I'm just saying + could be aliased to it, so hash1 + hash2 is equiv to hash1.merge(hash2)
[19:39:20] yorickpeterse: darix: https://github.com/rubysl/rubysl-socket/blob/e4d905fe733d38dcf1350fe1c3cbfdaa7126fa3d/lib/rubysl/socket/addrinfo.rb#L42-L129 this is mostly what I wrote today
[19:39:21] shevy: perhaps the parser has a problem with it
[19:39:27] darix: yorickpeterse: Showing ??? 30 changed files with 2,768 additions and 1,542 deletions. - dafuq?!
[19:39:27] yorickpeterse: and the 187 mspec examples for it
[19:39:32] odigity: and - aliased to extract from activesupport
[19:39:34] yorickpeterse: I moved a bunch of files around
[19:39:48] shevy: activesupport uses - for hashes?
[19:39:48] yorickpeterse: everything was piled into a single file, I broke that up
[19:39:50] odigity: newhash = hash1 + hash2 - hash3 would then work, and be very expressive
[19:40:12] odigity: shevy, it doesn't currently. that's why I'm surprised.
[19:40:20] odigity: it seems so intuitive
[19:40:35] shevy: now that you mentioned it yeah. but before that I never thought of it myself
[19:40:40] yorickpeterse: darix: basically from https://github.com/rubysl/rubysl-socket/blob/2.0/lib/rubysl/socket.rb to https://github.com/rubysl/rubysl-socket/tree/e4d905fe733d38dcf1350fe1c3cbfdaa7126fa3d/lib/rubysl/socket
[19:40:48] amoeba: has joined #ruby
[19:41:09] djbkd: has joined #ruby
[19:41:55] yorickpeterse: The worst part is that while it passes the specs I have no idea if it's correct because it's correct, or just by coincidence
[19:42:03] havenn: has joined #ruby
[19:42:08] krisquigley: has joined #ruby
[19:42:34] ellisTAA: has joined #ruby
[19:42:48] darix: yorickpeterse: ask me again when i had a good amount of sleep :)
[19:42:54] Shoutsid: has joined #ruby
[19:43:10] paulcsmith: has joined #ruby
[19:43:10] darix: my next debug fun will be "find out which gem you updated in gitlab that broke the CI stuff" ;)
[19:43:28] darix: this week was saltstack debugging
[19:43:48] yorickpeterse: Hey I don't update Gems
[19:43:51] yorickpeterse: I just fix DB queries
[19:45:10] darix: yorickpeterse: when you package more than one rails app you want to try avoid duplicated gems. and most of the time it just works. because you notice upstream hasnt touched that part of gemfile since 2013
[19:45:28] yorickpeterse: did you see that dude packaging gitlab for debian?
[19:45:31] nk8: has joined #ruby
[19:45:33] yorickpeterse: It had like 300 apt dependencies
[19:45:38] porfa: has joined #ruby
[19:45:43] yorickpeterse: some poor soul packaged all Gems as .deb packages
[19:45:49] yorickpeterse: (I hope they scripted that out)
[19:45:55] jhass: yeah, I heard you guys are having fun with praven
[19:46:10] jhass: they attempt(ed) the same for diaspora, took them two years
[19:46:11] shevy: so this is nightmare
[19:46:17] yorickpeterse: It's not a real Rails project until there are at least a 100 Gems in your Gemfile
[19:46:23] darix: yorickpeterse: moment
[19:46:26] jhass: in the process the versions where somewhere but not matching our Gemfile.lock of course
[19:46:34] jhass: and then they were surprised it didn't work
[19:46:40] coetry: has joined #ruby
[19:46:42] riskish: has joined #ruby
[19:46:59] yorickpeterse: https://librenet.gr/camo/d62c2486d89e2a68b47cb507a7795353db128179/68747470733a2f2f706f64646572792e636f6d2f75706c6f6164732f696d616765732f7363616c65645f66756c6c5f39396133373162633036346634643235313563312e706e67 lol
[19:47:07] darix: yorickpeterse: rpm -q --requires gitlab-ce | grep -c 'rubygem'
[19:47:19] yorickpeterse: "287 new packages will be installed. Do you want to continue?"
[19:47:20] darix: i think the total with indirect stuff is about 390 packages
[19:47:32] sivoais: has joined #ruby
[19:47:36] darix: (390 includes base system)
[19:47:56] jhass: darix: but you don't expect that to work with multiple rails app installed on the same system, right?
[19:48:13] sepp2k: has joined #ruby
[19:48:15] darix: jhass: it does.
[19:48:23] darix: very happily.
[19:48:24] yorickpeterse: just git clone the repo
[19:48:28] yorickpeterse: that's how people roll these days
[19:48:35] darix: and i just had the idea what breaks the gitlab-ce CI stuff.
[19:48:45] yorickpeterse: put some docker in the mix, boom, to the frontpage of HN
[19:48:49] jhass: yorickpeterse: bundle install --deployment in the packaging step isn't too bad either
[19:49:01] yorickpeterse: darix: could be that my benchmarks broke whatever CI you're running :P
[19:49:06] yorickpeterse: since they're not part of the test suite
[19:49:19] darix: jhass: it is the same as static linking. which is so "cool"
[19:49:44] yorickpeterse: bro just deploy a single binary
[19:49:44] shevy: what is static linking?
[19:49:56] yorickpeterse: shevy: binary in which all dependencies are included
[19:49:59] yorickpeterse: including any system libraries
[19:50:04] jamesaxl: has joined #ruby
[19:50:13] shevy: this is called linking?
[19:50:15] yorickpeterse: so they're more portable at the cost of being fat and requiring a recompile if you want to update any of those dependencies (e.g. OpenSSL)
[19:50:34] jhass: darix: dunno, 100-200 deps vs 10-20 does make a difference
[19:50:35] yorickpeterse: dynamic linking is basically just using a pointer/symlink to the actual files
[19:50:43] shevy: yeah, they are fatties. static coreutils bin/ has about 100mb in size :)
[19:50:53] Shoutsid: has joined #ruby
[19:50:58] JDiPierro: has joined #ruby
[19:51:06] darix: yorickpeterse: i also have discourse packaged. simple-rss needs a patch to work properly without fucking up charsets. all installations deployed from the rpm automatically got the fixed version. the one instance we deployed from "cool git" because the guy insisted on ubuntu .. we ran into the issue again. because yeah the gem on rubygems.org is unmaintained and we had to redeploy the patch to the bundle vendor
[19:51:09] yorickpeterse: darix: if the benchmarks are indeed the problem you'll want to exclude everything from https://gitlab.com/gitlab-org/gitlab-ce/tree/master/spec/benchmarks
[19:51:16] jhass: they're trying to convince us to basically blow away our Gemfile.lock for them
[19:51:29] dorei: shevy: ldd some_executable
[19:51:52] shevy: dorei hah for a moment I mixed up your nick with darix
[19:52:05] yorickpeterse: now it's time for vidya games and tea
[19:52:13] darix: shevy: "bundling gems" at packaging time is like static linking. because i cant just update the system gem and all apps on the system will use the fixed copy.
[19:53:03] jhass: well, let's be honest API stability is just not comparable in our ecosystem to the C etc ecosystem
[19:53:04] darix: https://discourse.nordisch.org/ e.g. runs from a package.
[19:53:23] darix: jhass: that is really a bullshit statement
[19:53:38] darix: i just saw as many api/abi breakages in C land as in ruby
[19:53:50] darix: and that were things without bumping so version
[19:54:07] darix: and i had ruby projects with a stable api since years.
[19:54:38] jhass: fine, maybe it's that you generally have more deps and thus the likelihood of breakage increases
[19:54:38] riotjones: has joined #ruby
[19:55:30] riotjones: has joined #ruby
[19:55:38] jhass: but I have too much stuff that breaks between two point releases or introduces some incompatibility with other dependencies or not to not lock on specific versions, especially since not doing that fulltime
[19:55:52] jhass: *or whatever
[19:56:27] darix: jhass: and then your users/you get stuck on versions. miss security updates and win even more fun through that.
[19:56:44] darix: and when you finally get around to fix your app to follow api changes it is even more work.
[19:56:50] jhass: if I stop maintaining it, yes
[19:57:41] sivoais: has joined #ruby
[19:58:28] northfurr: has joined #ruby
[19:58:31] NeverDie: has joined #ruby
[19:58:50] darix: yorickpeterse: and with some small prepare packaging gems is easy to automate
[19:59:14] jhass: if you don't have to meet debians policies that is
[19:59:20] darix: yorickpeterse: https://gist.github.com/darix/9d2210baa25df67542ed
[19:59:34] darix: jhass: i have to meet opensuse policies
[19:59:43] darix: and we hooked that into gem2rpm
[20:01:10] kobain: has joined #ruby
[20:01:16] darix: jhass: https://build.opensuse.org/package/view_file/home:darix:apps/rubygem-annotate/rubygem-annotate.spec?expand=1 - that spec file is generated.
[20:01:26] darix: hard to get that wrong :p
[20:01:52] jhass: I see, no running tests step
[20:01:57] kobain: has joined #ruby
[20:02:07] Helheim: has joined #ruby
[20:02:33] devoldmx: has joined #ruby
[20:02:50] sivoais: has joined #ruby
[20:02:51] darix: jhass: for build performance reason we decided against running them. now we have a very flat dependency tree
[20:03:20] sgambino: has joined #ruby
[20:03:41] darix: we had that in the past and it was a lot of manual work because sometimes the test didnt run with just devel dependencies.
[20:03:46] trajing: has joined #ruby
[20:04:17] jhass: yup, the debian folk is instead running the testsuite for each and complain upstream if it doesn't work
[20:04:30] jhass: that takes a ton of time
[20:04:49] jenrzzz: has joined #ruby
[20:05:08] darix: jhass: been there done that.
[20:05:47] pilne: the behavior of the % operator is a bit odd to me when it comes to dealing with negative operands
[20:05:50] kobain: has joined #ruby
[20:06:00] ruurd: has joined #ruby
[20:06:06] haylon: has joined #ruby
[20:06:18] darix: pilne: % operator in which context?
[20:07:12] pilne: i.e. puts (-5 % 3) is 1, and puts (5 % -3) is -1. while puts (5 % 3) is 2 and puts (-5 % -3) is -2.
[20:07:42] darix: ah % for numbers
[20:07:48] jhass: pilne: it's modulo, not the remainder. If you want the remainder use, well, .remainder
[20:08:04] benlieb: has joined #ruby
[20:08:17] darix: pilne: 5 % -3 is actually correct
[20:08:22] symm-: has joined #ruby
[20:08:36] pilne: ahhh, so i've been seeing it used lazily elsewhere
[20:08:42] NeverDie: has joined #ruby
[20:09:13] pilne: not new to coding, but new to ruby, i feel it has a lot to offer
[20:09:18] funkenstrahlen: has joined #ruby
[20:09:34] funkenstrahlen: hey, I have got this method: def self.upload(podcast_feed_url, client_secret_file_path = 'client_secret.json', video_category_id = '28')
[20:09:38] funkenstrahlen: I call it like this: PodcastUploader.upload(options[:feedurl], options[:clientsecretfile], options[:videocategoryid])
[20:09:44] funkenstrahlen: all options are set!
[20:10:01] funkenstrahlen: however I get `upload': wrong number of arguments (3 for 0) (ArgumentError)
[20:10:13] cornerman: has joined #ruby
[20:10:21] jhass: you're not hitting the definition you've shown then
[20:10:30] imperator: has left #ruby: ("Leaving")
[20:10:57] jhass: try PodcastUploader.method(:upload).source_location
[20:11:02] funkenstrahlen: jhass: can you explain that? I have 3 parameters to set and I do this when calling
[20:11:28] tobiasvl: funkenstrahlen: the error message means that ruby thinks the method takes no arguments at all
[20:11:35] tobiasvl: so you're issuing 3 arguments too many
[20:11:40] jhass: you probably have overridden it somewhere or not actually defined it on PodcastUploader, try what I wrote
[20:12:37] havenn: has joined #ruby
[20:12:49] funkenstrahlen: jhass: tobiasvl: you can check out my PodcastUploader class here: https://gist.github.com/597640239c0541e932ce
[20:12:58] funkenstrahlen: jhass: can you spot the error?
[20:13:28] jhass: funkenstrahlen: is puts PodcastUploader.method(:upload).source_location so hard to try?
[20:13:56] grenierm: has joined #ruby
[20:14:08] funkenstrahlen: jhass: I did try! It shows me line 10 in PodcastUploader as result. Exactly the method I try to call
[20:14:21] toretore: has joined #ruby
[20:14:33] jhass: then you didn't save the file or something
[20:14:55] marr: has joined #ruby
[20:15:38] funkenstrahlen: maybe PodcastUploader.uploader is an instance method actually?
[20:15:53] funkenstrahlen: does self.upload define it as class method?
[20:16:08] jhass: .uploader ?
[20:16:27] jhass: from the code you've shown it's all correct
[20:16:39] jhass: I think you're looking at some different code than you're running
[20:16:39] funkenstrahlen: it worked nicely before when I did not use any parameters...
[20:16:50] darix: funkenstrahlen: so do puts PodcastUploader.class
[20:17:01] darix: if you named the instance the same as the class ....
[20:17:14] funkenstrahlen: I develop a rubygem for the first time
[20:17:22] funkenstrahlen: so after test installing it my code uses the installed one!
[20:17:28] funkenstrahlen: and not the local development on
[20:17:47] darix: funkenstrahlen: ruby -Ilib ...
[20:17:51] darix: or something
[20:17:53] jhass: funkenstrahlen: you don't need to install your gem, just run your script with ruby -Ipath/to/your/lib
[20:17:55] darix: will make sure it prefers the local copy
[20:18:04] darix: faster :p
[20:20:55] rbowlby: has joined #ruby
[20:21:09] patdohere: has joined #ruby
[20:21:45] oetjenj: has joined #ruby
[20:21:50] fullofcaffeine: has joined #ruby
[20:22:24] patdohere: has joined #ruby
[20:22:44] pocketprotector: has joined #ruby
[20:22:52] fullofcaffeine: has joined #ruby
[20:23:34] hobodave: has joined #ruby
[20:23:46] SCHAAP137: has joined #ruby
[20:23:46] SCHAAP137: has joined #ruby
[20:24:18] JohnTheGreek: has joined #ruby
[20:25:20] ruurd: has joined #ruby
[20:25:21] JohnTheGreek: why should i favor an opinionated web framework instead of an unopinionated one ?
[20:25:54] yosiat: has joined #ruby
[20:26:36] tercenya: has joined #ruby
[20:27:20] JohnTheGreek: is this also the ruby on rails channel ?
[20:28:22] pipework: JohnTheGreek: #rubyonrails
[20:29:01] pipework: JohnTheGreek: Accepting the opinions of a framework means less decisions for you. Doing things the rails way leaves you to build the application.
[20:29:45] shevy: JohnTheGreek the usual argument is that it may help you become more productive; whether this is true or not, I can't say, I did not invest enough time to be in a position to conclude
[20:30:07] shevy: JohnTheGreek you may get a more balanced opinion when you ask e. g. why apeiros is using rails
[20:30:53] skweek: has joined #ruby
[20:31:10] krisquigley: has joined #ruby
[20:31:24] darix: my answer would be ... go with "the rails way" until you understand *why* to deviate from it
[20:32:12] trajing: unpopular opinion: I didn't really like Rails so I started with Sinatra instead
[20:32:20] trajing: still don't like rails
[20:32:24] trajing: ACTION shrusg
[20:32:28] djbkd_: has joined #ruby
[20:35:36] jhass: JohnTheGreek: another aspect is that those opinions usually come from experience and that is experience you don't have yet. They *can* be a useful guide protecting you from certain mistakes
[20:37:15] shredding: has joined #ruby
[20:37:23] dorei: ruby off rails xD
[20:37:59] giuseppesolinas: has joined #ruby
[20:38:38] yes`r: has joined #ruby
[20:40:24] haylon: I personally like Sinatra because of how simple it is to begin. RoR was definitely a lot going on at once for a newb
[20:40:50] haylon: If I were developing a more substantial application, then I would go RoR
[20:41:37] fullofcaffeine: has joined #ruby
[20:42:31] patdohere: has joined #ruby
[20:43:22] diego4: has joined #ruby
[20:43:30] diego4: has joined #ruby
[20:46:23] ucarion: has joined #ruby
[20:47:36] ucarion: Hi all, I'm trying to find a tech talk, I'm 99% sure a Japanese ruby-core developer gave it
[20:48:06] ucarion: The speaker implements a language in assembly, then implements another language with his new language, and continues doing this until he has this really nice, high-level language
[20:48:22] SCHAAP137: has joined #ruby
[20:48:31] ucarion: anyone recall where I could find the slides?
[20:48:34] SCHAAP137: has joined #ruby
[20:50:45] pilne: sounds like word-for-word almost outta a review for sintatra/bourbon
[20:52:07] tier: has joined #ruby
[20:52:21] blackmes1: has joined #ruby
[20:52:35] shevy: ucarion in which language did that talk happen?
[20:53:14] hectortrope: has joined #ruby
[20:53:29] ucarion: shevy: you mean human language? English
[20:53:32] bruno-: has joined #ruby
[20:54:09] giuseppesolinas: has joined #ruby
[20:56:23] riotjones: has joined #ruby
[20:57:10] ttilley: has joined #ruby
[20:57:44] VeryBewitching: has joined #ruby
[20:58:35] bap1313: has joined #ruby
[20:59:24] minimalism: has joined #ruby
[20:59:30] chipotle: has joined #ruby
[21:00:15] Channel6: has joined #ruby
[21:01:51] haylon: What would I need to look into to be able to do something like, puts object.show_user("user01").auth_id ?
[21:02:00] haylon: if its even possible
[21:02:31] jhass: assign object to something that responds to show_user and returns something that responds to auth_id
[21:02:57] chichou: has joined #ruby
[21:03:22] JohnTheGreek: has left #ruby: ()
[21:03:42] jenrzzz_: has joined #ruby
[21:03:45] haylon: Ok, because I'm trying to think of a way to have another class that would take the user01, then display a struct value, auth_id
[21:03:49] haylon: Ok, thanks jhass
[21:05:15] blackmesa: has joined #ruby
[21:06:05] modern: has joined #ruby
[21:06:27] diegoaguilar: has joined #ruby
[21:07:25] ddv: haylon, why do you want to do that?
[21:08:46] dikaio: has joined #ruby
[21:08:50] pawnbox_: has joined #ruby
[21:09:09] yfeldblum: has joined #ruby
[21:11:12] paulcsmith: has joined #ruby
[21:11:18] pilne: what is this! formatted interpolation is beautiful (:
[21:12:16] p0wn3d__: has joined #ruby
[21:12:28] hahuang65: has joined #ruby
[21:13:47] ucarion: has joined #ruby
[21:13:48] pilne: i'm starting to think that out of the scripting languages, ruby is going to offer me the best balance of being able to program "functionally" while having a large selection of libraries (not, java/java-based are out of the question, every single one of them gives me a migrane LOL)
[21:14:22] baweaver: has joined #ruby
[21:14:31] pipework: pilne: weird opinion, but alright.
[21:14:43] lxsameer: has joined #ruby
[21:14:43] lxsameer: has joined #ruby
[21:14:56] pipework: Also, programming functionally in ruby only extends as far as code you write, because most other code won't be functional.
[21:15:20] pilne: i'm just trying to ease my transition from haskell, and it's packaging nightmare, to something with a more practical base and application.
[21:15:25] haylon: ddv, I'm playing around right now with getting a user's data, and saving it in a struct. there might also be multiple users inside that, and to retrieve an individual user, pass that parameter
[21:15:34] haylon: if that makes sense.
[21:15:43] pilne: I understand that, when i'm using someone elses' code, all i care about is that if it works, not if their brain works differently than mine (:
[21:15:51] ucarion: shevy: I had to step away for a second, did you find the talk? :)
[21:16:27] shevy: ucarion not really; ko1 is the only one to come to mind but the english of most japanese devs is so awful that I don't listen really
[21:17:22] pawnbox: has joined #ruby
[21:18:19] Coldblackice_: has joined #ruby
[21:19:00] ItSANgo: has joined #ruby
[21:19:05] petricore: has joined #ruby
[21:19:30] ucarion: shevy: hmm, doesn't seem to be there, but I think I'll look at Github repos of ruby devs, I might get lucky
[21:19:52] freerobby: has joined #ruby
[21:20:00] shevy: well it's a simple selection process
[21:20:07] shevy: there are only like 2 or 3 candidates with good english :D
[21:21:32] noethics: has joined #ruby
[21:21:57] dagda1_: has joined #ruby
[21:22:03] nfk: has joined #ruby
[21:23:55] ngscheur1: has joined #ruby
[21:25:11] neohunter: has joined #ruby
[21:25:12] ucarion: shevy: I don't think I saw the video of the talk, so I don't know how well the speaker spoke English
[21:25:17] EminenceHC: has joined #ruby
[21:26:46] davedev24: has joined #ruby
[21:27:19] shevy: don't know either, it may be Koichi Sasada, if not ... hmm
[21:27:48] nerium: has joined #ruby
[21:27:52] nerium: I need to test API wrapper implementation against a (yet) non existing API. Is there a way to set up a fake server to do this?
[21:28:23] nerium: Something more sofisicated then a sinatra server
[21:28:58] FernandoBasso: has joined #ruby
[21:30:39] tomphp: has joined #ruby
[21:31:57] dagda1: has joined #ruby
[21:32:24] coetry: has joined #ruby
[21:33:08] Ropeney: has joined #ruby
[21:33:24] djbkd_: has joined #ruby
[21:33:48] simplyianm: has joined #ruby
[21:35:08] sepp2k1: has joined #ruby
[21:38:10] solocshaw: has joined #ruby
[21:38:43] poguez_: has joined #ruby
[21:39:18] ucarion: has joined #ruby
[21:40:30] ItSANgo: has joined #ruby
[21:46:13] RTG`: has joined #ruby
[21:47:10] zenguy_pc: has joined #ruby
[21:50:42] phutchins: has joined #ruby
[21:54:19] ucarion: has joined #ruby
[21:56:34] baweaver: has joined #ruby
[21:57:08] riotjones: has joined #ruby
[21:58:43] htmldrum: has joined #ruby
[21:59:23] cantaberry: has joined #ruby
[22:01:53] sdothum: has joined #ruby
[22:03:32] devoldmx: has joined #ruby
[22:04:02] northfurr: has joined #ruby
[22:04:57] riceandbeans: is there a way to say, if any variable in this group of variables is equal to '', return?
[22:05:22] riceandbeans: in a pretty ruby way without a series of checks on multiple lines like I'd do it
[22:05:38] DanKnox: has joined #ruby
[22:07:29] bricker: has joined #ruby
[22:08:30] tier: has joined #ruby
[22:08:36] shevy: keep in array
[22:09:18] tkuchiki: has joined #ruby
[22:10:26] SCHAAP137: has joined #ruby
[22:11:41] bender_unit: has joined #ruby
[22:12:47] havenn: >> ['\o/', ':O', '>.>', ''].any? { |s| s == '' }
[22:12:48] ruboto: havenn # => true (https://eval.in/448113)
[22:13:04] riceandbeans: ok, but what if it's a series of variables?
[22:13:12] havenn: riceandbeans: example?
[22:13:17] riceandbeans: foo, bar, baz
[22:13:21] riceandbeans: can I just as well say....
[22:13:35] shevy: riceandbeans if you keep it in array, you can do all kind of queries on your collection
[22:14:00] havenn: riceandbeans: so an Array?
[22:14:00] riceandbeans: if [foo, bar, baz].any? { |s| s == ''} return end
[22:15:14] riceandbeans: or is that written wrong?
[22:15:34] riceandbeans: I mean, in my context, raise might be better
[22:16:14] riceandbeans: return would let the chef run continue and then it would have a null value trying to pass to a method
[22:16:38] riceandbeans: this...this is going to be weird
[22:16:39] i: has joined #ruby
[22:16:45] riceandbeans: I need to rethink this...thank you
[22:17:14] ramfjord: has joined #ruby
[22:17:15] ucarion: has joined #ruby
[22:17:30] dopie: has joined #ruby
[22:17:46] swgillespie: has joined #ruby
[22:18:25] fullofcaffeine: has joined #ruby
[22:18:51] baweaver: has joined #ruby
[22:19:25] yes`r: has joined #ruby
[22:20:36] shevy: always opt for simplicity if the path ahead of you is unclear
[22:21:35] diegoviola: has joined #ruby
[22:23:51] nerium: has joined #ruby
[22:26:58] azurepanther: has joined #ruby
[22:27:00] moeabdol: has joined #ruby
[22:29:20] pawnbox_: has joined #ruby
[22:30:25] EminenceHC: has joined #ruby
[22:30:58] pilne: has left #ruby: ()
[22:31:08] RegulationD: has joined #ruby
[22:31:49] roshanavand: has joined #ruby
[22:32:21] [k-: s.empty? is equivalent to s == ''
[22:32:50] casadei: has joined #ruby
[22:32:57] havenn: >> [{}].any? &:empty?
[22:32:58] ruboto: havenn # => true (https://eval.in/448119)
[22:33:41] [k-: that's why we should have types!
[22:34:01] djbkd_: has joined #ruby
[22:34:02] havenn: [k-: Or use: s == ''
[22:34:11] `tim`: has joined #ruby
[22:34:31] [k-: yorickpeterse would not be pleased
[22:35:12] nerium: has joined #ruby
[22:35:56] DEA7TH: I'm using multiple asserts in a test but they test for the same thing, is the way I'm doing it a good practice? https://gist.github.com/VelizarHristov/db1a2e42b837ee1339e5
[22:36:07] DEA7TH: should means test
[22:36:57] ucarion: has joined #ruby
[22:37:32] nateberkopec: has joined #ruby
[22:38:09] deepu: has joined #ruby
[22:38:16] DEA7TH: I figured that if each had its own test, they would be "variant 1", "variant 2", "variant 3", so that won't be useful anyway.
[22:38:23] riceandbeans: who is yorickpeterse
[22:38:48] DEA7TH: Although I might want to know whether variant 3 passes if variant 2 fails? but the cost will be more verbosity
[22:41:17] yorickpeterse: riceandbeans: me
[22:41:33] riceandbeans: yorickpeterse: you don't say
[22:41:41] yorickpeterse: [k-: I don't see how types would help with that example
[22:41:42] riceandbeans: why would you be unhappy though
[22:42:29] seal: has joined #ruby
[22:43:31] havenn: [k-: why would yorickpeterse be unhappy?
[22:43:37] fullofcaffeine: has joined #ruby
[22:43:41] baweaver: you're unhappy that you don't know why you should unhappy
[22:44:04] duncannz: has joined #ruby
[22:44:27] shevy: yorickpeterse is sad?
[22:44:42] acidrainfall: has joined #ruby
[22:44:58] acidrainfall: hey so, I'm trying to do a bundle install, and a gem requires >= 1.9.3
[22:45:06] acidrainfall: I have the ruby193 SCL package installed but how do I make Bundler use it??
[22:45:09] hal_9000: insert hamlet joke here
[22:45:09] tkuchiki: has joined #ruby
[22:45:11] n_blownapart: has joined #ruby
[22:45:13] ttilley: has joined #ruby
[22:45:37] yorickpeterse: hal_9000: like I haven't heard thos before
[22:45:52] yorickpeterse: "HA HA HA ALAS POOR YORICK I KNEW HIM WELL SO ORIGINAL"
[22:45:59] hal_9000: right, and i???ve never been asked to open the pod bay doors
[22:46:43] havenn: acidrainfall: sudo update-alternatives --config ruby
[22:46:55] acidrainfall: havenn: Why was that so hard to google for?
[22:46:56] yorickpeterse: hal_9000: thing is, you're using an actual nickname
[22:46:59] acidrainfall: I must have been asking the wrong question
[22:47:05] yorickpeterse: hal_9000: so you only have that problem on IRC
[22:47:17] hal_9000: yorickpeterse: Hal is my real name, I have it everywhere :)
[22:47:19] acidrainfall: hal_9000: yorickpeterse: It's ok, every starbucks barista ever thinks they're so clever comparing me to Mr. Kutcher.
[22:47:19] havenn: acidrainfall: It's a sekret.
[22:47:24] shevy: acidrainfall havenn is better than google
[22:47:25] acidrainfall: As though I've /neeeeeeever/ heard that one before
[22:47:29] acidrainfall: shevy: Clearly.
[22:47:35] havenn: acidrainfall: You might need to also: sudo update-alternatives --config gem
[22:47:36] acidrainfall: havenn: Can you just be around always?
[22:47:52] shevy: he is useless without coffee though, so don't ask anything when it is early morning in LA
[22:47:52] yorickpeterse: acidrainfall: eh?
[22:47:59] acidrainfall: My name is Ashton.
[22:48:04] havenn: I have better internet in my car than here at work with Time Warner.
[22:48:08] acidrainfall: I get a lot of Ashton Kutcher jokes.
[22:48:09] shevy: hahahahaha
[22:48:11] acidrainfall: Like they're so original.
[22:48:15] yorickpeterse: well, Starbucks barista's can barely spell names so what did you expect
[22:48:22] shoutsid06: has joined #ruby
[22:48:23] acidrainfall: havenn: ah yes, TW, the best.
[22:48:29] acidrainfall: Yeah the other day I got "Astor"
[22:48:30] yorickpeterse: "Name?" "Yorick, with ck" - cup says "Yorik"
[22:48:38] acidrainfall: Not even a lazy or bad spelling of Ashton, it was legitimately clearly "Astor"
[22:48:41] DanKnox: has joined #ruby
[22:48:42] acidrainfall: And this was a barista I KNOW
[22:48:54] yorickpeterse: acidrainfall: https://www.youtube.com/watch?v=hPbrlNsMTg4
[22:49:11] yorickpeterse: also the worst is people not getting my surname right anywhere
[22:49:17] acidrainfall: Is it peterse?
[22:49:21] acidrainfall: that's not a character cutoff?
[22:49:24] yorickpeterse: "Peterse, without an n at the end" "Ah, Petersen? OK" NO GOD DAMN IT
[22:49:36] hal_9000: hostess: ???Al???? ???No??? Hal, with an H.??? ???Al with an H? A-H-L????
[22:49:50] Shoutsid: has joined #ruby
[22:49:59] havenn: Dear Mr. Peter S. E. Yorik
[22:50:07] fullofcaffeine: has joined #ruby
[22:50:08] acidrainfall: hal_9000: HAHAHAHA
[22:51:07] yorickpeterse: I also sometimes get "Jorik"
[22:51:21] yorickpeterse: It's at a point where I just say "Yorick, with y and ck"
[22:51:31] yorickpeterse: honestly I should just call myself "Bob"
[22:51:43] havenn: Bob Peterson, done.
[22:51:53] DanKnox: has joined #ruby
[22:51:54] jhass: to bet Bop written on your cup?
[22:53:10] Thomas-0725: has joined #ruby
[22:54:03] jhass: bop is actually a nice name, you can flip it 180?? and still works
[22:54:18] jhass: sort of, I'm tired
[22:54:37] havenn: now mirror image it
[22:54:41] acidrainfall: havenn: http://fpaste.org/277291/43127014/
[22:54:45] acidrainfall: Didn't really ... seem to do it
[22:54:58] acidrainfall: This is embarassing for someone of my skill level with linux but I've actually never used alternatives before
[22:55:04] acidrainfall: I thought I did this right but apparently no
[22:55:07] havenn: acidrainfall: Did the first command show you multiple Rubies and you selected 1.9.3?
[22:55:12] acidrainfall: No, it didn't show me anything
[22:55:13] yorickpeterse: The worst part about my name are the people going "OH? THAT'S NOT A DUTCH NAME IS IT? WHERE'S IT FROM?"
[22:55:21] djbkd: has joined #ruby
[22:55:33] acidrainfall: yorickpeterse: I'm actually curious how it's pronounced.
[22:55:35] yorickpeterse: "GOD DAMN IT NAMES AREN'T BOUND TO COUNTRIES. IT'S A CELTIC NAME USED IN A VARIETY OF LANGUAGES. DO YOU EVEN GOOGLE BRA?"
[22:55:40] jhass: yorickpeterse: not any different for me
[22:55:48] eam: pet 'er see
[22:55:50] acidrainfall: jhass: Hass, like the avocado?
[22:55:52] yorickpeterse: at least if I remember correctly it's celtic
[22:55:59] acidrainfall: Funny story, I found out the Hass avocado was invented in my home town
[22:56:01] yorickpeterse: (Yorick, not peterse, that's a common Dutch family name)
[22:56:06] eam: acidrainfall: LA?
[22:56:07] jhass: acidrainfall: Ha?? actually, like the old german spelling of hate
[22:56:11] acidrainfall: eam: Whittier
[22:56:13] northfurr: has joined #ruby
[22:56:15] jhass: like in I hate you
[22:56:36] eam: oh like the rammstein song
[22:56:37] ellisTAA: has left #ruby: ()
[22:56:49] eam: j. j hass. j hass mich
[22:57:12] acidrainfall: This was not what I expected when I came in here. Color me pleasantly surprised.
[22:57:29] yorickpeterse: oh hey, Google translate actually does a good job at pronouncing my name
[22:57:33] jhass: not that they have any less trouble with my first name...
[22:57:40] yorickpeterse: https://translate.google.com/#nl/en/yorick%20peterse -> hit the speaker icon under the input text field
[22:57:46] eam: jhass: I bet the hass avacado inventor was german though
[22:57:55] jenrzzz: has joined #ruby
[22:57:58] riotjones: has joined #ruby
[22:58:18] eam: yeah, born in Milwaukee - definitely a german american
[22:58:37] jhass: "inventor"
[22:58:51] nateberkopec: has joined #ruby
[22:58:51] shevy: let's see... german names for US cities...
[22:58:58] eam: jhass: it's patented so it must be an invention right? ;-)
[22:59:13] jhass: eam: wikipedia says it's a random mutation, just cultivated
[22:59:20] eam: yeah it was, I'm joking
[22:59:23] shevy: omg... West-Frankfort, Illinois
[22:59:25] eam: our IP laws are absurd
[22:59:38] eam: shevy: WI is basically german immigrant central
[22:59:56] acidrainfall: http://www.californiaavocadosociety.org/motherhass.html
[22:59:59] acidrainfall: The first tree just died
[23:00:03] acidrainfall: And it was huge news apparently
[23:00:08] baweaver: has joined #ruby
[23:00:18] shevy: "THE MOTHER HASS TREE STORY"
[23:00:21] eam: https://en.wikipedia.org/wiki/German_American#/media/File:German1346.gif
[23:00:21] shevy: jhass ur mom is famous now!
[23:00:50] eam: coincidentally also where our auto industry was developed
[23:01:01] shevy: acidrainfall to never forget this epicness... "The original Hass tree died and was removed in the fall of 2002." made me sad
[23:01:13] shevy: eam detroit?
[23:01:15] yorickpeterse: we can now bully jhass about his mother being a tree
[23:01:24] eam: shevy: yeah detroit is nearby
[23:01:44] yorickpeterse: I guess his dad had a morning wood ( ???_???) ( ???_???)>??????-??? (??????_???)
[23:01:50] jhass: yorickpeterse: could be worse I guess
[23:01:57] speaking1ode: has joined #ruby
[23:02:04] workmad3: has joined #ruby
[23:02:07] yorickpeterse: lets hope jhass does not branch off the wrong path ( ???_???) ( ???_???)>??????-??? (??????_???)
[23:02:13] shevy: https://en.wikipedia.org/wiki/Leipsic
[23:02:25] shevy: 4 cities called Leipsic ... that's sick
[23:02:29] eam: shevy: detroit and milwaukee are just 600km apart -- so practically right next to each other
[23:02:39] acidrainfall: yorickpeterse: and hope the apple doesn't fall far from the tree. ( ???_???) ( ???_???)>??????-??? (??????_???)
[23:02:41] shevy: huh 600 km
[23:02:48] shevy: that's like almost longer than my country is!
[23:03:04] acidrainfall: Where do you live, the holy see?
[23:03:21] acidrainfall: I found out this week that Guam is 9 miles by 30 something miles
[23:03:28] chipotle: has joined #ruby
[23:03:28] acidrainfall: I was like damn, I could drive the perimiter in like 2 hours
[23:03:30] yorickpeterse: Austria isn't a country
[23:03:34] yorickpeterse: it's a German province in denial
[23:03:45] acidrainfall: yorickpeterse: Go ahead, use that logic on Taiwan, see what happens
[23:03:57] eam: shevy: my *state* is 1300km long
[23:04:21] acidrainfall: eam: I presume California.
[23:04:28] acidrainfall: We have 1351.8 KM of coastline!
[23:04:31] shevy: yorickpeterse nah, our languages keep us separate
[23:04:36] bricker: has joined #ruby
[23:04:42] eam: and it's good coastline too, not BS coastline like AK
[23:04:43] acidrainfall: shevy: speak with me if you want to live
[23:04:53] acidrainfall: AK has... coastline?
[23:04:57] yosiat: has joined #ruby
[23:04:57] acidrainfall: of what, puddles?
[23:05:00] yorickpeterse: shevy: separate because nobody understands it ???(???)???
[23:05:15] shevy: acidrainfall I need to code too! I need to write a PHILOSOPHY.md file next... and think about a ruby project that is growing and growing
[23:05:24] eam: acidrainfall: uh, like 75% of its perimiter is the ocean
[23:05:35] d2s: has joined #ruby
[23:05:48] eam: AK = alaska
[23:05:49] johnzorn_: has joined #ruby
[23:05:51] shevy: yorickpeterse it's quite similar to bavaria but totally different to northern germany
[23:05:54] acidrainfall: Shit I look stupid
[23:06:20] eam: it's ok I don't even know the shorthand for arkansas
[23:06:31] acidrainfall: shevy: hahaha
[23:06:38] d2s: Maybe ARGH? :)
[23:06:39] acidrainfall: Now that I think about it
[23:06:43] acidrainfall: I always think Alaska is AL
[23:06:45] acidrainfall: Which is Alabama
[23:06:51] acidrainfall: And come on, can you blame me for confusing them?
[23:06:59] eam: are alabama and arkansas not the same place?
[23:06:59] shevy: Alaska is prettier!
[23:07:19] d2s: Some difference in the weather, at least.
[23:07:35] yorickpeterse: Alaska is where that weirdo died in the bus out in the bush
[23:07:36] dopamean_: has joined #ruby
[23:07:37] acidrainfall: The people kinda detract from that
[23:07:48] porfa: has joined #ruby
[23:07:48] acidrainfall: yorickpeterse: Yeah, and like 20 people died trying to revisit his story
[23:07:52] acidrainfall: Like really, people are that stupid?
[23:07:56] eam: yorickpeterse: also where our government keeps the big mind control antennas
[23:08:03] yorickpeterse: eam: aren't those in every town?
[23:08:15] eam: https://en.wikipedia.org/wiki/High_Frequency_Active_Auroral_Research_Program
[23:08:38] acidrainfall: Yeah they have one outside my apartment complex shaped like a palm tree
[23:09:07] acidrainfall: Have a good weekend y'all
[23:09:11] eam: it'll only get you if you also drink the floruridated water
[23:09:28] leafybasil: has joined #ruby
[23:11:23] |ifei5g00d: has joined #ruby
[23:11:34] shevy: I just tried to report a bug for freetype... they made me go to that page ... https://savannah.nongnu.org/bugs/?group=freetype
[23:12:17] shevy: I thought I had an account... perhaps I forgot it... I tried to register for a new one... https://savannah.nongnu.org/account/register.php
[23:13:05] shevy: They said my 9 letter password was not good enough perhaps two times... the captcha also was wrongly solved ... upon failing to provide a proper password, the captcha will be different so I have to type it in again...
[23:13:15] shevy: at that point I gave up. Why can't they learn from github???
[23:13:49] eam: volunteer/committee driven orgs suffer from the same operational failings as government
[23:13:58] fullofcaffeine: has joined #ruby
[23:15:12] baweaver: has joined #ruby
[23:16:00] dvarrui: has joined #ruby
[23:17:03] EminenceHC: has joined #ruby
[23:20:39] nateberkopec: has joined #ruby
[23:21:26] ferz_: has joined #ruby
[23:23:10] Alazoral: has joined #ruby
[23:23:53] neanderslob: has joined #ruby
[23:24:10] chipotle: has joined #ruby
[23:26:14] Musashi007: has joined #ruby
[23:28:57] tier: has joined #ruby
[23:32:35] speaking1ode: has joined #ruby
[23:32:44] luckyme: has joined #ruby
[23:32:46] ucarion: has joined #ruby
[23:33:38] fullofcaffeine: has joined #ruby
[23:34:53] djbkd_: has joined #ruby
[23:35:50] fullofcaffeine: has joined #ruby
[23:37:51] sekrit: has joined #ruby
[23:38:05] Channel6: has joined #ruby
[23:40:18] leafybasil: has joined #ruby
[23:40:34] northfurr: has joined #ruby
[23:42:00] nateberkopec: has joined #ruby
[23:42:56] l_tonz: has joined #ruby
[23:44:01] csaunders: has joined #ruby
[23:44:03] pleiosaur: has joined #ruby
[23:48:08] hectortrope: has joined #ruby
[23:49:25] charliesome: has joined #ruby
[23:50:19] sanjayu: has joined #ruby
[23:50:38] fullofcaffeine: has joined #ruby
[23:51:06] bb010g: has joined #ruby
[23:53:07] jokke: has joined #ruby
[23:55:02] patdohere: has joined #ruby
[23:55:08] speaking1ode: has joined #ruby
[23:58:42] riotjones: has joined #ruby
[23:59:28] l_tonz: has joined #ruby