« Back to channel list

#ruby - 05 November 2017

« Back 1 day Forward 1 day »
[00:03:52] RickHull: https://gist.github.com/rickhull/76c6b6e09f1941db669d86ed7fd760ad :(
[00:05:06] swills_: has joined #ruby
[00:05:13] RickHull: is there some cmp_delta method for floats and ints?
[00:05:31] RickHull: float.close_to?(int, delta)
[00:06:16] apeiros: also told you how to go about it
[00:06:44] apeiros: and no, there's no built-in delta comparison. mostly because the delta in delta comparisons is case sensitive. there's no silver-bullet delta value.
[00:07:09] RickHull: it's pretty annoying to have to confirm a straightforward result with the inverse operation
[00:07:10] apeiros: (float - cmp).abs < DELTA
[00:07:28] RickHull: ugly, hax, whatever
[00:07:30] apeiros: uh, deal with it :-p
[00:07:43] apeiros: it may be annoying, but it's robust.
[00:07:57] RickHull: it's not a feature, IMHO
[00:07:58] apeiros: and robust >>>> a lot of "nice/beautiful/clever" things
[00:08:23] apeiros: but do tell if you find a more beautiful while similarly robust way
[00:08:42] apeiros: also, exp is much less expensive than log
[00:08:59] apeiros: and if you care about cost, do a divide loop
[00:09:03] jackjackdripper: has joined #ruby
[00:09:19] RickHull: yeah, I thought about that
[00:09:20] apeiros: rather, a divmod loop
[00:09:23] Technodrome: has joined #ruby
[00:09:37] RickHull: or if exp is cheap, just brute force it, heh
[00:09:40] elomatreb: Does it make sense to care about speed of operations like that in ruby?
[00:09:47] apeiros: if you ever have nonzero mod part, it's not exponentiable (is that a word)?
[00:09:52] RickHull: elomatreb: only in a navel-gazing way
[00:10:03] apeiros: elomatreb: as with all things, context dependent
[00:10:18] apeiros: but in all likeliness, Math.log will be faster than a divmod loop
[00:10:35] apeiros: for the simple reason of method call overhead being quite expensive in ruby
[00:11:10] mson: has joined #ruby
[00:11:15] RickHull: i am prioritizing cleanliness of expression, where confirming with the inverse is not clean
[00:11:19] apeiros: but if you care about speed, this kind of thing is at least relatively simple to translate into a C ext
[00:11:35] RickHull: but correctness uber alles
[00:11:37] alnewkirk: has joined #ruby
[00:12:02] mtkd: has joined #ruby
[00:12:34] apeiros: btw., what are you actually trying to solve?
[00:13:08] RickHull: kind of embarrassing. i want to print a binary tree, breadth first, with the root node in the first line
[00:13:42] RickHull: like, display it in a tree shape, not just visit the nodes
[00:14:04] Quentinius: has joined #ruby
[00:14:33] RickHull: it's much harder than I anticipated, though not conceptually difficult
[00:15:58] RickHull: given e.g. width 80, the first line should be like 35 spaces and then the root val
[00:16:28] RickHull: i don't care too much about 35 vs 40 even
[00:17:21] apeiros: RickHull: https://gist.github.com/apeiros/c0a01e81ff4addff048f0e6bf0f84dfe
[00:17:25] apeiros: better name welcome ;-)
[00:18:16] apeiros: uh, ok, so you need this method for formatting?
[00:19:08] RickHull: yeah, and/or general progress through the tree. for example, count all of the children slots at a given level
[00:19:15] [[thufir]]: has joined #ruby
[00:19:18] RickHull: make sure it's a power of 2, then that can give you the spacing
[00:19:38] RickHull: i could just assume the slot count is a power of 2
[00:19:55] mtkd: has joined #ruby
[00:20:12] apeiros: power of 2 are numbers with only first bit 1 and all others zero…
[00:20:14] cdg: has joined #ruby
[00:20:36] RickHull: bitwise i suppose it's a single 1
[00:20:52] RickHull: how do you know which is the "first bit" ? ;)
[00:21:13] apeiros: with ruby, any non-zero bit is the first bit
[00:21:24] charliesome: has joined #ruby
[00:21:39] RickHull: e.g.? i've used #pack to look at bits
[00:21:59] ruby[bot]: RickHull: # => 2 (https://eval.in/893075)
[00:22:07] apeiros: now pack it
[00:22:09] alfiemax: has joined #ruby
[00:23:13] apeiros: meh, pack/unpack is unhandy, to_s(2) is easier for this
[00:23:32] RickHull: hang on, i'm workin on it ;)
[00:23:47] apeiros: basically, num.to_s(2) =~ /\A10*\z/
[00:24:05] apeiros: and yes, that's waaaaaay more expensive :D
[00:24:12] apeiros: at least compared to a C divmod loop
[00:24:39] dopie: has joined #ruby
[00:25:04] RickHull: to circle back, when I am looking at integers, it's usually on a C-type boundary -- int4, int8, int16
[00:25:11] RickHull: and there are leading 0s present
[00:25:18] alnewkirk: has joined #ruby
[00:25:52] apeiros: mhm, and ruby's ints don't have a fixed size
[00:26:25] apeiros: so you either have infinite leading 1's for negative numbers, or a specific number of bits for positive numbers.
[00:26:39] apeiros: and when you pack/unpack you decide on a maximum size
[00:26:50] milardov_: has joined #ruby
[00:27:04] RickHull: if you have the bit string, on some byte boundary, you can just count the on bits. on_count == 1
[00:27:28] RickHull: anyways... point taken :)
[00:28:13] RickHull: though yeah, negative numbers gets into 2s complement right?
[00:29:44] eckhardt: has joined #ruby
[00:29:44] apeiros: ruby uses 2's complement, that's why infinite leading 1's
[00:30:48] apeiros: that's why -int.to_s(2) gives you "-xxxx"
[00:31:00] apeiros: and pack iirc uses "…1"
[00:34:00] RickHull: here's the last time I used pack in anger: https://github.com/rickhull/device_input/blob/master/lib/device_input.rb
[00:34:06] RickHull: would you do anything differently?
[00:43:41] alnewkirk: has joined #ruby
[00:47:03] nofxx: has joined #ruby
[00:47:32] elomatreb: apeiros: Oh god that regex solution should be illegal
[00:49:11] nofxx: has joined #ruby
[00:49:27] alveric2: has joined #ruby
[00:51:26] arescorpio: has joined #ruby
[00:51:58] apeiros: elomatreb: lol
[00:52:09] apeiros: elomatreb: you know about the regex to determine whether a number is prime? :D
[00:54:42] nicesignal: has joined #ruby
[00:55:20] apeiros: RickHull: at a glance - looks sane
[00:55:55] nofxx: isn't that 1 of the 7 million dollar math problems?
[00:57:02] nofxx: apeiros, kidding about the regex of course, but prime thing is one of them.. let me find
[00:57:18] elomatreb: You mean prime factorization, which is different from telling if a number is prime
[00:57:25] alnewkirk: has joined #ruby
[00:58:09] nofxx: elomatreb, hm, guess so... apeiros http://www.claymath.org/millennium-problems
[00:58:52] eightlimbed: has joined #ruby
[00:59:35] elomatreb: You mean the Riemann one or the P vs. NP one? Because both are sort-of relevant to this
[00:59:37] nofxx: elomatreb, will be P vs NP right?
[00:59:43] Dandi: has joined #ruby
[00:59:45] RickHull: Led Zeppelin made a song about the last one... D'yer Conject're
[00:59:58] elomatreb: nofxx: For factorization, yes
[01:00:31] Dandi: can i test ruby scripts using android s.o?
[01:01:45] Dandi: i would like to learn ruby
[01:02:07] millz: bless your soul if you program on an android device
[01:02:23] nofxx: Sistema Operacional in latin based langs, english and preceding adjetives, blergh... =P
[01:02:35] nofxx: Dandi, some kind of chrome laptop thing?
[01:02:43] nofxx: can't install linux on it?
[01:02:44] RickHull: Dandi: yeah, android is not a very friendly dev environment
[01:03:06] RickHull: usually things are developed on a desktop type machine, even if android is the target platform
[01:03:29] Dandi: i will use the computer
[01:04:07] RickHull: I wonder what is the most straightforward way to get e.g. irb on an android device
[01:04:17] Dandi: i work as a website developer but i need to know something of ruby
[01:04:41] nofxx: RickHull, I remember jailbreaking the iphone 2 or 3 just to irb.. never did anything with it
[01:04:48] apeiros: Dandi: https://github.com/ruboto/ruboto
[01:04:59] Dandi: thank you
[01:05:02] RickHull: Dandi: why are you looking at android?
[01:05:51] Dandi: because i am out many times ..... i take the train or bus for a long time
[01:06:09] RickHull: it has a keyboard?
[01:06:35] Dandi: i am from italy..... the train or bus are very sloow
[01:06:35] alnewkirk: has joined #ruby
[01:06:43] enterprisey: has joined #ruby
[01:06:54] RickHull: aside: I want to embed a cheap rpi / arm thing in my mechanical keyboard. and use a phone or tablet as a display
[01:07:47] nofxx: RickHull, shut up and take my money... mech keyboard with HDMI out?
[01:08:01] nofxx: good idea, seriously
[01:08:08] RickHull: also would need a li-ion battery
[01:08:28] RickHull: i know android devices also do some wireless display stuff
[01:08:50] Dandi: i seen on telegram an italian Channel to study ruby ...... Little things
[01:08:58] RickHull: the rpi thingie would likely run linux, not android
[01:09:20] nofxx: wouldn't trust that, hm...and you'll need another device problably ( at least to work with common lcd's)
[01:09:27] millz: my boss does code reviews and merge requests on his ipad
[01:09:34] millz: with one of those dinky keyboards attached
[01:10:30] RickHull: on a slow enough bus, i guess you could use a soft keyboard (barf)
[01:10:43] RickHull: RIP ur screen real estate
[01:12:05] Dandi: has left #ruby: ()
[01:12:18] RickHull: Dandi: I recommend to start with ruby on Linux, OSX, or Windows
[01:12:48] RickHull: and for a train/bus, look into a laptop. chromebook or something running android-like can work, maybe
[01:13:35] Emmanuel_Chanel: has joined #ruby
[01:13:57] RickHull: it's very painful to develop with a poor keyboard and small, loose display
[01:14:03] RickHull: a laptop can solve these problems
[01:20:20] alnewkirk: has joined #ruby
[01:20:59] cdg: has joined #ruby
[01:22:18] Cyrus: has joined #ruby
[01:23:23] RickHull: nofxx: a lot of the arm socs include HDMI, as of several years ago. I haven't paid much attention since
[01:24:12] RickHull: something like google glass for a display would be pimpin
[01:25:31] bkxd: has joined #ruby
[01:25:44] oetjenj: has joined #ruby
[01:34:06] alnewkirk: has joined #ruby
[01:35:57] Technodrome: has joined #ruby
[01:40:02] jottr: has joined #ruby
[01:43:40] memo1: has joined #ruby
[01:45:39] k3rn31: has joined #ruby
[01:47:22] dviola: has joined #ruby
[01:47:53] alnewkirk: has joined #ruby
[01:48:20] parky: has joined #ruby
[01:49:47] parky: has left #ruby: ()
[01:53:23] RickHull: apeiros: https://github.com/rickhull/compsci/blob/master/lib/compsci/tree.rb#L41 :)
[01:53:53] DTZUZO: has joined #ruby
[01:53:53] RickHull: also, my assertion count and assertions/sec went through the roof: https://github.com/rickhull/compsci/blob/master/test/tree.rb#L67
[01:54:46] RickHull: pretty dang fast on my vagrant VM. 12k assertions, 250k a/s
[01:56:55] govg: has joined #ruby
[01:58:15] dopie: has joined #ruby
[02:06:58] d^sh: has joined #ruby
[02:07:04] Swat2: has joined #ruby
[02:10:51] alnewkirk: has joined #ruby
[02:11:13] Swat2: salutations all... I'm wondering what the best way would be to write a function that has to pull a heap of rows out of a MSSQL database that has images stored, to save them as a physical image on the system with the image_id as it's filename. The data size could be quite large - maybe too big to fit in memory but constantly re-querying the database for each row appears to be slow and cumbersome.
[02:11:37] guacamole: has joined #ruby
[02:14:57] Freshnuts: has joined #ruby
[02:15:28] RickHull: images -- you mean a binary blob that represents the file contents of e.g. a photo?
[02:15:50] Swat2: RickHull: yes, precisely.
[02:16:51] Yzguy: has joined #ruby
[02:16:58] RickHull: it depends greatly on MSSQL and how you have it set up, I think
[02:17:18] elomatreb: I suspect there may be a way to tell the DB to dump the file directly
[02:17:57] RickHull: yeah, probably the most efficient would be some kind of internal stored proc
[02:18:01] Swat2: mmm problem is ... MSSQL is on one server, and where the result needs to be stored is far far away.
[02:18:05] RickHull: assuming you want to write files on the db server
[02:18:25] RickHull: if you are transferring binary blobs over the network, then that's probably the bottleneck
[02:18:53] Swat2: even simulated in a LAN environment w/ 10G uplinks, it's slow.
[02:19:23] RickHull: if you're IO bound, due to the simple magnitude of bits on the wire, it won't matter much how you get them
[02:20:20] RickHull: you might try the stored proc approach, write say 100 files to the db filesystem
[02:20:32] elomatreb: Naive way to deal with the fits-in-memory problem would be to page the result (LIMIT+OFFSET) into chunks that do fit
[02:21:00] RickHull: then upload those files to S3 or whatever, possibly transferring them off the db first if nec
[02:21:57] Swat2: maybe I need to tackle it the other way around like you suggest, extract the data to local, then scp/ftp/<insert file transfer operation here> to the remote server
[02:22:23] elomatreb: That seems like a sane choice, remote database connections in general are somewhat of codesmell usually
[02:22:24] RickHull: if you are IO bound, you'll want to be careful about saturating the db's network
[02:23:31] Swat2: RickHull: Thankfully the dbserver has two nics - one facing their internal environment and the dedicated to the remote environment
[02:24:09] Swat2: i've load tested the network and dont believe it's the bottleneck in this case.
[02:24:36] alnewkirk: has joined #ruby
[02:24:49] Swat2: it seems to be the delay in doing constant select queries and it having to wait for the result only then to be written out to disc
[02:25:24] Swat2: i guess i could try to batch it aswell
[02:25:43] PaulCape_: has joined #ruby
[02:26:38] RickHull: who is the selector?
[02:26:42] elomatreb: Doing it locally, paged/batched, and doing the upload to the remote separately seems like the best choice
[02:26:44] RickHull: some client box? or client on the db machine?
[02:26:55] RickHull: or -- the stored proc ;)
[02:27:03] elomatreb: (seperately as in parallel/async)
[02:27:34] bkxd: has joined #ruby
[02:27:41] Swat2: the far end is the selector, that is, the ruby code on the remote is pulling the data.
[02:27:47] RickHull: yeah, don't do that
[02:28:07] RickHull: get the bits onto the filesystem, with your actor as close to the db as possible
[02:28:23] RickHull: stored proc, ideally, but i know that can be a royal pain
[02:28:28] RickHull: or something like that
[02:28:32] elomatreb: Is this a recurring operation, or just a one-off script? Because this seems like a complicated and fragile design, if it's recurring
[02:28:36] Technodrome: has joined #ruby
[02:28:58] apparition: has joined #ruby
[02:29:20] Swat2: recurring. its a Sync script from a ERP type system to a ecommerce product.
[02:29:45] Swat2: doing it for a friend, because clearly I'm too nice for my own good.
[02:30:28] RickHull: gotta run, stranger things season 2 :)
[02:30:43] Swat2: heh, enjoy :)
[02:31:39] Swat2: elomatreb: the DB is the "source of truth" and the code overwrites the local copies if changed/new
[02:32:12] elomatreb: This seems to get into database replication territory, which is a really old and difficult problem
[02:32:49] Swat2: its more like a database translation
[02:33:01] Swat2: its going from MSSQL to MySQL
[02:33:22] apeiros: swat2: in case nobody mentioned it so far - don't forget to segment the ID to build a directory tree
[02:33:34] Swat2: apeiros: already done :)
[02:33:41] apeiros: couple of file systems deal badly with more than a couple of thousand files in one level
[02:33:57] Swat2: hehe yeah i'm aware of that ole' chestnut
[02:35:03] Immune: has joined #ruby
[02:35:04] Swat2: max 1000 items per folder
[02:35:47] Swat2: hah, that just gave me an idea
[02:35:56] Swat2: write out locally, rsync it up
[02:40:38] Swat2: cheers all
[02:40:50] jottr: has joined #ruby
[02:52:24] jxv: has joined #ruby
[02:56:32] gizmore|2: has joined #ruby
[02:58:23] Azure|dc: has joined #ruby
[03:01:03] guacamole: has joined #ruby
[03:03:09] alex``: has joined #ruby
[03:08:00] Dimik: has joined #ruby
[03:12:02] beerich: has joined #ruby
[03:15:10] _whitelogger: has joined #ruby
[03:18:24] Azure: has joined #ruby
[03:21:59] nofxx: has joined #ruby
[03:22:40] Technodrome: has joined #ruby
[03:23:57] charliesome: has joined #ruby
[03:24:09] bruce_lee: has joined #ruby
[03:24:47] charliesome_: has joined #ruby
[03:28:51] cdg: has joined #ruby
[03:32:48] charliesome: has joined #ruby
[03:32:56] milardovich: has joined #ruby
[03:34:19] charliesome__: has joined #ruby
[03:34:40] eightlimbed: has joined #ruby
[03:36:34] workmad3_: has joined #ruby
[03:40:55] Azure: has joined #ruby
[03:46:54] govg: has joined #ruby
[03:52:43] milardovich: has joined #ruby
[03:59:11] sucks: has joined #ruby
[04:02:42] darkmorph: has joined #ruby
[04:03:29] mim1k: has joined #ruby
[04:06:28] nofxx: has joined #ruby
[04:06:29] sucks: has joined #ruby
[04:09:27] SuperL4g: has joined #ruby
[04:11:09] charliesome: has joined #ruby
[04:12:12] jphase: has joined #ruby
[04:15:02] SuperLag: has joined #ruby
[04:20:58] eckhardt: has joined #ruby
[04:24:01] mjolnird: has joined #ruby
[04:26:14] shinnya: has joined #ruby
[04:29:44] sucks_: has joined #ruby
[04:30:11] sucks_: has joined #ruby
[04:35:43] blackbaba: has joined #ruby
[04:37:19] eightlimbed: has joined #ruby
[04:41:40] jottr: has joined #ruby
[04:43:32] uZiel: has joined #ruby
[04:43:33] [[thufir]]: has joined #ruby
[04:43:52] gix: has joined #ruby
[04:52:56] memo1: has joined #ruby
[04:59:15] eightlimbed: has joined #ruby
[05:04:08] jxv: has joined #ruby
[05:10:02] levifig: has joined #ruby
[05:33:53] milardovich: has joined #ruby
[05:37:37] bkxd: has joined #ruby
[05:43:49] milardovich: has joined #ruby
[05:45:14] eightlimbed: has joined #ruby
[05:51:15] bkxd: has joined #ruby
[06:03:59] mim1k: has joined #ruby
[06:07:11] uZiel: has joined #ruby
[06:07:30] DTZUZO: has joined #ruby
[06:07:58] nopoliti1: has joined #ruby
[06:14:21] milardovich: has joined #ruby
[06:18:12] _whitelogger: has joined #ruby
[06:20:06] blackbaba: has left #ruby: ("Closing Window")
[06:21:31] cam27: has joined #ruby
[06:34:44] milardovich: has joined #ruby
[06:37:57] apparition: has joined #ruby
[06:42:29] eightlimbed: has joined #ruby
[06:42:42] jottr: has joined #ruby
[06:45:42] michael1: has joined #ruby
[06:55:44] konsolebox: has joined #ruby
[06:58:16] apeiros: has joined #ruby
[07:14:41] Hexafox[I]: has joined #ruby
[07:17:31] oetjenj: has joined #ruby
[07:26:36] rippa: has joined #ruby
[07:29:23] cdg: has joined #ruby
[07:45:09] cdg: has joined #ruby
[07:45:52] milardovich: has joined #ruby
[07:47:26] guacamole: has joined #ruby
[07:49:43] jsilver: has joined #ruby
[07:50:39] kapil___: has joined #ruby
[07:59:02] milardovich: has joined #ruby
[08:00:28] banisterfiend: has joined #ruby
[08:04:27] mim1k: has joined #ruby
[08:14:57] cdg: has joined #ruby
[08:17:29] grumbler: has joined #ruby
[08:18:04] grumbler: Is there a chan on here that deals with rouge?
[08:19:38] jsilver: has joined #ruby
[08:19:58] enterprisey: has joined #ruby
[08:20:12] jsilver: has joined #ruby
[08:23:48] jsilver: has joined #ruby
[08:24:05] grumbler: has left #ruby: ()
[08:24:17] mtkd: has joined #ruby
[08:24:55] ltem: has joined #ruby
[08:26:37] banisterfiend: has joined #ruby
[08:32:53] cschneid_: has joined #ruby
[08:34:56] charliesome: has joined #ruby
[08:39:35] uZiel: has joined #ruby
[08:43:31] jottr: has joined #ruby
[08:45:36] milardovich: has joined #ruby
[08:46:39] claudiuinberlin: has joined #ruby
[08:50:14] gr33n7007h: has joined #ruby
[08:50:49] yqt: has joined #ruby
[08:51:58] dinfuehr: has joined #ruby
[08:52:10] jenrzzz: has joined #ruby
[08:52:10] jenrzzz: has joined #ruby
[09:01:42] VladGh: has joined #ruby
[09:13:26] Defenestrate: has joined #ruby
[09:13:27] Defenestrate: has joined #ruby
[09:13:39] mikecmpbll: has joined #ruby
[09:15:49] milardovich: has joined #ruby
[09:24:04] yabbes: has joined #ruby
[09:24:37] ju5t: has left #ruby: ()
[09:30:05] FahmeF_: has joined #ruby
[09:32:01] bkxd: has joined #ruby
[09:38:55] apeiros: has joined #ruby
[09:39:28] FahmeF: has joined #ruby
[09:41:39] ludova_: has joined #ruby
[09:46:36] uZiel: has joined #ruby
[09:51:16] remix2000: has joined #ruby
[09:58:10] biberu: has joined #ruby
[10:01:27] uZiel: has joined #ruby
[10:01:27] dhollin3: has joined #ruby
[10:04:51] quobo: has joined #ruby
[10:05:01] mim1k: has joined #ruby
[10:19:38] nadir: has joined #ruby
[10:20:32] apeiros: has joined #ruby
[10:22:10] zautomata: has joined #ruby
[10:29:06] jottr: has joined #ruby
[10:32:17] zapata: has joined #ruby
[10:34:21] cschneid_: has joined #ruby
[10:36:13] php_newbile: has joined #ruby
[10:37:04] r3QuiEm_cL: has joined #ruby
[10:37:26] yabbes: has joined #ruby
[10:38:33] php_newbile: Hello I'm trying to figure out what happens when a global variable it's defined inside a function, until I call the function the variable it's empty but referencing it does not give error, after function call it's defined but also assigned within a value, am I right? "But why the defined? ()"function gives empty string before function call and "global-variable" after?
[10:42:25] uZiel: has joined #ruby
[10:46:25] charliesome: has joined #ruby
[10:48:27] jpedro73: has joined #ruby
[10:48:45] milardovich: has joined #ruby
[10:49:10] apeiros: php_newbile: globals auto-vivify with nil
[10:49:20] apeiros: so they can be undefined but still safely used
[10:50:57] jpedro73: i'm a very newbie guy, i need help for installing visual rubby
[10:50:58] php_newbile: yes but it's defined or not? before function invocation?
[10:51:20] jpedro73: can you help me
[10:52:34] apeiros: it's not defined until first assignment or read
[10:53:32] InfinityFye: has joined #ruby
[10:55:54] r3QuiEm_cL: has joined #ruby
[10:56:11] guacamole: has joined #ruby
[10:57:38] alfiemax: has joined #ruby
[10:59:17] jpedro73: has joined #ruby
[11:01:04] SCHAPiE: has joined #ruby
[11:01:22] dionysus69: has joined #ruby
[11:01:48] jpedro73: someone can help me installing visual ruby? Install Glade for gtk3
[11:04:01] mim1k: has joined #ruby
[11:07:07] [[thufir]]: has joined #ruby
[11:11:10] Psybur: has joined #ruby
[11:11:14] oleo: has joined #ruby
[11:11:15] jpedro73: has joined #ruby
[11:13:04] jpedro73: has left #ruby: ()
[11:20:17] bkxd: has joined #ruby
[11:23:08] banisterfiend: has joined #ruby
[11:32:27] yqt: has joined #ruby
[11:40:26] jsilver: has joined #ruby
[11:44:31] apeiros: has joined #ruby
[11:48:39] banisterfiend: has joined #ruby
[11:51:16] charliesome: has joined #ruby
[11:51:42] tomphp: has joined #ruby
[11:54:37] Puffball: has joined #ruby
[11:55:23] jottr: has joined #ruby
[11:55:54] selim: has joined #ruby
[12:04:54] InfinityFye: has joined #ruby
[12:07:26] tomphp: has joined #ruby
[12:11:58] zautomata: has joined #ruby
[12:13:01] milardovich: has joined #ruby
[12:21:34] troulouliou_dev: has joined #ruby
[12:25:15] cdg: has joined #ruby
[12:26:49] zautomata: has joined #ruby
[12:33:15] _aeris_: has joined #ruby
[12:33:26] oddDball: has joined #ruby
[12:34:18] salih`: has joined #ruby
[12:36:12] salih`: i have actimodel serializer question is there correct place?
[12:36:19] oddDball: Is it OT to ask about a specific Ruby gem? I'm hoping to get some tips for speeding up prawn. 17 seconds for 20 pages (no PNGs, headers, footers, etc.) seems quite slow.
[12:36:52] oddDball: salih_: #rubyonrails would probably be better
[12:42:01] tomphp: has joined #ruby
[12:44:39] michael1: has joined #ruby
[12:45:41] veeti: has joined #ruby
[12:45:52] salih`: has left #ruby: ()
[12:49:25] ldepandis: has joined #ruby
[12:52:03] Technodrome: has joined #ruby
[12:52:25] apeiros: has joined #ruby
[12:53:24] dionysus69: has joined #ruby
[13:07:09] jphase: has joined #ruby
[13:08:30] bkxd: has joined #ruby
[13:09:19] GodFather: has joined #ruby
[13:12:15] nicesignal: has joined #ruby
[13:16:24] oded: has joined #ruby
[13:16:30] paranoicsan: has joined #ruby
[13:19:43] nowhereman: has joined #ruby
[13:29:31] cdg: has joined #ruby
[13:29:54] quobo: has joined #ruby
[13:32:16] cdg_: has joined #ruby
[13:35:30] Psybur: has joined #ruby
[13:36:47] oleo2: has joined #ruby
[13:38:16] happyface: has joined #ruby
[13:40:28] TvL2386: has joined #ruby
[13:43:56] michael1: has joined #ruby
[13:46:51] tomphp: has joined #ruby
[13:53:29] milardovich: has joined #ruby
[13:56:27] milardov_: has joined #ruby
[13:57:07] dopie: has joined #ruby
[13:57:13] alfiemax: has joined #ruby
[13:58:24] alfiemax_: has joined #ruby
[14:09:31] jpedro73: has joined #ruby
[14:09:48] |ifei5g00d: has joined #ruby
[14:10:19] tomphp: has joined #ruby
[14:10:21] hdeshev: has joined #ruby
[14:10:27] jpedro73: someone portuguese?
[14:10:29] johno84: has joined #ruby
[14:17:52] DLSteve: has joined #ruby
[14:32:42] jsilver: has joined #ruby
[14:33:15] jsilver: has joined #ruby
[14:35:25] dopie: has joined #ruby
[14:35:55] cschneid_: has joined #ruby
[14:36:57] jsilver: has joined #ruby
[14:39:27] jsilver: has joined #ruby
[14:40:53] jsilver: has joined #ruby
[14:44:45] darkmorph: has joined #ruby
[14:53:32] SCHAPiE: has joined #ruby
[14:54:33] ozzloy: has joined #ruby
[14:54:34] ozzloy: has joined #ruby
[14:55:14] michael1: has joined #ruby
[15:02:01] uZiel: has joined #ruby
[15:02:21] Technodrome: has joined #ruby
[15:04:02] InfinityFye: has joined #ruby
[15:05:00] Ryzokuken: has joined #ruby
[15:07:27] pilne: has joined #ruby
[15:07:32] xmiah1406: has joined #ruby
[15:09:49] xmiah1406: has joined #ruby
[15:10:36] InfinityFye: has joined #ruby
[15:14:43] JsilverT: has joined #ruby
[15:22:19] JsilverT: has joined #ruby
[15:24:39] tevio: has joined #ruby
[15:26:54] apeiros: has joined #ruby
[15:27:17] sucks: has joined #ruby
[15:28:47] JsilverT: has joined #ruby
[15:29:16] JsilverT: has joined #ruby
[15:32:32] hdeshev: has left #ruby: ("PONG :verne.freenode.net")
[15:35:17] dionysus69: has joined #ruby
[15:35:32] memo1: has joined #ruby
[15:37:19] hgost: has joined #ruby
[15:38:06] Mon_Ouie: has joined #ruby
[15:40:15] JsilverT: has joined #ruby
[15:43:37] uZiel: has joined #ruby
[15:48:07] JsilverT: has joined #ruby
[15:54:01] michael1: has joined #ruby
[15:56:18] mahlon_: has joined #ruby
[15:58:59] sucks: has joined #ruby
[15:59:22] s2013: has joined #ruby
[16:04:42] sucks: has joined #ruby
[16:04:47] halt: has joined #ruby
[16:06:07] Dandi: has joined #ruby
[16:06:21] Dandi: hi you all
[16:06:39] Dandi: i starting today to learn ruby
[16:07:48] Dandi: has left #ruby: ()
[16:08:16] darkmorph: has joined #ruby
[16:08:44] nowhereman: has joined #ruby
[16:09:44] nopolitica: has joined #ruby
[16:12:43] aiguuu: has joined #ruby
[16:17:06] dionysus69: has joined #ruby
[16:17:12] gigetoo: has joined #ruby
[16:18:58] orbyt_: has joined #ruby
[16:21:14] nowhereman: has joined #ruby
[16:23:37] ledestin: has joined #ruby
[16:26:01] cdg: has joined #ruby
[16:26:37] conta: has joined #ruby
[16:28:57] FahmeF: has joined #ruby
[16:30:06] mson: has joined #ruby
[16:31:25] Xiti: has joined #ruby
[16:36:32] cschneid_: has joined #ruby
[16:36:37] shinnya: has joined #ruby
[16:41:04] cdg: has joined #ruby
[16:42:06] kacper: has joined #ruby
[16:42:10] kacper_: has joined #ruby
[16:45:13] troys: has joined #ruby
[16:49:26] cam27: has joined #ruby
[16:50:06] kculpis: has joined #ruby
[16:54:28] nofxx: has joined #ruby
[16:55:17] chouhoulis: has joined #ruby
[16:59:19] zautomata: has joined #ruby
[17:02:41] michael1: has joined #ruby
[17:09:21] michael1: has joined #ruby
[17:39:55] cdg: has joined #ruby
[17:40:24] dminuoso: That was a short endeavour.
[17:40:45] apeiros_: has joined #ruby
[17:41:31] eightlimbed: has joined #ruby
[17:42:51] jamesaxl: has joined #ruby
[17:47:58] benlieb: has joined #ruby
[17:48:03] tomphp: has joined #ruby
[17:48:41] dopie: has joined #ruby
[17:49:19] michael1: has joined #ruby
[17:56:37] tomphp: has joined #ruby
[17:57:07] goyox86: has joined #ruby
[18:00:00] nikhgupta: has joined #ruby
[18:01:29] nikhgupta: hey. Any library that allows end-users to add dynamic conditionals in a form? e.g. `a` > 2 AND `b` < 4 (user is able to provide a, b, 2, 4, AND via form)?
[18:01:47] conta: has joined #ruby
[18:01:51] dminuoso: What is "a form" ?
[18:01:57] dminuoso: Are you talking about Ruby on Rails?
[18:02:27] nikhgupta: yeah, Rails is the underlying framework. But, I am not being specific here.
[18:02:32] dminuoso: ?rails nikhgupta
[18:02:32] ruby[bot]: nikhgupta: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[18:02:53] nikhgupta: Ok. I will check there once.
[18:03:28] Technodrome: has joined #ruby
[18:05:13] jottr: has joined #ruby
[18:05:19] moei: has joined #ruby
[18:12:17] michael1: has joined #ruby
[18:14:09] raynold: has joined #ruby
[18:15:26] RickHull: has joined #ruby
[18:18:22] govg: has joined #ruby
[18:20:51] dcluna: has joined #ruby
[18:22:45] minimalism: has joined #ruby
[18:31:40] uZiel: has joined #ruby
[18:33:40] jrabe: has joined #ruby
[18:35:55] alex``: has joined #ruby
[18:42:08] shoogz: has joined #ruby
[18:42:47] Technodrome: has joined #ruby
[18:49:11] Dimik: has joined #ruby
[18:50:08] tomphp: has joined #ruby
[18:53:10] JsilverT: has joined #ruby
[18:54:20] [[thufir]]: has joined #ruby
[19:00:16] guacamole: has joined #ruby
[19:01:59] TinkerTyper: has joined #ruby
[19:07:48] cam27: has joined #ruby
[19:12:29] ruby[bot]: -b AlisaLisa!*@*$#ruby-banned
[19:14:25] MrBismuth: has joined #ruby
[19:23:17] jrabe: has joined #ruby
[19:24:06] jrabe: has joined #ruby
[19:24:26] jrabe: has joined #ruby
[19:24:58] jrabe: has joined #ruby
[19:25:49] dviola: has joined #ruby
[19:25:54] jrabe: has joined #ruby
[19:27:42] Freshnuts: has joined #ruby
[19:28:16] nadir: has joined #ruby
[19:36:45] conta: has joined #ruby
[19:37:05] alfiemax: has joined #ruby
[19:39:51] cdg: has joined #ruby
[19:42:48] A124: has joined #ruby
[19:47:51] lamduh: has joined #ruby
[19:48:11] lamduh: Can someone explain to me how sidekiq provides a performance benefit? https://github.com/mperham/sidekiq/wiki/FAQ
[19:48:33] lamduh: The part I am struggling with is that if the background jobs are being run on the same machine how does that lessen the performance load on the box?
[19:49:02] mikecmpbll: lamduh : it doesn't. what gave you that impression? :)
[19:49:05] lamduh: Or is the primary benefit just to allow the method to be nonblocking and you don't actually net a benefit.
[19:49:35] mikecmpbll: plus the background jobs can be run anywhere.
[19:49:46] mikecmpbll: and everywhere
[19:49:47] lamduh: mikecmpbll, yeah I was about to follow up with that. Cool, so understanding it correctly I would rather use bunny or some other message broker that offloads the processing to another server if I wanted to get a performance gain?
[19:50:08] lamduh: yeah think you are confirming what I said
[19:50:25] mikecmpbll: no, you're suggesting that sidekiq workers have to run on the "same machine" (as something, the web app? idk)
[19:51:10] lamduh: so you do get a performance gain on the main web app because you send the jobs to another machine with a web request
[19:51:25] mikecmpbll: you can do. if that's what you choose to do.
[19:51:26] lamduh: the only difference between bunny and sidekiq then would be you dont have the overhead of a message queue
[19:52:01] mikecmpbll: sidekiq uses redis to store jobs
[19:52:14] mikecmpbll: i don't know much about bunny, but i'm sure the overheads are similar.
[19:52:25] RickHull: lamduh: sidekiq is for when you have "background jobs" -- it's not a performance enhancement if your problem doesn't look like this
[19:52:43] RickHull: lamduh: for example, visit a web page that kicks off a million emails
[19:52:59] RickHull: the web visitor doesn't want to wait for all the email sends to be acknowledged
[19:53:17] lamduh: right...I get that just trying to understand the difference between a message queueing solution with rabbitmq or the redis based solution with sidekiq
[19:53:32] lamduh: although it seems like redis would just be acting like a message queue
[19:53:57] RickHull: sidekiq is more about making choices about how this whole thing is managed
[19:54:00] dminuoso: lamduh: rabbitmq is something different again..
[19:54:12] dminuoso: sidekiq is basically a redis based job queue
[19:54:20] RickHull: you can't compare it to a general "queue solution with rabbitmq" unless you define what that is
[19:54:23] dminuoso: rabbitmq is a message broker
[19:54:35] dminuoso: Its like comparing quantum physics to a salat.
[19:54:49] lamduh: okay there is no way sending messages to redis to be consumed by worker processes on a different server is an entierly different thing than sending messages to rabbitmq to be consumed by workers on a different server
[19:55:02] zautomata: has joined #ruby
[19:55:10] RickHull: at the highest level, you can make an equivalency
[19:55:12] dminuoso: lamduh: Sure you can do that with sidekiq.
[19:55:15] RickHull: the devil is in the details
[19:55:20] dminuoso: lamduh: just set up the workers to run on a separate system.
[19:55:46] Yxhvd: has joined #ruby
[19:55:47] lamduh: sounds good thanks
[19:56:03] dminuoso: but its not "messages" that are consumed, its job tasks that are executed.
[19:56:09] dminuoso: (repeatedly if necessary)
[19:56:24] swills_: has joined #ruby
[19:56:35] dminuoso: if you dont have job semantics ("run this task tomorrow"), you probably dont need sidekiq
[19:56:47] jsrtr_: has joined #ruby
[19:56:58] admwrd_: has joined #ruby
[19:57:06] chihhsin_: has joined #ruby
[19:57:08] hien_: has joined #ruby
[19:57:16] milardovich: has joined #ruby
[19:57:25] lamduh: ah okay so that is a bit different...setting a time to run it than just consuming things isntantly off a queue...if you had rabbitmq you would proably consume the message and schedule the job separately
[19:57:26] sneep_: has joined #ruby
[19:58:01] wnd_: has joined #ruby
[19:58:04] lamduh: I was just talking to a friend that works at a big ruby startup yesterday and he brought up that they used sidekiq instead of bunny, but couldn't explain to me why
[19:58:13] dminuoso: lamduh: well sidekiq can also run stuff immediately if need be of course.
[19:58:23] lamduh: yeah I figured as much.
[19:58:25] dminuoso: but whether it actually does so depends on other tasks that are in the queue and availability of workers
[19:58:32] lamduh: just unsure if rabbitmq would ahve delayed execution built in
[19:58:33] dminuoso: its basically a job processing engine
[19:58:42] dminuoso: lamduh: you cannot compare these two, they are different things entirely
[19:59:03] RickHull: rabbitmq could be a component of what sidekiq does
[19:59:20] nyuszika7h_: has joined #ruby
[19:59:52] dminuoso: lamduh: rabbitmq has async communication. but its still something else.
[20:00:36] SuperChickeNES: has joined #ruby
[20:00:39] hr3f: has joined #ruby
[20:00:40] jsrn_: has joined #ruby
[20:00:41] lamduh: yeah async communication through message passing...but I think you are saying sidekiq is a job queue and rabbitmq is just a general broker for async communication that could be used to build a job scheduler.
[20:00:42] x0F_: has joined #ruby
[20:00:44] tnsi: has joined #ruby
[20:00:54] \13k_: has joined #ruby
[20:01:49] RickHull: pretty much
[20:02:37] rileyy_: has joined #ruby
[20:02:38] Zarthus_: has joined #ruby
[20:03:14] Elysia: has joined #ruby
[20:03:15] rx: has joined #ruby
[20:03:35] milardovich: has joined #ruby
[20:03:49] milardovich: has joined #ruby
[20:05:41] kitallisii: has joined #ruby
[20:05:41] reuf: has joined #ruby
[20:05:54] bmurt: has joined #ruby
[20:06:55] larissa_: has joined #ruby
[20:06:59] RickHull: just noticed something funny with rake
[20:07:14] RickHull: rake some_dir (in CWD)
[20:07:32] RickHull: it's a NOOP basically but doesn't complain about unknown task
[20:07:56] RickHull: is rake supposed to consider the dirs in CWD as legit targets?
[20:09:13] spectra-: has joined #ruby
[20:09:25] cosimo_: has joined #ruby
[20:11:33] RickHull: rake /tmp # what's the expected behavior?
[20:11:52] zautomata: has joined #ruby
[20:11:56] claw: has joined #ruby
[20:14:44] RickHull: rake /path/to/any/file # expected behavior?
[20:15:11] RickHull: seems pretty odd to me. I get e.g. "** Invoke /tmp/Rakefile (first_time, not_needed)" with --trace
[20:15:27] iNs: has joined #ruby
[20:16:24] RickHull: you get the expected error if the file doesn't exist: "Don't know how to build task '/tmp/Rakefile' (see --tasks)" (before I touch'd it)
[20:16:44] maxmanders: has joined #ruby
[20:16:44] bokayio: has joined #ruby
[20:16:46] mmasaki: has joined #ruby
[20:17:05] c-c: has joined #ruby
[20:18:48] DarkBushido: has joined #ruby
[20:18:49] DarkBushido: has joined #ruby
[20:19:14] coderphive: has joined #ruby
[20:19:56] RickHull: is there any doc or specification for what [targets] are supposed to be? https://ruby.github.io/rake/doc/command_line_usage_rdoc.html
[20:20:14] RickHull: I'm guessing it's thinking of a FileTask in my case?
[20:20:47] x0F: has joined #ruby
[20:20:50] RickHull: but I don't have any FileTasks in my Rakefile -- seems like a bug or misfeature
[20:21:22] alnewkirk: has joined #ruby
[20:21:48] imode: has joined #ruby
[20:22:32] cam27: has joined #ruby
[20:23:26] tomphp: has joined #ruby
[20:24:48] houhoulis: has joined #ruby
[20:26:17] ap4y: has joined #ruby
[20:27:46] tomphp_: has joined #ruby
[20:28:18] workmad3: has joined #ruby
[20:28:28] karapetyan: has joined #ruby
[20:29:06] RickHull: drbrain? anybody? I'm tempted to file an issue or source dive
[20:31:18] apeiros: has joined #ruby
[20:32:10] RickHull: looks like maybe #synthesize_file_task is responsible
[20:32:53] RickHull: yep. looks like a misfeature
[20:33:23] RickHull: https://github.com/ruby/rake/blob/master/lib/rake/task_manager.rb#L76
[20:33:59] marr: has joined #ruby
[20:34:24] dminuoso: ACTION is wondering whether RickHull is talking with someone on his ignore list
[20:34:45] RickHull: just me so far :(
[20:35:30] Technodrome: has joined #ruby
[20:36:24] RickHull: can anyone explain the rationale for: rake /path/to/any/existing/file_or_dir # why is this a NOOP?
[20:36:47] RickHull: in my case, I have task `report` and also a toplevel project dir `reports`
[20:36:58] RickHull: so when I run `rake reports` and get a NOOP it's pretty weird
[20:37:59] dminuoso: RickHull: Here's what's really happening
[20:38:00] cschneid_: has joined #ruby
[20:38:43] dminuoso: Nope, cant find an appopriate gif meme.
[20:39:30] dminuoso: RickHull: https://github.com/ruby/rake/commit/2de58bc9e1b1ab89564f160c58f768cefa736e70
[20:40:40] dminuoso: RickHull: This appears to be quite old. My best guess is, that nobody noticed or ever cared enough to change it.
[20:41:03] dminuoso: RickHull: What is the behavior if there is a file at that path?
[20:41:13] RickHull: it's a NOOP -- no error or anything
[20:41:23] dminuoso: "if there is a file at that path"
[20:41:25] RickHull: synthesize_file_task makes a FileTask wrapper for any file or dir that exists
[20:41:47] dminuoso: What is later done with that FileTask?
[20:42:01] RickHull: i assume it is executed, rather like a NOOP
[20:42:08] RickHull: as there is no actual task definition
[20:42:29] RickHull: see my #L76 above
[20:43:01] ur5us: has joined #ruby
[20:43:15] dminuoso: RickHull: Im looking at how file tasks work. I'd almost say that its obvious that it should be a noop
[20:43:29] RickHull: i'm saying there should be no FileTask in this case
[20:43:34] dminuoso: RickHull: as far as I can tell a file task would be skipped if the named file already exists.
[20:43:36] RickHull: rake should error
[20:43:55] Immune: has joined #ruby
[20:44:27] dminuoso: Don't know how to build task 'foo/blah.rb' (see --tasks)
[20:44:29] dminuoso: cant reproduce
[20:44:30] RickHull: I don't understand the rationale for #synthesize_file_task and I doubt the author considered the overall behavior
[20:44:40] RickHull: try: rake /tmp
[20:44:46] dminuoso: RickHull: of course that wont error.
[20:44:51] dminuoso: thats the entire point of file tasks.
[20:45:00] RickHull: if I've defined a filetask for /tmp, sure
[20:45:20] dminuoso: RickHull: but /tmp already exists.
[20:45:21] RickHull: why is creating a NOOP file task? it's surprising
[20:45:33] Lyubo1: has joined #ruby
[20:45:37] RickHull: so it's an error if it doesn't exist? but a NOOP if it does? why?
[20:45:46] RickHull: that's some goofy shit IMHO
[20:46:03] dminuoso: RickHull: it looks as if file tasks are meant as tasks "to produce a file XYZ"
[20:46:36] RickHull: more clearly: what is the point of #synthesize_file_task
[20:46:56] RickHull: why would it create a NOOP task? for what purpose?
[20:47:09] RickHull: the downside is my `rake reports` example
[20:47:14] RickHull: what's the upside?
[20:47:14] dminuoso: RickHull: https://ruby.github.io/rake/doc/rakefile_rdoc.html#label-File+Tasks
[20:47:18] dminuoso: RickHull: this behavior is quite clearly documented.
[20:47:32] RickHull: I must not be communicating clearly
[20:47:34] RickHull: i know what a file task
[20:47:40] RickHull: generally people put file tasks in their rakefile
[20:47:57] RickHull: if a rakefile has no file tasks, why is the rake executable creating NOOP file tasks? for what purpose?
[20:48:47] RickHull: what is the purpose of #synthesize_file_task ?
[20:48:51] dminuoso: Why dont you make an issue on github and find out?
[20:48:59] RickHull: in the middle of it :)
[20:51:08] michael1: has joined #ruby
[20:53:57] cschneid_: has joined #ruby
[20:54:50] Technodrome: has joined #ruby
[20:54:57] RickHull: https://github.com/ruby/rake/issues/234
[20:56:42] apeiros: has joined #ruby
[20:59:06] RickHull: ACTION holds breath
[20:59:32] dminuoso: Please keep on doing that until I get back at you.
[20:59:34] dminuoso: ACTION goes offline
[21:08:30] darkmorph: has joined #ruby
[21:09:55] milardovich: has joined #ruby
[21:10:11] milardovich: has joined #ruby
[21:11:57] s2013: has joined #ruby
[21:15:32] orbyt_: has joined #ruby
[21:17:06] hgost: has joined #ruby
[21:21:12] s2013: has joined #ruby
[21:28:27] Technodrome: has joined #ruby
[21:31:49] MochaLoca: has joined #ruby
[21:32:29] GodFather: has joined #ruby
[21:39:15] mlehrer: has joined #ruby
[21:45:48] goyox86: has joined #ruby
[21:45:54] texasmynsted: has left #ruby: ("WeeChat 1.9")
[21:49:30] Psybur: has joined #ruby
[21:49:51] |ifei5g00d: has joined #ruby
[21:50:52] oblak: has joined #ruby
[21:51:00] majoh_: has joined #ruby
[21:51:00] minimalism: has joined #ruby
[21:51:15] seanh: has joined #ruby
[21:51:17] vayan: has joined #ruby
[21:51:18] guacamole: has joined #ruby
[21:51:19] colstrom: has joined #ruby
[21:51:20] jmhmccr: has joined #ruby
[21:51:23] craysiii: has joined #ruby
[21:51:23] ewilliam_____: has joined #ruby
[21:51:26] ReinH: has joined #ruby
[21:51:28] zipkid: has joined #ruby
[21:51:30] skmp: has joined #ruby
[21:51:34] Guest67616: has joined #ruby
[21:51:36] schaary: has joined #ruby
[21:51:43] Yonk: has joined #ruby
[21:51:44] raynold: has joined #ruby
[21:51:44] mostlybadfly: has joined #ruby
[21:51:45] deimos: has joined #ruby
[21:51:49] charles81_: has joined #ruby
[21:52:20] |ifei5g00d: has joined #ruby
[21:52:27] Meow-J: has joined #ruby
[21:55:40] Lyubo1: has joined #ruby
[21:55:49] syndikate: has joined #ruby
[21:55:50] bokayio: has joined #ruby
[21:56:02] seitensei: has joined #ruby
[21:57:57] [[thufir]]1: has joined #ruby
[22:01:31] troulouliou_dev: has joined #ruby
[22:01:33] [[thufir]]1: has left #ruby: ()
[22:04:04] jdawgaz: has joined #ruby
[22:05:39] dkam_: has joined #ruby
[22:07:19] GodFather: has joined #ruby
[22:10:27] hgost: has left #ruby: ("Textual IRC Client: www.textualapp.com")
[22:10:54] swills: has joined #ruby
[22:12:29] RickHull: what's the deal with digest/bubblebabble/bubblebabble.c ?
[22:12:50] RickHull: http://ruby-doc.org/stdlib-2.4.0/libdoc/digest/rdoc/Digest/MD5.html "In Files"
[22:15:27] elomatreb: IIRC bubblebabble is an encoding format for binary data (like base64), but designed to be human readable (as in, read out loud)
[22:16:15] jottr: has joined #ruby
[22:16:15] elomatreb: >> require "digest"; Digest::SHA256.bubblebabble 'message'
[22:16:16] ruby[bot]: elomatreb: # => undefined method `bubblebabble' for Digest::SHA256:Class (NoMethodError) ...check link for more (https://eval.in/893472)
[22:16:27] elomatreb: >> require "digest/bubblebabble"; Digest::SHA256.bubblebabble 'message'
[22:16:28] ruby[bot]: elomatreb: # => "xopoh-fedac-fenyh-nehon-mopel-nivor-lumiz-rypon-gyfot-cosyz-rimez-lolyv-pekyz-rosud-ricob-surac-tox ...check link for more (https://eval.in/893473)
[22:16:43] tomphp: has joined #ruby
[22:17:28] RickHull: it's interesting that Digest::MD5 only "shows up" in that file. I doubt that's actually the case
[22:18:23] elomatreb: Yeah that's probably just rdoc being wonky
[22:19:13] jdawgaz: has joined #ruby
[22:20:15] RickHull: no ruby infrastructure can escape my eye of sauron
[22:21:25] RickHull: anyone got any good ideas for this? https://github.com/ruby/rake/issues/214#issuecomment-342010547
[22:21:50] RickHull: one distasteful idea would be to e.g. put .md5 files on the filesystem
[22:22:47] RickHull: otherwise maybe .checksums.yaml ?
[22:27:26] Tagami[m]: has joined #ruby
[22:28:00] elomatreb: I stored them in a pstore file when I did something like that once
[22:28:45] workmad3: has joined #ruby
[22:35:24] cdg: has joined #ruby
[22:37:12] Psybur: has joined #ruby
[22:37:16] mattp_: has joined #ruby
[22:40:25] z3uS: has joined #ruby
[22:41:29] cdg: has joined #ruby
[22:42:43] johno84: has joined #ruby
[22:44:11] mattp_: has joined #ruby
[22:44:31] s2013: has joined #ruby
[22:46:55] RickHull: oh yeah, I remember that little gem
[22:47:11] RickHull: https://www.krautcomputing.com/blog/2015/09/21/rubys-built-in-databases-meet-pstore-and-yamlstore/
[22:47:31] RickHull: I can't remember if I looked at these before making https://github.com/rickhull/dotcfg
[22:50:44] dtzuzu: has joined #ruby
[22:52:33] Hanma[m]: has joined #ruby
[22:52:33] M107262[m]: has joined #ruby
[22:52:33] watzon: has joined #ruby
[22:52:33] lasenna[m]: has joined #ruby
[22:52:34] dtcristo: has joined #ruby
[22:52:34] torarne: has joined #ruby
[22:52:34] yana[m]: has joined #ruby
[22:52:34] jonjits[m]: has joined #ruby
[22:52:34] aviraldg: has joined #ruby
[22:52:34] velu_aon[m]: has joined #ruby
[22:52:34] astronavt[m]: has joined #ruby
[22:52:34] Orbixx[m]: has joined #ruby
[22:52:34] Giphy[m]: has joined #ruby
[22:52:35] haylon: has joined #ruby
[22:52:35] dman[m]: has joined #ruby
[22:52:35] KevinMGranger: has joined #ruby
[22:52:35] turt2live: has joined #ruby
[22:52:40] aagdbl[m]: has joined #ruby
[22:52:42] Matt[m]2: has joined #ruby
[22:52:42] kua[m]: has joined #ruby
[22:52:42] itmerc[m]: has joined #ruby
[22:52:42] zalipuha[m]: has joined #ruby
[22:52:42] gokul_mr[m]: has joined #ruby
[22:54:22] GodFather: has joined #ruby
[22:54:55] cschneid_: has joined #ruby
[23:02:10] mattp_: has joined #ruby
[23:06:02] thinkpad: has joined #ruby
[23:09:02] lxsameer: has joined #ruby
[23:19:19] cam27: has joined #ruby
[23:23:06] MochaLoca: has joined #ruby
[23:24:31] justache: has joined #ruby
[23:25:34] ap4y: has joined #ruby
[23:25:37] shinnya: has joined #ruby
[23:28:23] charliesome: has joined #ruby
[23:31:56] mattp_: has joined #ruby
[23:32:59] alnewkirk: has joined #ruby
[23:34:59] dopie: has joined #ruby
[23:35:53] jdawgaz: has joined #ruby
[23:37:22] nowhereman: has joined #ruby
[23:39:20] jdawgaz: has joined #ruby
[23:42:26] |ifei5good: has joined #ruby
[23:43:32] jottr: has joined #ruby
[23:46:34] alnewkirk: has joined #ruby
[23:53:07] |ifei5g00d: has joined #ruby
[23:54:35] LocaMocha: has joined #ruby
[23:55:25] GodFather: has joined #ruby
[23:56:11] rhyselsmore: has joined #ruby