#ruby - 17 December 2017
« Back 1 day Forward 1 day »
[08:36:45] tobiasvl: KrzaQ: that's not so bad, but there is a way to avoid brute forcing that puzzle, which I suppose most people uses
[10:58:37] Prutheus: but how can i run a function from class Operate when a signal handler in class GUI gets called?
[11:04:03] KrzaQ: tobiasvl: the c++ solution finishes in a second or two, so I didn't bother optimizing it better
[12:36:47] dminuoso: elisaado: From hand? Using libraries? Where will most of the time be spent? IO? Database? Computation?
[13:12:48] dminuoso: elisaado: Unless you gain support from specially written native extension, you'll have to use multiple processes in MRI to leverage multiple CPUs then.
[13:13:34] dminuoso: elisaado: If you are really interested, you should check out JRuby/truffle. I'm sure chrisseaton would be interested in feedback from truffle being used in real world machine learning.
[13:30:03] chrisseaton: elisaado: MRI can do parallelism, only if the parallel part is written in C (or some other language usable from a C extension)
[16:24:07] Papierkorb: Ruby is being used for plenty things in and outside of Webdev, with and without Rails
[16:24:24] clemens3: sotrhraven_droid: totally agree, especially as rails is terrible.. was also looking into cross platform, only things halfway working where jruby and java libs, or tk
[16:25:31] clemens3: now i am moving to linux only, so maybe i will also start looking into some bindings
[16:29:22] sotrhraven_droid: jrubyfx is interesting. I went to jarify a test she'll for an app but ran into errors.
[19:33:01] clemens3: elisaado: thanks, note them and will look into them.. ruby-GNOME however I try to avoid 250 dependencies including dbus and systemd and what not.. ruby2d the home page looks cool, I hope it is beyond prototype status, I think I will try it out on next opportunity..
[19:35:26] clemens3: elisaado: I might be on a too old mac.. but doesn't matte maybe in the future, as I try to move to linux fulltime
[20:50:30] RougeT430: https://www.amazon.com/gp/product/0321721330/ref=as_li_tl?ie=UTF8&camp=1789&creative=9325&creativeASIN=0321721330&linkCode=as2&tag=poodrcom-20&linkId=d5bd799fb895b56032932fc813dca07d
[20:54:00] jhass: it's good if you never really looked into the GoF patterns and take them too seriously, otherwise there's not too much to learn from it IMO
[21:13:54] mozzarella: then do it? what's the problem? you want the nested hashes to be lazily created?
[21:18:30] mozzarella: so you've get nested hashes and you've got the "path" to the value in a string?
[21:18:33] kapil___: I am making a function that call itself and add nested values to itself . so i am using string.
[22:37:48] ruby[bot]: it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
[22:38:12] baweaver: Start with what your problem is, not what solution you think you need at the moment