« Back to channel list

#ruby - 26 March 2019

« Back 1 day Forward 1 day »
[00:02:12] themsay: has joined #ruby
[00:27:45] mangold: has joined #ruby
[00:33:26] fredolinhares: has joined #ruby
[00:36:08] ruby-lang200: has joined #ruby
[00:36:46] ruby-lang200: i search how i can install rvm and redmine
[00:37:21] ruby-lang200: i have write a tuto but, i can't see redmine with my browser, i get a 403 forbidden.
[00:37:37] ruby-lang200: https://wiki.visionduweb.fr/index.php?title=Installer_Redmine_sur_Debian_avec_RVM#Installation
[00:40:34] ammar: has joined #ruby
[00:46:23] fredolinhares: has joined #ruby
[00:59:07] wsmoak_: has joined #ruby
[00:59:58] wsmoak: has joined #ruby
[01:00:46] Tharbakim: has joined #ruby
[01:00:46] Tharbakim: has joined #ruby
[01:02:30] cnsvc: has joined #ruby
[01:05:41] AJA4351: has joined #ruby
[01:05:59] polishdub: has joined #ruby
[01:10:31] orbyt_: has joined #ruby
[01:21:28] jrafanie: has joined #ruby
[01:24:05] havenwood: ruby-lang200: An Apache configuration problem, I'd reckon. What version of Apache are you on?
[01:24:34] havenwood: ruby-lang200: Missing a "Require all granted", maybe?
[01:25:10] ruby-lang200: havenwood: hi
[01:25:33] havenwood: ruby-lang200: I'd suggest closely comparing with Passenger's latest docs for Apache: https://www.phusionpassenger.com/library/deploy/apache/deploy/ruby/#deploying-an-app-to-a-virtual-host-s-root
[01:25:45] ruby-lang200: it's possible but apache 2.4 can use old config. I look my apache version
[01:26:25] havenwood: From the Passenger docs it looks like you're supposed to `Require all granted` with Apache > 2.4
[01:26:45] havenwood: ruby-lang200: https://www.phusionpassenger.com/library/admin/apache/troubleshooting/ruby/#apache-reports-a-403-forbidden-error
[01:26:46] ruby-lang200: apache2: Installé : 2.4.25-3+deb9u6 Candidat : 2.4.25-3+deb9u6
[01:27:32] havenwood: ruby-lang200: Well, you have "Allow from all" so check your ownership and permissions for the app dir.
[01:28:20] havenwood: Is everything 403ing? You might want to try the #passenger channel.
[01:28:50] Lytol: has joined #ruby
[01:29:10] havenwood: Fun with Apache configurations!
[01:29:35] ruby-lang706: has joined #ruby
[01:29:49] ruby-lang706: then see #passenger channel
[01:30:00] ruby-lang706: ok, i'm not sur if my install is good.
[01:30:18] ruby-lang706: I have use a french tutoriel, and, test install with debian stable.
[01:54:05] esrse: has joined #ruby
[01:57:08] orbyt_: has joined #ruby
[02:06:49] takesi: has joined #ruby
[02:09:23] cnsvc: has joined #ruby
[02:11:25] Swyper: has joined #ruby
[02:11:35] Swyper_: has joined #ruby
[02:27:43] nones: has joined #ruby
[02:28:28] Synthead: has joined #ruby
[02:28:53] Synthead: I want to modify sources for a gem and have bundle compile it as-is
[02:28:58] Synthead: Is there a way I can do that?
[02:34:36] SuperLag: has joined #ruby
[02:37:07] Swyper: has joined #ruby
[02:45:12] Tempesta: has joined #ruby
[02:48:27] mangold: has joined #ruby
[02:53:47] keden: has joined #ruby
[03:06:56] m27frogy: has joined #ruby
[03:15:14] t0xik: has joined #ruby
[03:15:41] t0xik: im learning ruby right now , and im curious, is there a continue; or goto; in ruby?
[03:25:00] Swyper: has joined #ruby
[03:36:03] baweaver: t0xik: No. What do you think you need it for?
[03:41:46] Synthead: has joined #ruby
[03:43:38] evdubs: t0xik, maybe "next", "break", and "redo" will help? https://ruby-doc.org/core-2.6.1/doc/syntax/control_expressions_rdoc.html
[03:45:51] evdubs: t0xik, depending on what you're doing (like processing a list of elements), it might be "better code style" to use things like filter (called select in ruby), map, and, reduce
[03:47:39] m27frogy: has joined #ruby
[04:03:11] m27frogy: has joined #ruby
[04:07:23] t0xik: evdubs: thx!
[04:07:40] t0xik: i knew there had to be a continue equivalent
[04:10:08] t0xik: too bad we cant break out of a large nested set of loops with a "goto label;" which fair warning is the only reason to use goto's
[04:10:13] braincrash: has joined #ruby
[04:16:14] evdubs: curiously, what's your use case for large nested loops?
[04:19:08] laaron-: has joined #ruby
[04:21:17] baweaver: ^ that. It's called the XY problem, you want a specific solution and fixate on that when another solution may be available t0xik
[04:22:50] t0xik: evdubs: its a normal thing todo in the c language, which was my first language.
[04:23:28] t0xik: using a goto , to exit a set of loops without having to break through each one
[04:24:17] t0xik: its rare but , i was just curious. as i was reading "book of ruby"
[04:24:57] baweaver: Most of the time you use methods from Enumerable
[04:26:13] baweaver: Name a use case from C where you would use a goto and we can show you a method from Ruby to do the same
[04:27:30] t0xik: i just gave your a use case...
[04:27:53] ruby[bot]: havenwood: I don't see no 292, whom should I tell about xkcd?
[04:28:26] havenwood: t0xik: what are the loops doing?
[04:28:47] havenwood: https://xkcd.com/292/
[04:28:52] t0xik: and why would you think there would be a method to exit loops when loops are not an object
[04:29:13] havenwood: t0xik: the suggestion is more that you could be using something other than loops
[04:30:04] havenwood: t0xik: we can show you how to use goto, or catch a throw, but you'd likely be better off solving the problem without those
[04:30:33] havenwood: if you can think of a good example case where you'd use goto, we could propose alternatives
[04:31:14] havenwood: &>> catch(:t0xik) { loop { loop { loop { throw :t0xik, 42 } } } }
[04:31:20] rubydoc: # => 42 (https://carc.in/#/r/6l3q)
[04:38:35] Swyper: has joined #ruby
[04:44:47] havenwood: t0xik: loop is an object, in the sense that it's a method
[04:44:51] havenwood: &>> method(:loop).class.superclass
[04:44:51] rubydoc: # => Object (https://carc.in/#/r/6l3r)
[04:45:10] havenwood: t0xik: but methods can have side effects on things other than their receiver
[04:45:46] havenwood: so loop doesn't have to be a method for a method to effect it
[04:50:23] xco: has joined #ruby
[04:56:42] Tau: has joined #ruby
[05:07:53] i1nfusion: has joined #ruby
[05:16:26] ur5us: has joined #ruby
[05:43:15] xpika: has joined #ruby
[05:44:08] alem0lars: has joined #ruby
[06:00:40] sauvin: has joined #ruby
[06:07:59] reber: has joined #ruby
[06:10:48] insu: has joined #ruby
[06:15:39] conta: has joined #ruby
[06:22:09] laaron: has joined #ruby
[06:26:06] nowhere_man: has joined #ruby
[06:29:28] UncleCid__: has joined #ruby
[06:33:07] pwnd_nsfw: has joined #ruby
[06:38:51] ferr: has joined #ruby
[06:48:06] Emmanuel_Chanel: has joined #ruby
[07:03:02] lido: has joined #ruby
[07:10:39] schleppel: has joined #ruby
[07:27:35] grr12314: has joined #ruby
[07:33:30] dinfuehr_: has joined #ruby
[07:36:47] hahuang6-: has joined #ruby
[07:38:19] suukim: has joined #ruby
[07:39:00] za1b1tsu: has joined #ruby
[07:42:41] dinfuehr: has joined #ruby
[07:44:53] Nowaker: has joined #ruby
[07:45:33] salasrod: has joined #ruby
[07:53:07] esrse: has joined #ruby
[08:01:17] clemens3: has joined #ruby
[08:01:19] claudiuinberlin: has joined #ruby
[08:04:40] cd: has joined #ruby
[08:08:10] aufi: has joined #ruby
[08:17:28] TomyWork: has joined #ruby
[08:19:11] kapil____: has joined #ruby
[08:24:20] lido: any can give me a hint with aws chef ?
[08:24:26] lido: it complains
[08:24:31] lido: Error executing action `create` on resource 'remote_file[/tmp/rubygems-2.2.2.tgz]'
[08:24:36] lido: No such file or directory - /usr/local/bin/gem
[08:25:06] lido: /usr/local/bin/gem actually exits
[08:30:01] lxsameer: has joined #ruby
[08:31:26] andikr: has joined #ruby
[08:36:47] longshi: has joined #ruby
[08:46:32] ur5us: has joined #ruby
[08:49:39] dionysus69: YAML.dump(hash) is equivalent to hash.to_yaml right?
[08:50:39] mikecmpbll: has joined #ruby
[08:52:42] al2o3-cr: dionysus69: yeah, to_yaml just wraps YAML.dump
[08:53:01] grr12314: has left #ruby: ()
[08:53:20] tbuehlmann: dionysus69: https://github.com/ruby/ruby/blob/v2_6_2/ext/psych/lib/psych/core_ext.rb#L12-L14
[08:59:15] conta: has joined #ruby
[09:00:12] Ai9zO5AP: has joined #ruby
[09:01:12] dhollin3: has joined #ruby
[09:20:05] xpika: has left #ruby: ()
[09:26:47] _joes_: has joined #ruby
[09:30:51] za1b1tsu: has joined #ruby
[09:40:23] jottr: has joined #ruby
[09:46:07] lele: has joined #ruby
[09:46:40] v01d4lph4: has joined #ruby
[09:58:18] kyrylo: has joined #ruby
[10:01:36] sagax: has joined #ruby
[10:02:42] _joes_: has joined #ruby
[10:02:49] nowhere_man: has joined #ruby
[10:05:34] Doow: has joined #ruby
[10:14:12] stooj: has joined #ruby
[10:36:21] ellcs: has joined #ruby
[10:36:22] laaron: has joined #ruby
[10:36:32] themsay: has joined #ruby
[10:38:06] mangold: has joined #ruby
[10:41:11] za1b1tsu: has joined #ruby
[10:46:59] Ai9zO5AP: has joined #ruby
[10:47:52] apparition: has joined #ruby
[11:06:42] jottr: has joined #ruby
[11:06:56] conta: has joined #ruby
[11:13:12] aupadhye: has joined #ruby
[11:14:31] def_jam: has joined #ruby
[11:14:37] eblip: has joined #ruby
[11:19:59] yield: has joined #ruby
[11:22:22] _joes_1: has joined #ruby
[11:28:31] crankharder: has joined #ruby
[11:28:41] garyserj: has joined #ruby
[11:32:59] kke: Thread.pass until threads.none?(&:alive?) <-- eats all the cpu. sleep 0.1 until threads.none?(&:alive?) <-- does not eat the cpu.
[11:34:03] stryek: has joined #ruby
[11:35:39] xco: has joined #ruby
[11:38:46] ldnunes: has joined #ruby
[11:39:15] kke: 0.1 of course is a long time in this time of technology
[11:40:04] bmurt: has joined #ruby
[11:42:13] beefjoe: has joined #ruby
[11:45:23] txdv: has joined #ruby
[11:46:01] ec: has joined #ruby
[11:46:37] KnownSyntax: has joined #ruby
[11:49:42] AJA4350: has joined #ruby
[11:56:21] meinside: has joined #ruby
[12:05:40] i1nfusion: has joined #ruby
[12:07:04] yield: has joined #ruby
[12:19:34] jottr_: has joined #ruby
[12:27:09] gb_away: has joined #ruby
[12:46:33] aupadhye: has joined #ruby
[12:52:43] AJA4351: has joined #ruby
[13:07:32] themsay: has joined #ruby
[13:11:45] themsay: has joined #ruby
[13:12:05] ammar: has joined #ruby
[13:26:32] naught-fowl: has joined #ruby
[13:29:07] ammar: has joined #ruby
[13:29:28] ammar: has joined #ruby
[13:30:23] russt: has joined #ruby
[13:35:24] griffindy: has joined #ruby
[13:39:44] longshi: has joined #ruby
[13:54:27] jrafanie: has joined #ruby
[13:54:39] aupadhye: has joined #ruby
[13:55:59] _joes_: has joined #ruby
[13:58:58] lucasb: has joined #ruby
[14:05:17] pwnd_nsfw`: has joined #ruby
[14:07:45] cedm: has joined #ruby
[14:16:52] cedm: has left #ruby: ("Leaving")
[14:17:37] Rapture: has joined #ruby
[14:19:16] crankharder: has joined #ruby
[14:19:31] mostlybadfly: has joined #ruby
[14:24:05] nowhere_man: has joined #ruby
[14:26:47] spacesuitdiver: has joined #ruby
[14:34:31] grilix_: has joined #ruby
[14:37:50] laaron: has joined #ruby
[14:39:56] crankharder: has joined #ruby
[14:47:08] robotcars: has joined #ruby
[14:51:25] _joes_: has joined #ruby
[14:51:43] Inline: has joined #ruby
[14:55:06] mangold: has joined #ruby
[14:56:10] nowhere_man: has joined #ruby
[14:56:22] AJA4350: has joined #ruby
[15:05:59] i1nfusion: has joined #ruby
[15:06:47] Swyper: has joined #ruby
[15:07:02] InfinityFye: has joined #ruby
[15:09:46] InfinityFye: has left #ruby: ()
[15:12:55] tdy: has joined #ruby
[15:14:21] rippa: has joined #ruby
[15:18:14] grilix_: has joined #ruby
[15:21:31] wald0: has joined #ruby
[15:23:30] crankharder: has joined #ruby
[15:26:25] mangold: has joined #ruby
[15:28:04] orbyt_: has joined #ruby
[15:29:14] crankharder: has joined #ruby
[15:33:12] blunckr: has joined #ruby
[15:50:31] grilix: has joined #ruby
[15:51:33] _joes_: has joined #ruby
[15:52:35] Tau: has joined #ruby
[15:53:06] ldnunes: has joined #ruby
[15:55:27] themsay: has joined #ruby
[15:56:01] polishdub: has joined #ruby
[16:02:43] wsmoak: has joined #ruby
[16:04:49] Swyper: has joined #ruby
[16:06:29] themsay: has joined #ruby
[16:12:34] aupadhye: has joined #ruby
[16:19:59] Swyper: has joined #ruby
[16:20:03] orbyt_: has joined #ruby
[16:20:25] conta: has joined #ruby
[16:24:45] Swyper: has joined #ruby
[16:25:54] orbyt_: has joined #ruby
[16:28:33] ryouba: i'm trying to inherit from CSV, do something before CSV.parse, then call CSV.parse, but it's not working ... what am i doing wrong? https://gist.github.com/sixtyfive/0d2135ea1f30cffa3780078381e79f19
[16:32:02] adam12: ryouba: You likely want CSV.read.
[16:33:26] ryouba: thank you adam12!
[16:33:35] ryouba: yes, that was it
[16:33:40] ryouba: ACTION slaps himself
[16:33:47] claudiuinberlin: has joined #ruby
[16:35:53] poguez_: has joined #ruby
[16:35:57] adam12: ryouba: lol. sneaky method names are sneaky.
[16:39:41] ryouba: that's a nice way of looking at it :)
[16:40:46] laaron: has joined #ruby
[16:42:10] gnufied: has joined #ruby
[16:56:12] zachk: has joined #ruby
[16:57:30] laaron: has joined #ruby
[16:58:17] zachk: has joined #ruby
[17:00:50] laaron: has joined #ruby
[17:01:25] crankharder: has joined #ruby
[17:04:40] whathappens: has joined #ruby
[17:12:32] ryouba: wrt https://stackoverflow.com/questions/2650517/count-the-number-of-lines-in-a-file-without-reading-entire-file-into-memory ... is `wc -l` seriously the recommended fastest way of getting the number of lines in a file? o_O
[17:14:50] Swyper: has joined #ruby
[17:15:11] mnemon: it's definitely faster than doing it in ruby
[17:16:03] ryouba: interesting
[17:16:08] ryouba: *shrug*, then
[17:16:32] conta: has joined #ruby
[17:17:25] Renich_: has joined #ruby
[17:17:59] cnsvc: has joined #ruby
[17:19:24] adam12: ryouba: One of the answers (the one that calls f.getc) is _kinda_ similar to the C implementation (at least the FreeBSD one https://github.com/freebsd/freebsd/blob/master/usr.bin/wc/wc.c). You could benchmark them and see which perform better.
[17:21:36] _joes_: has joined #ruby
[17:21:59] havenwood: ryouba: parallel with wc would be faster yet for that particular problem, or hadoop even
[17:24:20] Synthead: has joined #ruby
[17:25:23] havenwood: ryouba: it's pretty fast to just: File.open(filename).sum { 1 }
[17:25:57] havenwood: ryouba: it's not going to beat a multi-process, tailored approach - if speed is essential
[17:27:41] adam12: havenwood: nice trick with sum { 1 }.
[17:27:52] havenwood: adam12: tyty!
[17:28:19] havenwood: adam12: i felt a little guilty about not closing the file ;)
[17:28:36] ryouba: havenwood: i didn't understand ... "parallel with wc"?
[17:28:53] al2o3-cr: i conclude this is the fastest: File.read(foo).each_line.count
[17:29:40] za1b1tsu: has joined #ruby
[17:29:59] ytti: i belive that'll read entire file to memory
[17:30:00] adam12: al2o3-cr: Indeed!
[17:30:44] havenwood: ryouba: I mean the GNU Parallel command: https://www.gnu.org/software/parallel/parallel_tutorial.html
[17:31:25] al2o3-cr: computer come with enough memory now, i mean come on
[17:31:27] havenwood: ryouba: it's for executing other commands in parallel
[17:33:37] al2o3-cr: wc -l is fast enough, how fast do you want it?
[17:33:48] havenwood: al2o3-cr: ALL THE CORES!
[17:34:10] Swyper: has joined #ruby
[17:34:22] havenwood: al2o3-cr: To create heat so my hands don't ache.
[17:34:31] al2o3-cr: ah, haha ;)
[17:36:32] ryouba: havenwood: oh, okay! never heard of that ... *reads*
[17:38:15] robotcars: http://www.rankfocus.com/use-cpu-cores-linux-commands/
[17:41:32] ytti: al2o3-cr, my point is, it'll be slow on large files
[17:42:32] al2o3-cr: ytti: oh sure.
[17:42:37] ytti: al2o3-cr, coimparedto something like File.foreach(filename).reduce(0) { |sum, _| sum+1 }
[17:43:44] al2o3-cr: ytti: File.foreach(filename).count
[17:43:52] ytti: fair enough
[17:47:34] al2o3-cr: anyway `wc -l` from ruby will damn slow.
[17:48:42] ytti: it offends my aesthethics too
[17:53:37] gix: has joined #ruby
[17:55:41] grilix: has joined #ruby
[17:58:36] crankharder: has joined #ruby
[17:59:00] cow[moo]: has joined #ruby
[18:04:53] Devalo: has joined #ruby
[18:08:35] htc^: has joined #ruby
[18:09:08] Swyper: has joined #ruby
[18:11:22] Swyper: has joined #ruby
[18:13:09] orbyt_: has joined #ruby
[18:20:26] GreyHame: has joined #ruby
[18:20:28] graft: wc -l from ruby will almost definitely be faster than anything involving ruby reading and scanning strings
[18:20:54] graft: in fact i would place money on it without doing any research
[18:23:46] aupadhye: has joined #ruby
[18:24:53] baweaver: It is, by about 10x graft
[18:24:57] baweaver: I was curious so I looked.
[18:25:39] baweaver: I kinda wonder if that holds up in TruffleRuby
[18:26:09] baweaver: havenwood: `wc -l` vs `File.open(...).foreach.count` in TruffleRuby?
[18:26:24] baweaver: Don't have it installed on the work computer, should probably fix that
[18:26:35] agent_white: has joined #ruby
[18:28:36] adam12: Anyone seen a way to simulate ARGF? (single stream of endless File objects)
[18:30:23] Devalo: has joined #ruby
[18:30:43] adam12: Actually nm. I thought it was lazy but ARGF.read just reads in everything.
[18:32:42] mikecmpbll: has joined #ruby
[18:32:42] al2o3-cr: baweaver: prove it
[18:34:11] ryouba: shouldn't CSV be capable of reading in lines that have all non-empty fields quoted with some of the fields containing newlines and the end of a row having a windows line-ending?
[18:34:47] ryouba: (it's giving "/usr/lib64/ruby/2.6.0/csv/parser.rb:273:in `parse': Do not allow except col_sep_split_separator after quoted fields in line 1. (CSV::MalformedCSVError)")
[18:35:50] Devalo: has joined #ruby
[18:36:17] agent_white: has joined #ruby
[18:37:09] al2o3-cr: baweaver: ?
[18:37:11] gell5: has joined #ruby
[18:37:46] al2o3-cr: also, foreach on a file desc.
[18:38:05] al2o3-cr: i want to see figures.
[18:39:03] claudiuinberlin: has joined #ruby
[18:39:28] al2o3-cr: wc -l is ~10x slower on my machine
[18:41:52] Tempesta: has joined #ruby
[18:43:47] al2o3-cr: we are talking about `` or %x() here yeah?
[18:44:09] al2o3-cr: so creating a subshell and all.
[18:45:10] al2o3-cr: graft: you anything to add?
[18:45:42] al2o3-cr: and i'll bet you too! how much?
[18:48:55] livcd: has joined #ruby
[18:50:21] cd: has joined #ruby
[18:50:27] mostlybadfly: has joined #ruby
[18:51:23] zachk: has joined #ruby
[18:57:17] brool: has joined #ruby
[18:58:12] RedSnarf: has joined #ruby
[19:06:03] Lytol: has joined #ruby
[19:08:20] jmcgnh: has joined #ruby
[19:09:23] Devalo: has joined #ruby
[19:09:31] AJA4350: has joined #ruby
[19:13:46] aupadhye: has joined #ruby
[19:21:49] Devalo: has joined #ruby
[19:34:05] Devalo: has joined #ruby
[19:35:06] ryouba: can someone take a look at https://gist.github.com/sixtyfive/ee0d1cf2878e2a36f2216e4ffefa0b66 ? CSV is being so goddamn stubborn :-(
[19:36:38] hiroaki: has joined #ruby
[19:37:42] Zarthus: ryouba: gist actually has csv detection, and tells you what is wrong
[19:37:55] jmcgnh: has joined #ruby
[19:38:02] Zarthus: ryouba: (in this case, a " is missing in ABSCHLUSS)
[19:38:49] neuraload: has joined #ruby
[19:56:08] immortalinode: has joined #ruby
[19:57:43] al2o3-cr: ryouba: pass as options issue 66; liberal_parsing: {double_quote_outside_quote: true})
[19:59:28] postmodern: has joined #ruby
[20:00:51] nowhere_man: has joined #ruby
[20:03:46] clemens3: has joined #ruby
[20:04:58] mochiyoda: has joined #ruby
[20:07:24] orbyt_: has joined #ruby
[20:08:12] akem: has joined #ruby
[20:09:33] reber: has joined #ruby
[20:09:38] Deesl: has joined #ruby
[20:11:22] al2o3-cr: ryouba: CSV.read('test.csv', liberal_parsing: {double_quote_outside_quote: true})
[20:15:03] orbyt_: has joined #ruby
[20:17:26] Tempesta: has joined #ruby
[20:17:26] Tempesta: has joined #ruby
[20:18:28] AJA4350: has joined #ruby
[20:19:12] al2o3-cr: ryouba: ???????????????
[20:22:51] crankharder: has joined #ruby
[20:24:24] cgfbee: has joined #ruby
[20:25:53] al2o3-cr: ryouba: Здравейте
[20:27:43] ryouba: al2o3-cr: sorry, got called away from the computer
[20:28:17] ryouba: al2o3-cr: and, hello!
[20:29:47] ryouba: Zarthus: there's two newlines, then the "missing" '"' is on the next line ... i think al2o3-cr saw it
[20:30:36] i1nfusion: has joined #ruby
[20:30:52] livcd: has joined #ruby
[20:31:44] Zarthus: i always thought csv was newline delimited
[20:31:46] Zarthus: fancy that
[20:31:49] ryouba: al2o3-cr: that still gives "/usr/lib64/ruby/2.6.0/csv/parser.rb:276:in `parse': Unquoted fields do not allow \r or \n in line 3. (CSV::MalformedCSVError)"
[20:32:01] Nicmavr: has joined #ruby
[20:32:11] ryouba: Zarthus: it's been years since i've seen something like this
[20:32:27] ryouba: it *should* work ... i mean, libreoffice makes it work without effort
[20:32:29] Zarthus: may the next case be many years from now too :)
[20:32:40] ryouba: heck yeah
[20:32:53] ryouba: this is the first time ruby's CSV library is letting me down
[20:33:10] Zarthus: i would say throwing an exception is expected in this case ;)
[20:33:16] Zarthus: just my personal opinion
[20:33:51] Devalo: has joined #ruby
[20:36:42] Devalo: has joined #ruby
[20:38:50] ur5us: has joined #ruby
[20:43:58] ryouba: my personal opinion is that if libreoffice blows ruby out of the water something's not right
[20:46:31] Devalo: has joined #ruby
[20:51:34] Swyper: has joined #ruby
[20:58:44] kyrylo: has joined #ruby
[20:59:33] Swyper: has joined #ruby
[21:01:22] nucc: has joined #ruby
[21:05:57] Devalo: has joined #ruby
[21:06:20] al2o3-cr: ryouba: check the options out
[21:07:34] al2o3-cr: pretty sure they'll be one
[21:08:22] al2o3-cr: someone owes me a bet anyway!!!!
[21:10:27] orbyt_: has joined #ruby
[21:14:01] SeepingN: has joined #ruby
[21:19:10] Fernando-Basso: has joined #ruby
[21:23:24] _joes_: has joined #ruby
[21:28:52] ellcs: has joined #ruby
[21:34:23] al2o3-cr: &>> %w(a b c d e).zip([Object.new].cycle)
[21:34:26] rubydoc: # => [["a", #<Object:0x000055b95f418ca0>], ["b", #<Object:0x000055b95f418ca0>], ["c",... check link for more (https://carc.in/#/r/6laj)
[21:37:11] al2o3-cr: &>> (a b c d e).zip([Object.new].cycle).map { |m, o| o.send o } rescue 2
[21:37:13] rubydoc: # => 2 (https://carc.in/#/r/6laq)
[21:40:25] Devalo: has joined #ruby
[21:44:39] djdduty: has joined #ruby
[21:47:20] ryouba: https://github.com/csvreader/docs/blob/master/sorry-sorry-sorry.md
[21:49:29] ryouba: that guy sure has some anger
[22:02:37] ryouba: attitude or no attitude ... *his* shit works
[22:11:06] bmurt: has joined #ruby
[22:19:19] nowhere_man: has joined #ruby
[22:24:26] livcd: has joined #ruby
[22:32:39] mostlybadfly: has joined #ruby
[22:36:38] al2o3-cr: has joined #ruby
[22:37:47] tdy: has joined #ruby
[22:40:47] Swyper: has joined #ruby
[22:43:21] bambanx: has joined #ruby
[22:54:58] Renich_: has joined #ruby
[22:54:59] Devalo: has joined #ruby
[22:55:21] ryouba: gnight ruby
[23:00:28] ruby[bot]: has joined #ruby
[23:00:28] ChanServ: +o ruby[bot]
[23:03:05] spacesuitdiver: has joined #ruby
[23:05:59] ivanskie: has joined #ruby
[23:06:13] ur5us: has joined #ruby
[23:10:32] cgfbee: has joined #ruby
[23:12:29] zeroquake: has joined #ruby
[23:17:42] zeroquake: Hey , i have hash like xyz = {:something : [1 , 2, 3, 4]} , if i want combine those values to a string "1234" , how can i do that without changing the value of xyz
[23:19:23] k0mpa: has joined #ruby
[23:21:19] baweaver: &ri Enumerable#transform_values
[23:21:20] rubydoc: Found no entry that matches class Enumerable instance method transform_values
[23:21:27] baweaver: &ri Hash#transform_values
[23:21:28] rubydoc: https://ruby-doc.org/core-2.6/Hash.html#method-i-transform_values
[23:27:49] asat: has joined #ruby
[23:28:10] asat: anyone related to bootstrap-sass in here?
[23:28:45] asat: my coworker just found some awful code pushed out: https://github.com/twbs/bootstrap-sass/issues/1195
[23:29:01] asat: and whoever did it yanked the other 3.2.0.* versions of the gem
[23:32:57] SeepingN: wow. don't use that gem!
[23:36:48] lupine: dependencies. not even once.
[23:37:35] asat: i've also tried the bootstrap slack but it seems even less active than irc
[23:41:13] AJA4350: has joined #ruby
[23:48:10] Swyper: has joined #ruby
[23:48:11] nucc: has joined #ruby
[23:56:35] FastJack: has joined #ruby
[23:57:05] azta: has joined #ruby
[23:58:00] Swyper: has joined #ruby
[23:58:15] Swyper_: has joined #ruby