<baweaver>
sparr: well something isn't lining up on there then
<nchambers>
like you just pointed out, &: is to operators, & and :some_symbol
<nchambers>
which makes a lot more sense now
lytol has quit [Remote host closed the connection]
<baweaver>
and there's not much we can do off of "foo.class" to tell what that may be
tcopeland has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
<sparr>
are there other tests I can run?
<baweaver>
Quite a few
<baweaver>
problem is narrowing those down
<baweaver>
class might be overridden, is_a? might be overridden, could be a lot of things
schneide_ has joined #ruby
<baweaver>
without knowing what foo actually is though it's extremely hard to tell
<baweaver>
I'd open up the class and look at it
pastorin_ is now known as pastorinni
alfiemax has quit [Ping timeout: 264 seconds]
<sparr>
can you elaborate on that?
<baweaver>
Where is foo created? What's the invocation logic?
<baweaver>
in Pry you could cd into it and poke around
<baweaver>
though you're giving us precious little to work on here.
vichib has quit [Ping timeout: 256 seconds]
<sparr>
I can't run the code in question in a useful debug environment like Pry. I'm stuck with being able to see what I can get into a string format to print.
ta__ has quit [Remote host closed the connection]
pastorinni has quit [Remote host closed the connection]
ta_ has joined #ruby
<baweaver>
define "can't"
pastorinni has joined #ruby
<baweaver>
What's the environment? What tools are you working with?
vichib has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
sylario has quit [Quit: Connection closed for inactivity]
ta_ has joined #ruby
schneide_ has quit [Ping timeout: 240 seconds]
pastorinni has quit [Remote host closed the connection]
<baweaver>
that said, remote_pry is probably your best bet to getting things out of it
<baweaver>
also reading the puppet docs for what the things return. It's probably some heavily mutated form of Hash like a Mash that does some really nasty stuff behind the scenes
x77686d has joined #ruby
<baweaver>
nchambers: omit the if?
<nchambers>
erm, omit the then
<sparr>
the function here is hiera_hash()
<sparr>
it's supposed to return a real honest to god hash
Psybur has quit [Ping timeout: 256 seconds]
guacamole has quit [Client Quit]
<baweaver>
nchambers Why type more than you have to?
<nchambers>
baweaver: habit mostly
<baweaver>
basically it's redundant, kinda like semicolons
<nchambers>
makes sense
<baweaver>
I've yet to see an established rubyist use it in code
<baweaver>
so you can, though it's very uncommon and kinda silly to use
<nchambers>
thats what i figured, i just wanted to make sure
nso95_ has joined #ruby
<nchambers>
(im perfectly fine with following standard established practices, just curious as to the reasoning)
<baweaver>
yeah, not a hash, looks like some seriously screwed hierarchical monster they invented instead
pastorinni has joined #ruby
alfiemax has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
<baweaver>
All that said, you'll find this is a bad channel to ask puppet questions in
<baweaver>
Not because we don't want to help but because most of us have no idea how it works behind the scenes and it's a very specialized environment
postmodern has joined #ruby
nowhereman_ has joined #ruby
nowhere_man has quit [Ping timeout: 248 seconds]
alfiemax has quit [Ping timeout: 248 seconds]
milardovich has joined #ruby
jnyw has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest29 has joined #ruby
pastorinni has quit [Remote host closed the connection]
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
drewmcmillan has joined #ruby
ta_ has joined #ruby
jtdoncas_ has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<conceivably>
Is there a more idiomatic/Ruby-esque way of finding the last element of an array for which a given block returns true, other than reversing the array and using find?
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
cschneid has joined #ruby
jtdoncas_ has quit [Ping timeout: 256 seconds]
arescorpio has joined #ruby
cschneid has quit [Ping timeout: 248 seconds]
Azure|dc has quit [Read error: Connection reset by peer]
alveric1 has joined #ruby
MrPlinkington has joined #ruby
jtdoncas_ has joined #ruby
MrPlinkington has quit [Client Quit]
Azure has joined #ruby
schneide_ has joined #ruby
alveric has quit [Ping timeout: 240 seconds]
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
conceivably: reverse_each is a hair faster as well
<conceivably>
Great, I was just about to ask whether one of them might be preferable for other reasons, since readability-wise they are more or less on par.
<conceivably>
Cool, thanks for sharing :)
conceivably has quit [Remote host closed the connection]
guacamole has joined #ruby
elphe has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 268 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
elphe has joined #ruby
cdg has joined #ruby
marr has quit [Ping timeout: 260 seconds]
cdg_ has quit [Ping timeout: 256 seconds]
cdg has quit [Ping timeout: 260 seconds]
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
Remember that bit about separation of concerns a while ago?
<baweaver>
Keep this rule in mind: Your Rails application knows nothing about your Javascript React application, and conversely your Javascript React application knows nothing about your Rails application
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
If I had to guess you're still trying to make tables for all your models
<kapil___>
yes i remember thanks. but how i access ParentClass methods in subclass in my situation.
<baweaver>
and now for some reason you've added GraphQL into the mix.
darkhanb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<kapil___>
baweaver: i am generating react pages from all models.
<baweaver>
Step back for a second, because this is a very hairy solution
<baweaver>
You want tables for all of your Rails models
<baweaver>
Does this seem like the simplest way to do that?
<baweaver>
Also don't use GraphQL, you're overcomplicating things by adding more into the mix
<kapil___>
i am doing it because i have so many pages(models)
<kapil___>
baweaver: do i generate pages in node.js generators?
riskish has joined #ruby
<kapil___>
about 40
<baweaver>
You could, but there are simpler solutions to this
<baweaver>
The next question: do you absolutely need to display all 40 models?
<baweaver>
Is that the best way to present this data?
<kapil___>
baweaver: yes its only its CRUD tables
<baweaver>
The answer is likely no, you only need pieces of each model for certain pages
<baweaver>
what is the purpose of your application?
<kapil___>
its data entry (account type) application for jewelry manufacturing
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
<baweaver>
and every single one of these needs to have a table?
schneide_ has joined #ruby
<baweaver>
Why can you not just use Rails?
<baweaver>
Why React?
<baweaver>
With Rails it would generate all of this code for you by default
<kapil___>
every single page has about 5 sub pages.
ta_ has joined #ruby
<baweaver>
what makes a sub page?
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
<baweaver>
and why do they need sub pages?
<kapil___>
its new edit preview actions and one is for main table
<baweaver>
Rails literally generates all of that for you
guacamole has quit [Client Quit]
<baweaver>
rails scaffold model name:string number:integer date:datetime
<baweaver>
Scaffolds do all of that
<kapil___>
rails generate simple pages i need advance so i am using react
<baweaver>
you don't need React
<baweaver>
you don't need React
<baweaver>
you don't need React
<baweaver>
Use Rails, that's all you need for this.
plujon has quit [Remote host closed the connection]
<baweaver>
and I'm not answering PMs
<baweaver>
Why do you think you need more advanced pages? What does Rails not do that you need React for?
<kapil___>
coffiscript i have to write very low level
<baweaver>
coffeescript is just a javascript derivative language
<baweaver>
you can do Javascript in Rails
<baweaver>
what do you mean by low level?
schneide_ has quit [Ping timeout: 256 seconds]
ta_ has quit [Ping timeout: 256 seconds]
<kapil___>
when one input change i need to recalculate other fields. and so much logics. i make this application in rails only. it was a pain. then i moved to react.
goatish has quit [Quit: Hibernating]
<baweaver>
and this isn't a pain?
<baweaver>
You can use jQuery for that easily.
<kapil___>
baweaver: this is too a pain :(
jenrzzz_ has joined #ruby
<baweaver>
Move back to just Rails, use jQuery for it
<baweaver>
what you're doing is overkill for a CRUD application
<baweaver>
what calculations do you need to do?
<kapil___>
now i so much time invested i cannot simple move back
<baweaver>
sunk cost fallacy, yes you can
ramfjord has joined #ruby
<baweaver>
you're not going to make any progress like this if you need to ask questions every few hours for things that are mostly self inflicted
<baweaver>
I know I come across as harsh on this but you're going to go off a cliff at this rate
ta_ has joined #ruby
jenrzzz has quit [Ping timeout: 248 seconds]
<kapil___>
baweaver: i will take consideration. but now i am at a stage. i cant move. can you show me actual solution to above question. its totally wrong??
<baweaver>
Do the simplest possible thing that works first. Adding React and GraphQL is not the simple thing
jenrzzz_ has quit [Ping timeout: 256 seconds]
<baweaver>
When a building is about to implode and a door won't close because of it you don't try and fix the door
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver>
you're going to keep coming back to that stage of being stuck like this on a very bespoke solution until no one can really help you anymore
<baweaver>
or, more likely, people ignore your questions
<kapil___>
baweaver: thanks for a example.
<kapil___>
i will rethink all again.
<baweaver>
The only reason I'm going off on you for this is that I know it's already starting to happen and it's only going to get worse if you keep going that way
<kapil___>
yes thanks i will fix it.
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has joined #ruby
vutral|kali has quit [Ping timeout: 240 seconds]
ltt has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
vutral|kali has quit [Excess Flood]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
schneide_ has quit [Ping timeout: 256 seconds]
Flashynuff has quit [Quit: Connection closed for inactivity]
ta_ has quit [Ping timeout: 260 seconds]
ta_ has joined #ruby
bmurt has joined #ruby
ltt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has joined #ruby
vutral|kali has quit [Ping timeout: 240 seconds]
ta_ has quit [Ping timeout: 268 seconds]
randomstrangerb has quit [Ping timeout: 240 seconds]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
randomstrangerb has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
Psybur has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
nowhere_man has joined #ruby
jtdoncas_ has joined #ruby
ta_ has joined #ruby
Psybur has quit [Ping timeout: 256 seconds]
nowhereman_ has quit [Ping timeout: 248 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Client Quit]
jaequery has joined #ruby
jaequery has quit [Client Quit]
jtdoncas_ has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
jaequery has quit [Client Quit]
nerium has quit [Quit: nerium]
ta_ has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
jaequery has quit [Client Quit]
jaequery has joined #ruby
jaequery has quit [Client Quit]
jaequery has joined #ruby
jaequery has quit [Client Quit]
gizmore|2 has joined #ruby
vutral|kali has quit [Ping timeout: 248 seconds]
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
karapetyan has quit [Remote host closed the connection]
gizmore has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AJA4350 has quit [Quit: AJA4350]
karapetyan has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
schneide_ has joined #ruby
Guest29 has joined #ruby
ta_ has joined #ruby
vutral|kali has quit [Ping timeout: 240 seconds]
schneide_ has quit [Ping timeout: 260 seconds]
jtdoncas_ has joined #ruby
rrutkowski has joined #ruby
jenrzzz has joined #ruby
cadillac_ has quit [Quit: I quit]
cadillac_ has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
sspreitz has quit [Ping timeout: 248 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
ivanskie has joined #ruby
jtdoncas_ has quit [Ping timeout: 240 seconds]
aintno_sunshine has quit [Remote host closed the connection]
milardovich has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 260 seconds]
alfiemax has joined #ruby
ta_ has joined #ruby
oleo has joined #ruby
vutral|kali has joined #ruby
vutral|kali has joined #ruby
vutral|kali has quit [Changing host]
alfiemax has quit [Ping timeout: 248 seconds]
ta_ has quit [Ping timeout: 240 seconds]
arescorpio has quit [Excess Flood]
vutral|kali has quit [Ping timeout: 248 seconds]
darkhanb has joined #ruby
ta_ has joined #ruby
cdg has quit [Ping timeout: 252 seconds]
crankharder has joined #ruby
ta_ has quit [Ping timeout: 256 seconds]
k0mpa has joined #ruby
x77686d has quit [Quit: x77686d]
quobo has quit [Quit: Connection closed for inactivity]
<apeiros>
but not necessarily some_class.singleton_class < some_class.ancestors[1].singleton_class
<konos5>
fine
<apeiros>
(superclass.class is always Class, .ancestors[1…].class can be Module)
<konos5>
let me put it this way
<konos5>
`Object.singleton_class.superclass` returns `#<Class:BasicObject>`. However I believe it should be `Kernel.singleton_class` since `Object` includes `Kernel`. Why isn't it so?
alfiemax has joined #ruby
<apeiros>
I just told you
<za1b1tsu>
I'm using pry as a breakpoint in rspec test, how can I continue the test?
<konos5>
"3:20 PM <apeiros> but not necessarily some_class.singleton_class < some_class.ancestors[1].singleton_class". Fine. Why?
<konos5>
According to the ruby object model this should always be the case
<za1b1tsu>
or I am using it wrong?
Guest29 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alfiemax has quit [Ping timeout: 276 seconds]
<konos5>
@apeiros Are you suggesting that by using inclusion instead of subclassing (which we can't use in Modules anyway) the inheritance tree only holds up to ancestors[0]?
<apeiros>
konos5: klass.ancestors[0] == klass, so yes, this part always holds up :-p
<apeiros>
konos5: as I said just a couple of lines before: only *subclassing* matters. *not* inclusion. inclusion changes the ancestry, but *not* superclass.
<Burgestrand>
I guess forall X.ancestors where ancestor is a Class then it holds that X.singleton_class < ancestor.singleton_class, right?
<apeiros>
>> module M; end; class A; end; class B < A; include M; end; [B.superclass, B.ancestors]
<ruby[bot]>
apeiros: # => [A, [B, M, A, Object, Kernel, BasicObject]] (https://eval.in/947077)
<apeiros>
konos5: ^ as you can see, B.superclass is NOT M
<apeiros>
and "according to *the* ruby object model" - what are you referencing there? reading the ISO standard?
ltt has joined #ruby
crankharder has joined #ruby
<apeiros>
Burgestrand: yes (apart from said inconsistencies in the root level), it should hold that X.singleton_class < X.ancestors[1..-1].find { |c| c.instance_of?(Class) }.singleton_class
<apeiros>
1..-1 since 0 is X itself
<Burgestrand>
apeiros .find or .sample? :d
<apeiros>
actually all?
<Burgestrand>
apeiros all classes, aye
kapil___ has joined #ruby
<apeiros>
would have to rephrase the code of course :)
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
schneide_ has quit [Remote host closed the connection]
schneide_ has joined #ruby
jenrzzz has joined #ruby
mark_66 has quit [Remote host closed the connection]
slester has joined #ruby
slester has quit [Client Quit]
clemens3 has quit [Ping timeout: 276 seconds]
drakko has joined #ruby
guacamole has joined #ruby
guacamole has joined #ruby
guacamole has quit [Changing host]
qba73 has quit [Remote host closed the connection]
qba73 has joined #ruby
sanscoeur has joined #ruby
dinfuehr has quit [Ping timeout: 240 seconds]
desperek has quit [Ping timeout: 276 seconds]
dinfuehr has joined #ruby
orbyt_ has joined #ruby
Beams has quit [Quit: .]
raynold has joined #ruby
jxv has quit [Quit: zzz…]
PaulCapestany has quit [Ping timeout: 240 seconds]
jxv has joined #ruby
randomstrangerb has quit [Ping timeout: 260 seconds]
randomstrangerb has joined #ruby
andikr has quit [Remote host closed the connection]
PaulCape_ has joined #ruby
apeiros has joined #ruby
schneide_ has quit [Remote host closed the connection]
karapetyan has joined #ruby
lytol has joined #ruby
qba73_ has joined #ruby
qba73 has quit [Ping timeout: 240 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
qba73_ has quit [Ping timeout: 276 seconds]
randomstrangerb has quit [Ping timeout: 240 seconds]
eckhardt has joined #ruby
randomstrangerb has joined #ruby
sleetdrop has quit [Quit: Computer has gone to sleep.]
chouhoulis has joined #ruby
chouhoulis has joined #ruby
flujan has left #ruby [#ruby]
crankharder has quit [Ping timeout: 248 seconds]
justinfaler has joined #ruby
nickjj has quit [Quit: Leaving]
Vapez has joined #ruby
nickjj has joined #ruby
tomphp has joined #ruby
gothicsouth has joined #ruby
vondruch has quit [Ping timeout: 248 seconds]
mikecmpbll has joined #ruby
John_Ivan has quit [Ping timeout: 240 seconds]
John_Ivan has joined #ruby
John_Ivan has joined #ruby
John_Ivan has quit [Changing host]
mrBen2k2k2k_ has joined #ruby
xcyclist has joined #ruby
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 240 seconds]
drakko has quit [Quit: xoxo]
<nchambers>
I just got the following line from rubocop: "C: Style/Documentation: Missing top-level class documentation comment.". I'd like to fix this to ensure best practices, but I'm not sure what it means. Does anyone have a thing that describes such comments?
desperek has joined #ruby
guille-moe has quit [Ping timeout: 240 seconds]
venmx has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
eckhardt has joined #ruby
Azure has quit [Read error: Connection reset by peer]
<snath>
Any suggestion on how to install ruby > 2.0 on CentOS 5? The why is a long story
deathwishdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
venmx has quit [Ping timeout: 264 seconds]
<SebastianThorn>
rbenv?
<snath>
I don't need multiple version
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg_ has joined #ruby
x77686d has joined #ruby
alex`` has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 268 seconds]
cdg has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Ping timeout: 256 seconds]
cdg_ has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
aguestuser has quit [Ping timeout: 255 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
karapetyan has joined #ruby
moei has joined #ruby
vichib has quit [Ping timeout: 276 seconds]
ta_ has quit [Quit: Leaving...]
eckhardt has joined #ruby
kiltzman has quit [Ping timeout: 264 seconds]
konos5 has quit [Quit: Connection closed for inactivity]
aguestuser has joined #ruby
milardovich has joined #ruby
jaruga has quit [Ping timeout: 268 seconds]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kapil___ has quit [Quit: Connection closed for inactivity]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
kiltzman has joined #ruby
kiltzman has quit [Max SendQ exceeded]
<SebastianThorn>
snath ?
<SebastianThorn>
i just install rbenv to get latest most often, but sometimes i dont wanna upgrade to latest
<miah>
snath: even if you dont need multiple versions, ruby-install/chruby, rbevn, rvm, are allw ays to get you a 2.0 onto CentOS 5
rrichardsr3 has joined #ruby
John_Ivan has quit [Ping timeout: 268 seconds]
<miah>
we had a system where we'd build using ruby-install, create a tarball, and install _that_ onto our systems
yottanami has joined #ruby
tvw has joined #ruby
<miah>
so rbenv didnt have to compile/download, just used the version we'd packaged
LocaMocha has quit [Ping timeout: 240 seconds]
claudiuinberlin has joined #ruby
alfiemax has quit [Remote host closed the connection]
anjen has joined #ruby
nachoman has joined #ruby
za1b1tsu has quit [Ping timeout: 256 seconds]
alfiemax has joined #ruby
zigzig has quit [Remote host closed the connection]
<anjen>
Hi folks... Not directly ruby, but related. Is there a command like 'gem list' that will return a listing of the installed gems *and their dependencies? I recall using something that produces that output a long time ago, but I can't remember how I did it.
<gizmore>
not sure if you mean bundled gems for an app
zautomata1 has quit [Quit: WeeChat 1.9.1]
<gizmore>
this would be another cmd
<anjen>
yeah actually that's the case.
zautomata has joined #ruby
ta_ has joined #ruby
alex`` has joined #ruby
pastorinni has quit [Ping timeout: 256 seconds]
<yottanami>
I am trying to parse a CVS file using ```csv_text = File.read('filialstamm.csv', :encoding => 'ISO-8859-1', :row_sep => :auto, :col_sep => ';')``` but I got this error http://dpaste.com/1KXE08F
<yottanami>
how should I fix it?
anjen has quit [Quit: anjen]
amatas_ has quit [Remote host closed the connection]
jxv has quit [Quit: zzz…]
John_Ivan has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
eckhardt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aguestuser has quit [Remote host closed the connection]
aguestuser has joined #ruby
guacamole has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karapetyan has quit [Remote host closed the connection]
bmurt has joined #ruby
jenrzzz has joined #ruby
karapetyan has joined #ruby
guille-moe has joined #ruby
marr has joined #ruby
leftpad has joined #ruby
karapetyan has quit [Remote host closed the connection]
<catphish>
havenwood: ah cool, shouldn't be a problem then
karapetyan has quit [Remote host closed the connection]
<havenwood>
hays: Look at the dump and load examples in the Singleton docs. You can do it with JSON instead of Marshal if that's your cup of tea.
<catphish>
i was considering using rack socket hijacking to implement websocket, but i'm concerned that it may not be practical because every websocket client will need to consume a thread from the server, most of which have a small fixed thread limit
<hays>
havenwood: i'll take a look. I don't immediately understand the sample code. If I do require 'gem/special_data' I want to be able to do Gem.SpecialData or Gem::SpecialData and have it show me the data
mtkd has quit [Ping timeout: 264 seconds]
mtkd has joined #ruby
justinfaler has quit [Ping timeout: 260 seconds]
orbyt_ has joined #ruby
alfiemax has joined #ruby
PaulCape_ has quit [Read error: Connection reset by peer]
justinfaler has joined #ruby
Thaelim has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
<nchambers>
is there something like Hash.clone but copies all of its members as well? for example if I have `myhash = { :foo => [1,2,3,4] }` and `newhash = myhash.clone`, newhash and myhash still refer to the same list
<nchambers>
is there a way to get a complete separate copy?
justinfaler has quit [Ping timeout: 264 seconds]
xcyclist_ has joined #ruby
<xcyclist_>
I'm looking to try one or two of the latest simple graph/plotting packages, and I tried installing rmagick and gruff and got errors.
<miah>
you probably need to install the rmagick development packages, libraries, headers and whatnot
<xcyclist_>
Ok. My ubuntu apt install, or gem installs?
<miah>
apt
<xcyclist_>
I have Ubuntu 16.04.3 LTS \n \l
<miah>
whenever you see errors about 'native extensions' that probably means your missing some system lib/header
<miah>
probably something like `sudo apt-get install imagemagick libmagickwand-dev`
<miah>
googling 'rmagic ubuntu ruby' and you'll probably find the right magic combination
darkhanb has joined #ruby
eckhardt has joined #ruby
xcyclist_ has quit [Ping timeout: 260 seconds]
biberu has quit []
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
postmodern has joined #ruby
xcyclist has joined #ruby
<xcyclist>
Sorry. I got cut off after doing a software update.
<xcyclist>
I am still looking for suggestions of ruby plotting or graphing software besides gruff. I'd like to play with at least two different choices and up to 5.
alfiemax has joined #ruby
justinfaler has joined #ruby
venmx_ has quit [Remote host closed the connection]
PaulCapestany has joined #ruby
tvw has quit []
tvw has joined #ruby
milardovich has joined #ruby
x77686d has quit [Quit: x77686d]
justinfaler has quit [Ping timeout: 265 seconds]
Eiam has quit [Read error: Connection reset by peer]