« Back to channel list

#ruby - 26 December 2017

« Back 1 day Forward 1 day »
[00:02:21] jenrzzz: has joined #ruby
[00:06:48] johno84: has joined #ruby
[00:18:57] darkhanb: has joined #ruby
[00:30:28] jxv: has joined #ruby
[00:30:56] TomyLobo: has joined #ruby
[00:32:25] rrutkowski: has joined #ruby
[00:35:02] shinnya: has joined #ruby
[00:37:12] rrutkowski: has joined #ruby
[00:37:45] jxv: has joined #ruby
[00:39:08] jnyw: has joined #ruby
[00:47:02] Jameser: has joined #ruby
[00:50:54] millerti: has joined #ruby
[00:52:50] mjago: has joined #ruby
[00:53:05] Vapez: has joined #ruby
[00:57:00] c0ncealed: has joined #ruby
[00:59:53] hy: has joined #ruby
[01:06:52] mjolnird: has joined #ruby
[01:07:41] alfiemax: has joined #ruby
[01:07:51] m_antis: has joined #ruby
[01:16:14] jenrzzz: has joined #ruby
[01:16:14] jenrzzz: has joined #ruby
[01:26:28] kristian_on_linu: has joined #ruby
[01:28:36] minimalism: has joined #ruby
[01:31:11] kristian_on_linu: I'm using jekyll and jekyll-scholar ... but I get this error: https://paste.ee/p/W0KqX
[01:31:50] kristian_on_linu: this is with jekyll-scholar in my Gemfile ... if I remove it from there, I get an error that it is missing ... but it is not!
[01:34:04] meesles: has joined #ruby
[01:36:37] jnyw: has joined #ruby
[01:41:50] kristian_on_linu: let me know if you need more info
[01:44:31] k0mpa: has joined #ruby
[01:52:54] jenrzzz: has joined #ruby
[01:56:39] zwliew: has joined #ruby
[01:56:59] johnny56: has joined #ruby
[01:59:55] giraffe: has joined #ruby
[02:00:45] tpendragon: has joined #ruby
[02:03:25] Azure: has joined #ruby
[02:13:45] jenrzzz: has joined #ruby
[02:14:27] jeffreylevesque: has joined #ruby
[02:22:22] jenrzzz: has joined #ruby
[02:22:22] jenrzzz: has joined #ruby
[02:24:03] jeffreylevesque_: has joined #ruby
[02:25:13] herbmillerjr: has joined #ruby
[02:27:27] jeffreylevesque: has joined #ruby
[02:32:22] gizmore: has joined #ruby
[02:32:37] armyriad: has joined #ruby
[02:37:04] Jameser: has joined #ruby
[02:37:24] elphe: has joined #ruby
[02:38:49] rivalomega: has joined #ruby
[02:39:42] aesthetikx: has joined #ruby
[02:43:36] christiandsg: has joined #ruby
[02:43:50] coderphive: has joined #ruby
[02:45:09] Lara: has left #ruby: ()
[02:49:52] cadillac_: has joined #ruby
[02:52:04] elphe: has joined #ruby
[02:54:43] jeffreylevesque: has joined #ruby
[03:00:16] cadillac_: has joined #ruby
[03:08:22] elphe: has joined #ruby
[03:10:31] herbmillerjr: has joined #ruby
[03:12:13] alfiemax: has joined #ruby
[03:26:27] konsolebox: has joined #ruby
[03:33:44] elphe: has joined #ruby
[03:33:50] c0dy: has joined #ruby
[04:03:48] Mia: has joined #ruby
[04:03:48] Mia: has joined #ruby
[04:05:48] havenwood: kristian_on_linu: "jekyll-sholar" looks like a typo with the missing "c"
[04:05:56] havenwood: kristian_on_linu: Merry Christmas!
[04:06:08] havenwood: kristian_on_linu: hi!
[04:06:15] kristian_on_linu: but it still does not work, lol
[04:06:23] havenwood: kristian_on_linu: what's the new problem?
[04:07:33] jamesaxl: has joined #ruby
[04:07:43] alfiemax: has joined #ruby
[04:07:49] twrk: has joined #ruby
[04:11:33] duderonomy: has joined #ruby
[04:11:46] gix-: has joined #ruby
[04:12:30] kristian_on_linu: okay, when I try to build I get " Liquid Exception: Unknown tag 'bibliography' in publications.md"
[04:12:45] kristian_on_linu: but, scholar works just fine everywhere else
[04:15:59] DTZUZO: has joined #ruby
[04:16:53] kristian_on_linu: "bundle show jekyll-scholar" gives me "Could not find gem 'jekyll-scholar'." ... but it IS installed (and working in other jekyll instances)
[04:22:44] kristian_on_linu: I tried running the Gemfile, but had to delete the gemspec file
[04:23:33] safetypin: has joined #ruby
[04:29:03] kristian_on_linu: hurm, now it works
[04:44:30] jeffreylevesque: has joined #ruby
[04:45:44] KeyJoo: has joined #ruby
[04:55:39] alfiemax: has joined #ruby
[05:08:29] anisha: has joined #ruby
[05:16:22] t0adst00l: has joined #ruby
[05:27:53] rippa: has joined #ruby
[05:32:10] rivalomega: has joined #ruby
[05:34:56] rivalomega: has joined #ruby
[05:36:06] izaac: has joined #ruby
[05:38:09] aupadhye: has joined #ruby
[05:38:15] t0adst00l: has joined #ruby
[05:45:05] c0ncealed: has joined #ruby
[05:51:05] s2013: has joined #ruby
[05:56:49] t0adst00l: has joined #ruby
[06:10:32] iamarun: has joined #ruby
[06:16:19] t0adst00l: has joined #ruby
[06:18:12] graaff: has joined #ruby
[06:24:39] rivalome_: has joined #ruby
[06:28:25] alfiemax: has joined #ruby
[06:32:36] prometheus_falli: has joined #ruby
[06:36:02] nadir: has joined #ruby
[06:45:37] rivalomega: has joined #ruby
[06:45:48] mobarmeg: has joined #ruby
[06:50:07] s2013: has joined #ruby
[06:52:36] rabajaj: has joined #ruby
[07:04:37] t0adst00l: has joined #ruby
[07:06:30] rivalomega: has joined #ruby
[07:06:38] alfiemax: has joined #ruby
[07:08:27] oleo: has joined #ruby
[07:12:17] Xiti: has joined #ruby
[07:12:36] t0adst00l: has joined #ruby
[07:13:18] dionysus69: has joined #ruby
[07:20:10] kies: has joined #ruby
[07:22:56] Rr4sT: has joined #ruby
[07:23:23] dionysus69: nofxx: can you please summarize specialty of Tangle architecture for me? I would like to port something interesting to ruby, I would learn lots in process ^.^
[07:24:00] prometheus_falli: has joined #ruby
[07:26:29] prometheus_falli: has joined #ruby
[07:27:05] konsolebox: has joined #ruby
[07:27:37] christiandsg: has joined #ruby
[07:27:53] johnzorn: has joined #ruby
[07:32:22] Dimik: has joined #ruby
[07:34:51] konsolebox: has joined #ruby
[07:35:09] Xiti: has joined #ruby
[07:36:05] PaulePanter: has joined #ruby
[07:38:06] Byteflux: has joined #ruby
[07:40:50] alfiemax: has joined #ruby
[07:55:07] kaia: has joined #ruby
[07:57:09] prometheus_falli: has joined #ruby
[08:00:06] konsolebox: has joined #ruby
[08:02:37] alfiemax: has joined #ruby
[08:09:15] alfiemax: has joined #ruby
[08:17:30] alfiemax: has joined #ruby
[08:20:11] bkxd: has joined #ruby
[08:25:47] oleo: has joined #ruby
[08:31:02] tvw: has joined #ruby
[08:31:49] prometheus_falli: has joined #ruby
[08:33:09] ur5us: has joined #ruby
[08:36:17] tvw: has joined #ruby
[08:36:58] marr: has joined #ruby
[08:37:34] anisha: has joined #ruby
[08:40:59] alfiemax: has joined #ruby
[08:41:34] rahul_bajaj: has joined #ruby
[08:50:00] nso95: has joined #ruby
[08:52:02] johnzorn: has joined #ruby
[08:53:57] anisha: has joined #ruby
[08:56:16] rahul_bajaj: has joined #ruby
[09:11:39] rabajaj: has joined #ruby
[09:14:46] PaulePanter: has joined #ruby
[09:22:32] adac: has joined #ruby
[09:23:12] reber: has joined #ruby
[09:25:31] Neon: has joined #ruby
[09:26:14] t0adst00l: has joined #ruby
[09:27:47] t0adst00l: has joined #ruby
[09:28:03] Neon: Today I noticed a script rarely used doesn't work anymore, because it couldn't find the mysql2 gem. It's probably because I updated to Ruby 2.4 since the last run. I found this issue, which describes my problem. it's closed, yet the problem isn't solved for me. I have just installed Ruby 2.4.3p205 using the Ruby installer for Windows.
[09:29:21] t0adst00l: has joined #ruby
[09:30:55] prometheus_falli: has joined #ruby
[09:33:18] claudiuinberlin: has joined #ruby
[09:34:10] unshadow: has joined #ruby
[09:41:20] dtzuzu: has joined #ruby
[09:54:34] konsolebox: has joined #ruby
[09:55:14] TomyLobo: has joined #ruby
[09:56:27] johnzorn: has joined #ruby
[10:07:42] biberu: has joined #ruby
[10:09:24] mr-robert: has joined #ruby
[10:13:52] nso95-: has joined #ruby
[10:20:05] DTZUZO: has joined #ruby
[10:21:10] mikecmpbll: has joined #ruby
[10:23:09] InfinityFye: has joined #ruby
[10:24:10] SirOliver: has joined #ruby
[10:25:44] zautomata: has joined #ruby
[10:30:06] christiandsg: has joined #ruby
[10:32:17] InfinityFye: has left #ruby: ("Leaving")
[10:34:37] alex``: has joined #ruby
[10:40:39] hightower2: has joined #ruby
[10:43:48] TomyLobo2: has joined #ruby
[10:44:53] ilbelkyr: has left #ruby: ()
[11:00:04] konsolebox: has joined #ruby
[11:00:58] quobo: has joined #ruby
[11:02:19] TvL: has joined #ruby
[11:02:22] milardovich: has joined #ruby
[11:07:34] my123: has joined #ruby
[11:07:34] my123: has joined #ruby
[11:07:38] Ishido: has joined #ruby
[11:07:45] nso95-: has joined #ruby
[11:13:14] nadir: has joined #ruby
[11:17:59] marr: has joined #ruby
[11:21:58] GodFather: has joined #ruby
[11:26:03] zwliew: has joined #ruby
[11:26:41] shinnya: has joined #ruby
[11:36:11] konsolebox: has joined #ruby
[11:37:50] lxsameer: has joined #ruby
[11:45:48] dionysus69: has joined #ruby
[11:55:22] Byteflux: has joined #ruby
[11:58:46] SirOliver: has joined #ruby
[12:01:39] konsolebox: has joined #ruby
[12:04:12] numbdewd: has joined #ruby
[12:06:25] Byteflux: has joined #ruby
[12:12:25] SirOliver: has joined #ruby
[12:14:34] dcluna: has joined #ruby
[12:17:00] mikecmpbll: has joined #ruby
[12:17:01] Papierkorb: has joined #ruby
[12:18:07] Papierkorb: has left #ruby: ("Konversation terminated!")
[12:25:10] SirOliver: has joined #ruby
[12:27:36] amatas: has joined #ruby
[12:36:30] xco: has joined #ruby
[12:38:00] oleo: has joined #ruby
[12:38:31] Psybur: has joined #ruby
[12:39:15] Byteflux: has joined #ruby
[12:39:38] numbdewd: "The following packages have unmet dependencies: ruby-fuubar : Depends: ruby-progressbar (>= 1.4) but it is not going to be installed" - anyone seen this peculiar issue in the past perhaps.. ? if so - im a n00b mind you,tho mostly being lazy-- without Googling around much, somebody who could gimme guesstimate on what to try for solving it.. open for input.. thks anyway!:... semafk a lil
[12:42:02] ar: that sounds like a debian issue
[12:42:07] ar: (or ubuntu)
[12:42:38] auxbuss: has joined #ruby
[12:43:26] numbdewd: hm.. sorry, I can't say for sure which it'd be.. sadly I'm quite newb to it all (*nix in general as well as Ruby too) still.. :/
[12:44:54] numbdewd: Ive had that repatedly past years tho, on several distros too I believe (all Linux iirc...(unsure)).. Anyyway, this time it came after I .. kinda - stupidy - gave up on some gem dependencies, and decided to update all my gems, most being old anyway ("cos why not, updating can't be anything but good, right.." :p) .. its something not terribly easily solved as the error suggests.. im not all sure
[12:45:55] xco: hi, ruby 2.5 is out. and it has Top-level constant look-up removed. what is Top-level constant look-up? can someone help me understand it
[12:45:57] numbdewd: ..about it yet .. may be this time around I'll try figure out more , despite being n00b to it all, and at least convey the eventual presumed solution/issue here for others to bring on to somebody who could deal with , if possible.. pretty sure others - like me - hve got the same a time or few too =s
[12:46:18] tomphp: has joined #ruby
[12:47:03] apeiros: xco: currently installing ruby 2.5, so can't test, but I assume that you can't do Array::Hash anymore f.ex.
[12:47:20] Byteflux: has joined #ruby
[12:47:26] numbdewd: about ruby 2.5.. I wondered, I installed ruby2.5 (& ruby2.5-dev) while already having v2.3-equivalent ones installed... the "gem"-program seems to only apply to v2.3 gems still...? May be an easy fix, like symlink the binary in place, or somethng..
[12:48:08] apeiros: numbdewd: that's what most people use version managers for. like rvm, chruby, envruby (rubyenv?)
[12:48:36] tsglove: has joined #ruby
[12:48:43] xco: apeiros: thank you :)
[12:48:54] numbdewd: o.. k.. yeah sorry im an ignorant noob im afraid..:/ ..hopefully get motivation to read up on all that some day... ("one day" .. )
[12:49:31] apeiros: numbdewd: rvm.io. it's as simple as piping a bash script, then `rvm install ruby-2.5` and `rvm use ruby-2.5`
[12:49:46] apeiros: (or whichever version respectively)
[12:49:59] apeiros: the other version managers are probably similarly simple
[12:50:19] apeiros: for MRI rubies you can even just do `rvm use 2.5`
[12:51:15] apeiros: (MRI = "the standard ruby", versus all other variants like jruby, ironruby, maglev, etc. - though I think only jruby and mri are feature complete implementations)
[12:52:08] apeiros: xco: installation complete. it's indeed just that
[12:52:24] apeiros: 2.4 produced a warning upon Hash::Array, 2.5 generates an exception
[12:52:26] headius: darix: no update really I guess...can you point me at the issue again?
[12:52:36] headius: we do a search, but it must not be enough on some platform
[12:52:40] milardovich: has joined #ruby
[12:52:59] numbdewd: uh.. noted. ..hopefully will remember to look up l8rs (uh.. "bad state of mind" atm...- for much reading, I mean).. sorry to say I don't know what "piping a bash script" really is, or could be , and all... nor the other commands... will try remember checking em out l8rs however - thanx!
[12:53:27] xco: apeiros: but Array::Hash, what is it. it’s just a Hash
[12:53:34] xco: why did you have to do Array::Hash?
[12:53:56] apeiros: which is why ruby generates a warning, or by now even an exception. because you probably made a mistake
[12:54:34] numbdewd: If you know much about Ruby, may I ask your experience with gems -- considering the numerous static code analysis mainly pertaining to malware detection and related..... would you - even as non-root - be wary of installing gems indiscriminately... ? or not at all as long as its done..uh, I guess as you explained above, presumably in a venv.. ?
[12:55:12] xco: apeiros: gotcha
[12:55:30] numbdewd: I like the good selection though..! .. not sure if Im for or against the potential for ppl to put malicious stuff in, with alternative possibly being far less to choose from then.. Much interesting, as with Python's Pip
[12:55:47] dviola: has joined #ruby
[12:56:52] apeiros: numbdewd: I don't really have a good answer to that
[12:58:10] apeiros: I wouldn't install gems which require sudo. but even without, a gem post install script can do a number of things to damage you.
[12:58:10] alfiemax: has joined #ruby
[12:58:29] darix: headius: https://github.com/ffi/ffi/issues/587
[13:00:51] aScottishBoat: has joined #ruby
[13:01:32] numbdewd: sounds like a nice easy way to get quick rewts , then..even fora nab, possibly!...if just coming up with some fancy attractive usefulness (or match some patch-work to have that seemingly legitimate even, or end with some bug suggesting "all as usual" - to other n00bs like me, quickly deploy rootkit and some dormant reverse shells in their lan/other devices asap possibly...:d ) haa. (na j/k..
[13:01:38] numbdewd: ..too n00b to do that anyway .. ^_-)
[13:02:49] auxbuss: has joined #ruby
[13:04:20] GodFather_: has joined #ruby
[13:07:17] milardovich: has joined #ruby
[13:09:15] AJA4350: has joined #ruby
[13:09:37] hanetzer: has joined #ruby
[13:10:22] alfiemax: has joined #ruby
[13:10:44] auxbuss: has joined #ruby
[13:11:25] synthroid: has joined #ruby
[13:12:11] hanetzer: hey folks. So, I'm thinking to write what I think would be called ruby on rails; basically embedding some ruby into a webpage, to manipulate some ruby-specific stuff (marshal data, stuff like that). Is there a way one can make a sort of portable rails app, that you can just say open as an offline copy in $browser?
[13:13:26] k0mpa: has joined #ruby
[13:17:53] aScottishBoat: hanetzer, could you explain that a bit more?
[13:18:41] hanetzer: aScottishBoat: well, say I wrote a site with pure javascript, I could copy that around and run it on any machine by opening it in a browser, yeah?
[13:18:44] milardovich: has joined #ruby
[13:20:08] hanetzer: is there a way one can do the same, but using rails or some other method of embedding ruby into a page?
[13:22:14] aScottishBoat: If you're talking like a 'stand-alone' package that can be passed around, you could turn your Ruby app into a container and just pass that container around. Inside that container you just need to add whichever Ruby libraries you use + whatever else, like a database. Then containerize it and ship it
[13:22:35] aScottishBoat: Of course, whoever uses it would need to be familiar with containers.
[13:22:43] hanetzer: yeah, but the app is aimed for less technical users, and for folks who may be using windows
[13:23:15] glcx_: has joined #ruby
[13:23:18] aScottishBoat: Well, you could write brief documentation on how to get a something a la Docker up and running quickly
[13:23:21] aScottishBoat: It's not terribly hard
[13:23:35] hanetzer: can you docker on windows?
[13:23:40] aScottishBoat: As for something more like a fully-standalone app that can just ship as one executable and 'work', that I am unaware of.
[13:23:45] aScottishBoat: I thought you could... Sec
[13:24:36] aScottishBoat: hanetzer, yes you can.
[13:24:42] aScottishBoat: https://www.docker.com/community-edition#/download
[13:24:53] hanetzer: it may be possible, but its one of those words that I associate with 'linux only' in my mind :)
[13:25:01] glcx_: has joined #ruby
[13:25:20] aScottishBoat: yeah me too lol
[13:25:55] Byteflux: has joined #ruby
[13:25:55] aScottishBoat: honestly using containers may be your best bet. What sort of app are you writing?
[13:26:15] mostlybadfly: has joined #ruby
[13:27:06] hanetzer: aScottishBoat: something like the rpg maker systems. Yeah, I know its kinda craptastic :P
[13:27:17] numbdewd: hanetzer: isnt there a debian package... gem2deb or something..
[13:27:26] mikecmpbll: has joined #ruby
[13:27:34] hanetzer: numbdewd: maybe, but that's not gonna help my windows users.
[13:27:40] aScottishBoat: hanetzer, naa it sounds cool. I'm sure you'll make a great version.
[13:28:34] hanetzer: aScottishBoat: well, we have an engine. I mostly just hijacked it, called mkxp. its a port to linux of the rpg maker game.exe; I did work to port it back to windows :)
[13:28:51] numbdewd: https://github.com/loureirorg/rb2exe , https://stackoverflow.com/questions/9998819/compile-ruby-script-into-exe .or such..? sry not sure watcha upto..sry if far off,bothering,or anything . . . .
[13:29:13] hanetzer: numbdewd: rb2exe is broken on modern ruby, apparently :)
[13:30:13] hanetzer: plus apparently it doesn't do windows executables yet.
[13:30:20] numbdewd: hm..the code for it seems kinda little..may be small changes on either end to solve that,if ud have no way around getting it working any other way..?
[13:30:30] hanetzer: aScottishBoat: this docker thing looks of use. Will try it out.
[13:30:46] numbdewd: https://github.com/rdp/ruby_tutorials_core/wiki/ruby-talk-faq#ruby_to_exe
[13:31:07] bkxd: has joined #ruby
[13:31:23] havenwood: hanetzer: https://phusion.github.io/traveling-ruby/
[13:31:25] aScottishBoat: hanetzer, fantastic news.
[13:32:06] hanetzer: aScottishBoat: still some kinks, because of mostly boost, which has the most horrific build system I've ever had the displeasure of using.
[13:32:09] aScottishBoat: havenwood, that looks awesome.
[13:33:42] aScottishBoat: hanetzer, you may want to try havenwood's link first
[13:33:55] aScottishBoat: be back in a few mins
[13:34:07] hanetzer: investigating. there is an issue open asking about rails, there is no replies.
[13:35:03] alfiemax_: has joined #ruby
[13:35:20] hanetzer: ah there's a closed issue that has apparently shown how to make that work.
[13:49:24] hanetzer: havenwood: this looks to be pretty useful
[13:55:35] Byteflux: has joined #ruby
[13:56:31] rrutkowski: has joined #ruby
[13:57:25] alfiemax: has joined #ruby
[13:59:37] rrutkowski: has joined #ruby
[14:00:13] vyorkin: has joined #ruby
[14:01:18] SirOliver: has joined #ruby
[14:02:26] zwliew: has joined #ruby
[14:12:23] hightower2: has joined #ruby
[14:15:41] ltem: has joined #ruby
[14:20:32] chocoelho: has joined #ruby
[14:21:33] claudiuinberlin: has joined #ruby
[14:22:31] aufi: has joined #ruby
[14:23:09] mikecmpbll: has joined #ruby
[14:24:10] polishdub: has joined #ruby
[14:25:45] Puffball_: has joined #ruby
[14:28:59] aScottishBoat: hanetzer, so what's up? what new revelations have been made?
[14:29:43] hanetzer: aScottishBoat: nothing much, just reading up on traveling-ruby a bit. At work so I can't exactly test it yet
[14:30:19] aScottishBoat: Man, traveling ruby does look cool. So hanetzer what do you do?
[14:31:26] hanetzer: I work for a homeless shelter as my $day_job, but by night I'm a 1337 hax0r who tinkers with a lot of linuxy stuff. embedded firmwares, gentoo ebuilds, whatever I decide to hax on :)
[14:31:33] christiandsg: has joined #ruby
[14:34:59] adac: has joined #ruby
[14:35:27] aScottishBoat: you're not JAPH are you
[14:35:35] aScottishBoat: you love the $$$''ssss
[14:36:35] aScottishBoat: in fact, this weekend I started my foray into the perl world. It's quite quirky, but I want to add it to my toolkit for text processing.
[14:37:31] konsolebox: has joined #ruby
[14:38:41] hanetzer: JAPH? Nope. no idea who or what that is :)
[14:41:39] johnzorn: has joined #ruby
[14:43:14] dinfuehr: has joined #ruby
[14:48:13] aScottishBoat: Just Another Perl Hacker
[14:48:29] aScottishBoat: maybe you're also a PHP guy :P?
[14:51:14] cadillac_: has joined #ruby
[14:52:04] rrutkowski: has joined #ruby
[14:52:08] hanetzer: oh yeah, japh. no. I mostly work in c/c++ & kernel code :P
[14:56:00] selim: has joined #ruby
[14:57:16] aScottishBoat: I love C. But I'm not quite JACH yet
[14:57:39] aScottishBoat: how's the shelter you work at? You work with good people?
[14:57:41] despai: has joined #ruby
[14:58:05] hanetzer: yeah, its pretty cool
[15:06:10] aScottishBoat: hanetzer, do you have any public repos or github?
[15:06:28] hanetzer: yep. same name on github
[15:06:49] hanetzer: I don't often create stuff from scratch, though. just tweaks and fixes for existing things :)
[15:11:24] Rapture: has joined #ruby
[15:11:40] mikecmpbll: has joined #ruby
[15:15:27] QualityAddict: has joined #ruby
[15:16:09] JusticeFries: has joined #ruby
[15:20:48] SirOliver: has joined #ruby
[15:25:05] rivalomega: has joined #ruby
[15:27:29] mikecmpbll: has joined #ruby
[15:31:28] mikecmpbll: has joined #ruby
[15:39:56] tomphp: has joined #ruby
[15:43:01] konsolebox: has joined #ruby
[15:45:05] SirOliver: has joined #ruby
[15:55:26] herbmillerjr: has joined #ruby
[15:58:33] alfiemax: has joined #ruby
[15:59:20] JusticeFries: has joined #ruby
[16:01:19] synthroid: has joined #ruby
[16:04:29] aufi: has joined #ruby
[16:05:39] pastorinni: has joined #ruby
[16:06:31] aufi_: has joined #ruby
[16:08:58] mikecmpbll: has joined #ruby
[16:09:00] michael_mbp: has joined #ruby
[16:11:42] christiandsg: has joined #ruby
[16:11:43] mikecmpbll: has joined #ruby
[16:29:46] adac: has joined #ruby
[16:31:08] chocoelho: has joined #ruby
[16:33:20] mikecmpbll: has joined #ruby
[16:36:00] meesles: has joined #ruby
[16:37:20] alfiemax: has joined #ruby
[16:37:23] mikhael_k33hl: has joined #ruby
[16:38:50] mikhael_k33hl: Anyone using concurrent-ruby gem? I'm a bit confused with Futures with Observables. I have this script: https://gist.github.com/marzdgzmn/611b684186a1d0b4a65e7913d7018174 and I want the result of the created thread to be passed to another instance for processing, how do I do that?
[16:39:03] MrSparkle: has joined #ruby
[16:39:04] techn1cs: has joined #ruby
[16:39:25] meesles: has joined #ruby
[16:40:59] QualityAddict: has joined #ruby
[16:44:45] Junaos: has joined #ruby
[16:46:40] dionysus69: has joined #ruby
[17:03:19] aScottishBoat: mikhael_k33hl, no sorry.
[17:04:27] mtkd: has joined #ruby
[17:07:56] [Butch]: has joined #ruby
[17:08:52] johno84: has joined #ruby
[17:13:53] adac: has joined #ruby
[17:14:45] mostlybadfly: has joined #ruby
[17:14:59] QualityAddict: has joined #ruby
[17:21:04] havenwood: mikhael_k33hl: Did you figure it out?
[17:22:17] havenwood: mikhael_k33hl: You can call #value on the future returned by #process_job.
[17:22:52] shoogz: has joined #ruby
[17:24:24] shoogz: has joined #ruby
[17:24:25] hinbody: has joined #ruby
[17:24:26] alfiemax: has joined #ruby
[17:25:56] shoogz: has joined #ruby
[17:26:00] mikhael_k33hl: havenwood: yeah, I just reread the docs, it returns time, value, and reason hehe
[17:28:14] mtkd: has joined #ruby
[17:32:33] zlogan: has joined #ruby
[17:33:15] nicesignal: has joined #ruby
[17:38:42] SirOliver: has joined #ruby
[17:42:41] synthroid: has joined #ruby
[17:45:39] tomphp: has joined #ruby
[17:48:32] minimalism: has joined #ruby
[17:48:59] zautomata: has joined #ruby
[17:51:38] jamesaxl: has joined #ruby
[17:56:05] Dimik: has joined #ruby
[17:56:10] alfiemax: has joined #ruby
[18:01:09] kapil___: has joined #ruby
[18:05:48] pastorinni: has joined #ruby
[18:06:39] pastorinni: has joined #ruby
[18:08:49] zautomata1: has joined #ruby
[18:12:35] hanetzer: aScottishBoat: and no, my brief experience with php has left me scarred and disgusted with the language :P
[18:12:48] dminuoso: PHP is fine as long as someone else is using it.
[18:13:43] dminuoso: hanetzer: Though seriously, the language itself is not the big problem. Just like with JS through discipline and extra tools you can get around a lot of the language issues (though you still have poor abstraction capabilities)
[18:13:53] dminuoso: Which is why Facebook still uses Hack a lot.
[18:14:24] hanetzer: fair enough, but I'd avoid it personally :)
[18:15:56] aScottishBoat: I love PHP personally simply because I can get an app out and in beta very quickly. I don't have to work with any frameworks, etc.
[18:16:32] aScottishBoat: And the API is very extensive. Anything I could want is already there in PHP. Is the language ugly? Jaysus it's atrocious. But no more atrocious than JS, imho.
[18:16:53] dminuoso: aScottishBoat: Honestly if it works for you great, keep using it. There's nothing wrong with using a wooden shelf to put nails into the wall if the wall is soft.
[18:16:58] aScottishBoat: Therefore I just settle on PHP. I used to use Sinatra but it's been ages. I do plan to get back into it, at some point.
[18:17:31] dminuoso: aScottishBoat: But I do believe that you should at least go Hack. ;-)
[18:17:49] aScottishBoat: dminuoso, I've never used it. I should check it out. Likewise, I've never used the HHVM.
[18:18:04] aScottishBoat: Hack and PHP interoperate together, correct?
[18:18:07] dminuoso: aScottishBoat: Its basically PHP except fixed.
[18:18:15] aScottishBoat: well that sounds nice
[18:18:26] dminuoso: aScottishBoat: And yes you get full and free interop with php
[18:19:43] aScottishBoat: hmm says Hack isn't embedded into HTML. I quite like that of PHP. But maybe that's where I would use Hack in pure .php files
[18:19:46] dminuoso: aScottishBoat: In a lot of ways its very similar to JavaScript. It suffered from very horrible language features which takes a) discipline to not use, b) linters to ensure that you really dont use them, and c) type checkers to be absolutely sure you didn't violate a) or b)
[18:19:49] aScottishBoat: to replace pure .php files*
[18:19:57] dminuoso: Which leads to 95% of the libraries being written in horrible and idiotic ways.
[18:20:11] dminuoso: Which makes the whole experience unpleasant unless you get to only use the remaining 5%.
[18:20:21] aScottishBoat: Fair criticism. My favourite aspect of PHP is that I can *embed* directly into HTML.
[18:20:55] rivalomega: has joined #ruby
[18:21:21] hanetzer: so exactly what *is* ruby on rails? a native extension? pure ruby?
[18:21:32] dminuoso: hanetzer: It's basically a rack app.
[18:21:38] dminuoso: Written in Ruby.
[18:21:44] raynold: has joined #ruby
[18:21:47] hanetzer: gurp. and what is rack?
[18:22:04] aScottishBoat: it obscures the abstraction between the various processes involved with routing and handling url parameters, and <--> to/from the DB
[18:22:05] dminuoso: hanetzer: Rack is used to make HTTP servers with.
[18:22:14] aScottishBoat: err I worded that oddly but you get it
[18:22:23] aScottishBoat: ^^ what he said
[18:23:08] Guest90: has joined #ruby
[18:23:55] dminuoso: hanetzer: In a way its a web server framework written in pure Ruby, which you use with pure Ruby.
[18:24:08] dminuoso: And its built ontop of Rack.
[18:24:29] ule: has joined #ruby
[18:24:29] hanetzer: dminuoso: ok, because I'm looking into what I need to do to coerce rails into traveling ruby :P
[18:24:47] dminuoso: hanetzer: I dont think you will have much luck with that.
[18:25:06] hanetzer: why do you say that?
[18:26:06] Guest90: has joined #ruby
[18:26:16] dminuoso: hanetzer: Rails applications are generally complex with quite a few dependencies, some of them native.
[18:26:34] dminuoso: hanetzer: The easiest way to distribute a "ready-to-use" application would be with Docker.
[18:26:37] hanetzer: well, I'm writing this rails app myself :)
[18:26:54] dminuoso: hanetzer: Well Im curious about your results. Please do share your progress.
[18:27:15] dminuoso: hanetzer: The restriction to old ruby versions is going to be the first annoyance.
[18:27:19] hanetzer: its mostly going to involve manipulation of some custom objects/classes, and some display of graphics.
[18:27:30] dminuoso: hanetzer: Yeah but native extensions will basically the limitation.
[18:27:35] hanetzer: well, I'm pretty skilled in the art of cross-compilation :)
[18:27:54] zwliew: has joined #ruby
[18:28:32] dminuoso: hanetzer: We tried travelling ruby for a while, ultimately the benefits were so little - it's tons easier to just require a) Docker or b) Ruby being available.
[18:29:31] rivalomega: has joined #ruby
[18:37:14] roshanavand: has joined #ruby
[18:38:01] ur5us: has joined #ruby
[18:38:58] DmitryBochkarev: has joined #ruby
[18:45:56] JusticeFries: yeah just shove it in a docker container and call it a day
[18:46:04] JusticeFries: easier to put into CI/CD and cut an artifact too
[18:48:56] jamesaxl: has joined #ruby
[18:49:26] KeyJoo: has joined #ruby
[18:55:25] ramfjord: has joined #ruby
[18:55:57] aScottishBoat: hanetzer and I were discussing using Docker earlier today. I recommended it too (Glad to see others find containers so great!). If I recall, his main concern with using a container is that it adds an extra layer of technology overhead to his users of whom he'd prefer to only run executables.
[18:56:17] aScottishBoat: Actually, I never really asked, hanetzer: why are you insisting on Rails and Ruby? What's making this project so Ruby-oriented?
[18:57:02] hanetzer: well, the rpg maker 'engine/ide' uses ruby script to execute the game, and marshall'd ruby objects to store game data, so that's most logical in my opinion.
[18:57:06] aScottishBoat: building on the first thing I said, I think he fears some of his users are going to be quite technically unsavvy. Therefore, executables
[18:57:27] aScottishBoat: hanetzer, oh sweet. Didn't know that.
[18:57:28] JusticeFries: I work at replicated.com fixing this very problem for people delivering saas on-premise. ;)
[18:57:33] JusticeFries: tl;dr there's ways around that
[18:57:50] JusticeFries: ah, this is for a game/game engine
[18:57:56] JusticeFries: what we do won't be relevant
[18:57:58] hanetzer: the engine side is already made, works on all of the big three platforms (linux, osx, and windows), its just the doing of the game editor
[18:58:40] aScottishBoat: do I hear... a potential FOSS project in the works requiring collaboration? Hmmm.
[18:58:59] hanetzer: I could write a native executable for handling the stuff, but I thought I'd try some options out :)
[18:59:01] aScottishBoat: #ruby's your friend. So keep coming back for Q's
[19:00:07] havenwood: Radar: https://gist.github.com/havenwood/8629ee099885b9671c89923949be9f0d
[19:00:27] hanetzer: it looks like traveling ruby has died a bit, tho
[19:01:02] aScottishBoat: hanetzer, man I never knew about TR before. I would have loved to use it . Maybe a fork can be made and maintained?
[19:01:25] aScottishBoat: hanetzer, if you find out that you're just a traveling ruby fanatic by the end of this, let me know haha
[19:02:26] hanetzer: sure, will do.
[19:03:12] jxv: has joined #ruby
[19:03:33] hanetzer: currently I'm seeing how well a musl toolchain managed by crossdev works on gentoo. I think that would allevate some of the issues they were having with needing old glibc symbols
[19:08:45] Nicmavr: has joined #ruby
[19:09:56] Guest83853: has joined #ruby
[19:10:09] jxv: has joined #ruby
[19:12:38] ur5us: has joined #ruby
[19:13:27] Byteflux: has joined #ruby
[19:14:49] xco: has joined #ruby
[19:16:06] xco: i have a select_date tag like this <%= select_date @end_at, { prefix: 'end_at' }, class: 'form-control' %> how do i select current date (Date.current) in one go without having to individually select day, month and year?
[19:24:31] apeiros: ?rails xco
[19:24:31] ruby[bot]: xco: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
[19:24:42] alfiemax: has joined #ruby
[19:25:43] cdg: has joined #ruby
[19:28:44] hanetzer: in any case, even if I do get rails workign with traveling ruby or the like, one would still need to run the app, then run open a browser to the rails hosted server, right?
[19:29:15] aScottishBoat: I would imagine
[19:29:41] aScottishBoat: I guess at that point if you really want to be fancy you could make a site specific browser, but that may be taking this project too far lmao
[19:30:22] hanetzer: actually apparently there is some form of chromium you can use for apps :P
[19:30:38] aScottishBoat: man this project gets more exciting by the hour
[19:31:12] pilne: has joined #ruby
[19:33:25] mtkd: has joined #ruby
[19:41:55] Barrt: has joined #ruby
[19:43:06] alfiemax: has joined #ruby
[19:44:52] cdg: has joined #ruby
[19:47:05] JusticeFries: it's called electron, works well, all in JS.
[19:48:08] Byteflux: has joined #ruby
[19:48:15] tuelz: has joined #ruby
[19:48:50] hanetzer: dont doubt it, but would be ass to manipulate ruby objects in js :P
[19:49:03] tao_: has joined #ruby
[19:49:26] hanetzer: honestly I'm thinking of doing some form of conversion away from marshal'd data to something with easier interop with other languages :)
[19:51:04] aScottishBoat: hanetzer, what do you mean by marshal'd data?
[19:52:01] hanetzer: uh... lemme see. marshal is a ruby-specific way of serializing objects (that is, saving them to disk, or loading them)
[19:53:29] hanetzer: aScottishBoat: so, if you made a class cat, and instantiated it as tom, you could save tom to disk and load him at a later time :)
[19:54:46] milardovich: has joined #ruby
[19:56:29] InfinityFye: has joined #ruby
[19:56:59] InfinityFye: has left #ruby: ()
[20:01:01] IanMalcolm: has joined #ruby
[20:04:36] ltem: has joined #ruby
[20:06:20] QualityAddict: has joined #ruby
[20:14:15] pastorinni: has joined #ruby
[20:17:25] jxv: has joined #ruby
[20:24:01] milardovich: has joined #ruby
[20:26:50] nckpz: has joined #ruby
[20:27:09] cdg: has joined #ruby
[20:28:29] dionysus69: has joined #ruby
[20:31:11] Psybur_: has joined #ruby
[20:32:45] Mia: has joined #ruby
[20:46:37] havenwood: hanetzer: MessagePack is small and fast like Marshal.
[20:46:54] apeiros: afaik it's faster than marshal
[20:47:00] apeiros: marshal is disappointingly slow
[20:47:07] adac: has joined #ruby
[20:47:17] apeiros: or was, been a while since I last read or even performed a benchmark
[20:47:24] havenwood: https://gist.github.com/eirc/1300627
[20:47:58] apeiros: wow, you write code fast ;o)
[20:48:35] apeiros: protobuff is from google, aight?
[20:48:45] havenwood: apeiros: here's my benchmark ;-P: https://gist.github.com/havenwood/4513627
[20:48:56] apeiros: ruby 2.0…
[20:49:03] apeiros: that's what I meant by "been a while" ;-)
[20:49:14] apeiros: but yeah, msgpack 2x faster
[20:51:03] havenwood: With Ruby 2.5 I'm seeing MessagePack about 25% faster than Marshal.
[20:51:27] apeiros: ok, so they did improve marshal's performance
[20:52:09] havenwood: it seems like it
[20:52:23] apeiros: thanks for the heads-up :)
[20:54:36] havenwood: apeiros: I guess it's more like 70% faster, checking with more iterations and varied data. It does seem faster but I haven't actually benched them all on this machine.
[20:56:03] tAn: has joined #ruby
[20:57:06] Psybur: has joined #ruby
[20:58:06] elphe: has joined #ruby
[21:04:59] elsevero: has joined #ruby
[21:11:18] havenwood: I need to install *all the rubies*.
[21:13:36] hightower2: has joined #ruby
[21:20:43] TomyLobo: has joined #ruby
[21:29:48] apeiros: havenwood: completionist
[21:32:40] elphe: has joined #ruby
[21:33:39] numbdewd: ooh ooh, at least one of them should be my backdoored ones luring among the crowd of others innocent-looking ready and dormant to launch silent reverse shell bips out thru dns/icmp and acccept remote commands. ... prolly wont notice anything till the whole lan is fked tho, no streess for now
[21:34:41] numbdewd: (dont take "fked" literally.. i meant wasted for resources/valuables,likely under investigation for crimes commited with the ips and evidence on disks to support the same ... etc-- sort of "fked")
[21:34:47] A5101: has joined #ruby
[21:34:58] numbdewd: ( i dont do ransomware or any of that nasty stuff.. ew, that's evil
[21:37:18] Azure: has joined #ruby
[21:40:40] Azure: has joined #ruby
[21:41:47] dmgk: has joined #ruby
[21:42:00] alfiemax: has joined #ruby
[21:50:03] ramfjord: has joined #ruby
[21:50:31] mokha: has joined #ruby
[21:52:19] tAn: has joined #ruby
[21:52:43] dinfuehr: has joined #ruby
[21:57:26] milardovich: has joined #ruby
[22:03:30] ar: /buffer close
[22:03:33] ar: has left #ruby: ()
[22:04:35] leah2: has joined #ruby
[22:06:25] dagwood: has left #ruby: ("Leaving")
[22:09:14] vyorkin: has joined #ruby
[22:11:14] havenwood: apeiros: here're the updated numbers: https://gist.github.com/havenwood/4513627
[22:11:39] havenwood: 2.5 has a nice speedup across the board.
[22:13:21] DLSteve: has joined #ruby
[22:15:55] hdaugherty_90: has joined #ruby
[22:23:33] cschneid_: has joined #ruby
[22:27:39] jnyw: has joined #ruby
[22:28:28] dviola: has joined #ruby
[22:28:57] mtkd: has joined #ruby
[22:30:38] marr: has joined #ruby
[22:32:55] devgiant: has joined #ruby
[22:35:28] nso95: has joined #ruby
[22:49:39] rfoust: has joined #ruby
[22:57:53] chocoelho: has joined #ruby
[23:09:10] darix: havenwood: now add protobufs to the mix
[23:12:38] canton7: has joined #ruby
[23:12:55] tomphp: has joined #ruby
[23:15:26] despai: has joined #ruby
[23:20:18] hahuang65: has joined #ruby
[23:25:23] darkhanb: has joined #ruby
[23:32:47] cdg: has joined #ruby
[23:34:49] _ch4l45h45k4: has joined #ruby
[23:54:56] Sigyn: has joined #ruby
[23:57:45] Sigyn: has left #ruby: ()
[23:58:01] ule: has joined #ruby