baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com | Ruby 2.5.1, 2.4.4, 2.3.7, 2.6.0-preview2: https://www.ruby-lang.org | Paste 4+ lines of text to https://dpaste.de/ and select ruby as the language | Rails questions? Ask in #RubyOnRails | Books: https://goo.gl/wpGhoQ | Logs: https://irclog.whitequark.org/ruby | Can't talk? Register/identify with Nickserv first!
lunarkitty7 is now known as fyrekitty
apeiros has quit [Ping timeout: 240 seconds]
clemens3 has quit [Ping timeout: 272 seconds]
sauvin has joined #ruby
Freshnuts has quit [Quit: Leaving]
modin has quit [Ping timeout: 240 seconds]
s2013 has joined #ruby
za1b1tsu has joined #ruby
apeiros has joined #ruby
t0x has quit [Quit: Connection closed for inactivity]
cyberzeus has joined #ruby
RedNifre has quit [Ping timeout: 260 seconds]
modin has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
c0san0stra has joined #ruby
za1b1tsu has quit [Ping timeout: 260 seconds]
apeiros has quit [Ping timeout: 256 seconds]
s2013 has quit [Ping timeout: 260 seconds]
RedNifre has joined #ruby
apeiros has joined #ruby
arescorpio has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
apeiros has joined #ruby
RedNifre has quit [Ping timeout: 244 seconds]
apeiros has quit [Ping timeout: 240 seconds]
DTZUZO has quit [Quit: WeeChat 2.0]
Tempesta has joined #ruby
vonfry has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
cyberzeus has left #ruby ["ciao edie"]
apeiros has joined #ruby
DTZUZO has joined #ruby
Mikel_ has quit [Quit: Leaving]
apeiros has quit [Ping timeout: 256 seconds]
vonfry has quit [Quit: WeeChat 2.2]
duderonomy has joined #ruby
apeiros has joined #ruby
s2013 has joined #ruby
apeiros has quit [Ping timeout: 260 seconds]
s2013 has quit [Ping timeout: 268 seconds]
t0x has joined #ruby
arescorpio has quit [Remote host closed the connection]
apeiros has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
apeiros has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 276 seconds]
reber has quit [Remote host closed the connection]
AJA4350 has quit [Quit: AJA4350]
arescorpio has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
apeiros has joined #ruby
jdawgaz has joined #ruby
faitswulff has joined #ruby
apeiros has quit [Ping timeout: 272 seconds]
za1b1tsu has joined #ruby
apeiros has joined #ruby
clorisu has joined #ruby
<clorisu> hi, can anyone tell me what the difference is between the to_s method and join("\n")
za1b1tsu has quit [Ping timeout: 276 seconds]
apeiros has quit [Ping timeout: 240 seconds]
Kug3lis has quit [Ping timeout: 240 seconds]
<mozzarella> clorisu: they do different things…
apeiros has joined #ruby
Hobbyboy has quit [Quit: I think the BNC broke.]
Hobbyboy has joined #ruby
<clorisu> hi mozzarella , im just following along this tutorial https://gyazo.com/3ef4da86b4053107c8a31c8d818e8dd5 and the highlighted output says the join put the lines into strings, isnt that what to_s does?
sameerynho has quit [Ping timeout: 244 seconds]
yokel has quit [Ping timeout: 240 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
thy0 has quit [Quit: TTFN]
Xiti` is now known as Xiti
akaiiro has quit [Ping timeout: 268 seconds]
cadillac_ has quit [Ping timeout: 260 seconds]
faitswulff has quit [Remote host closed the connection]
savolla has quit [Read error: Connection reset by peer]
cadillac_ has joined #ruby
faitswulff has joined #ruby
cadillac_ has quit [Client Quit]
cadillac_ has joined #ruby
za1b1tsu has joined #ruby
sspreitz has quit [Ping timeout: 260 seconds]
gix has quit [Disconnected by services]
sspreitz has joined #ruby
braincras has quit [Quit: bye bye]
za1b1tsu has quit [Ping timeout: 276 seconds]
gaara4896 has joined #ruby
braincrash has joined #ruby
<gaara4896> Hi, I am running 2 Jekyll locally. When I serve the second jekyll project, it show the head, css and other element from the first jekyll project. Any potential issue?
<gaara4896> I do `bundle install` in the first project system wide
arescorpio has quit [Quit: Leaving.]
_whitelogger has joined #ruby
faitswulff has joined #ruby
jottr has joined #ruby
faitswulff has quit [Ping timeout: 265 seconds]
Nicmavr has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 272 seconds]
Nicmavr has joined #ruby
akaiiro has joined #ruby
gaara4896 has quit [Quit: leaving]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kapil___ has joined #ruby
jdawgaz has joined #ruby
t0x is now known as t0xik
tdy1 is now known as tdy
akaiiro has quit [Remote host closed the connection]
faitswulff has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
za1b1tsu has quit [Ping timeout: 240 seconds]
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
faitswulff has quit [Remote host closed the connection]
segy has quit [Quit: ZNC - http://znc.in]
salasrod has quit [Quit: /quit]
salasrod has joined #ruby
jottr has joined #ruby
segy has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
patr0clus has joined #ruby
faitswulff has joined #ruby
faitswulff has quit [Ping timeout: 265 seconds]
clorisu has quit [Remote host closed the connection]
clorisu has joined #ruby
nowhereman_ has joined #ruby
cadillac_ has quit [Ping timeout: 268 seconds]
Xiti has quit [Ping timeout: 244 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
troys has quit [Quit: Bye]
duderono_ has joined #ruby
Freshnuts has joined #ruby
duderonomy has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
apparition has quit [Quit: Bye]
za1b1tsu has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
jottr has joined #ruby
reber has joined #ruby
za1b1tsu has quit [Ping timeout: 272 seconds]
jottr has quit [Quit: WeeChat 2.2]
tdy1 has joined #ruby
tdy has quit [Ping timeout: 256 seconds]
doubledup has joined #ruby
doubledup has quit [Max SendQ exceeded]
doubledup has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
DTZUZO has quit [Ping timeout: 244 seconds]
faitswulff has joined #ruby
faitswulff has quit [Ping timeout: 260 seconds]
rippa has joined #ruby
Emmanuel_Chanel has quit [Read error: Connection reset by peer]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
za1b1tsu has joined #ruby
clemens3 has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
thebigj has joined #ruby
<thebigj> I am trying to solve Ruby issue. This is my Ruby version https://dpaste.de/LcyC/raw Before few months (almost 6 months) I installed Jekyll and I was able to make the build of my website. Few days back I am trying to build using "jekyll build" and it is giving me this error https://dpaste.de/A4bb/raw
<thebigj> But I am unable to overcome the error
<thebigj> and then again performed "gem install bundler jekyll"
<thebigj> Can anyone help?
<thebigj> thanks
<apeiros> thebigj: apparently you installed a ruby22, installed jekyll with and and then deinstalled ruby22 but kept jekyll. and now your jekyll can't find ruby22 anymore.
<apeiros> so 2 options I'd say: a) reinstall jekyll with your current ruby, b) reinstall ruby22
<thebigj> apeiros: How can I unsintall jekyll?
<apeiros> how did you install it?
<thebigj> apeiros: I already treid 'gem cleanup jekyll' and 'gem uninstall jekyll'
sameerynho has joined #ruby
<apeiros> if you installed it via `gem install jekyll`, then `gem uninstall jekyll` should have worked.
<thebigj> apeiros: What are other ways to install jekyll?
<apeiros> some package managers can also install gems
<thebigj> apeiros: okay.
<apeiros> worst case you delete the files by hand. it's rather ugly and possible that you miss files.
<thebigj> apeiros: When I try to install jekyll using the package manager of my distribution, It is not re-installing
<thebigj> apeiros: So, I can confirm that the previous installation insn't installed by it
<thebigj> apeiros: Will output of "gem env" help?
lupine has quit [Ping timeout: 268 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
<apeiros> it might. also post `cat /usr/local/bin/jekyll` and `echo $PATH`
RedNifre has joined #ruby
graphene has quit [Remote host closed the connection]
graphene has joined #ruby
lupine has joined #ruby
Dbugger has joined #ruby
Zaab1t has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
wildermind has joined #ruby
fyrekitty has quit [Ping timeout: 240 seconds]
dellavg has joined #ruby
snuz has joined #ruby
Freshnuts has quit [Ping timeout: 240 seconds]
fyrekitty has joined #ruby
venmx has joined #ruby
tristanp has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
Mike11 has joined #ruby
guardian has joined #ruby
Mike11 has quit [Ping timeout: 276 seconds]
Zaab1t has quit [Quit: Zaab1t]
conta has joined #ruby
alex`` has joined #ruby
dellavg has quit [Ping timeout: 272 seconds]
faitswulff has joined #ruby
faitswulff has quit [Ping timeout: 260 seconds]
postmodern has quit [Quit: Leaving]
CaptainAmari has joined #ruby
<CaptainAmari> Hi guys, hope it's okay to ask here. I'm trying to to develop a ruby gem with a C extension. I've never developed a gem before so I am not sure what I want. I saw hoe and rake and other tools but I want the bare minimum... is this wrong? im thinking of just having a gemspec file and a rakefile and thats it.
<apeiros> the bare minimum is a gemspec
<apeiros> but be sure to check out https://guides.rubygems.org
<CaptainAmari> apeiros, yes thank you, I am. Is it okay to include the gemspec inside my rakefile?
<CaptainAmari> or is it considered bad practice
<apeiros> not quite sure what you mean by that
<apeiros> the gemspec is a separate file, named yourgemsname.gemspec
redlegion has quit [Ping timeout: 250 seconds]
redlegion has joined #ruby
<CaptainAmari> i see
<CaptainAmari> thanks
fyrekitty has quit [Ping timeout: 276 seconds]
venmx has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
Zaab1t has joined #ruby
Azure|dc has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
nowhereman_ has quit [Ping timeout: 240 seconds]
Xiti has joined #ruby
AJA4350 has joined #ruby
fyrekitty has joined #ruby
nowhereman_ has joined #ruby
clorisu has quit [Remote host closed the connection]
DTZUZO has joined #ruby
thy0 has joined #ruby
conta has quit [Quit: conta]
jdawgaz has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
al2o3-cr has quit [Quit: WeeChat 2.2]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
duderono_ has quit [Ping timeout: 272 seconds]
faitswulff has joined #ruby
duderonomy has joined #ruby
jottr has joined #ruby
venmx has joined #ruby
naftilos76_ has joined #ruby
DLSteve has joined #ruby
jottr has quit [Quit: WeeChat 2.0.1]
t0xik has quit [Quit: Connection closed for inactivity]
jackrandom has quit [Quit: ZNC - https://znc.in]
jackrandom has joined #ruby
faitswulff has quit [Remote host closed the connection]
kapil___ has joined #ruby
konsolebox has joined #ruby
faitswulff has joined #ruby
<naftilos76_> Hi i am using a ruby script as a daemon to implement a ruby server over ssl. The thing is that when i try to do "ruby script_name.rb stop" i have to wait until ruby decides to kill it (forcefully). Trying to stop another ruby daemon that is not a server works fine. Any ideas why the ruby server does not stop?
<konsolebox> maybe show your daemon script
DarthGandalf has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
xlegoman has joined #ruby
faitswulff has quit [Remote host closed the connection]
nowhereman_ has quit [Ping timeout: 276 seconds]
venmx has quit [Ping timeout: 276 seconds]
faitswulff has joined #ruby
Nicmavr has quit [Read error: Connection reset by peer]
Nicmavr has joined #ruby
Zaab1t has quit [Quit: Zaab1t]
Inline has quit [Read error: Connection reset by peer]
Inline has joined #ruby
donofrio has quit [Ping timeout: 268 seconds]
faitswulff has quit [Remote host closed the connection]
Inline has quit [Read error: Connection reset by peer]
faitswulff has joined #ruby
<nikivi> can someone help with a script I am writing
<nikivi> it is basically generating JSON however the issue I have is that it doesn't generate commas after the blocks
<nikivi> so I am forced to add those print(',') statements in the def main
Inline has joined #ruby
faitswulff has quit [Remote host closed the connection]
MuffinPimp has quit [Quit: Goodbye.]
Inline has quit [Read error: Connection reset by peer]
<konsolebox> nikivi: i believe { ... },{ ... } is not JSON
<konsolebox> nikivi: [{ ... },{ ... }] is
Inline has joined #ruby
<nikivi> yeah you are right konsolebox
<konsolebox> nikivi: and if you want to do it right, i suggest pretty_generate-ing them all at once as a single array
<nikivi> it generates {}
<nikivi> I just want it to generate {},
<nikivi> and then I will add final print(',') in the end of def main
faitswulff has joined #ruby
<nikivi> konsolebox not sure how I can refactor is so I do it all in one pretty_generate
<Zarthus> nikivi: Why does your script `puts` them?
dellavg has joined #ruby
<nikivi> Zarthus not sure
<Zarthus> if you were to just return ruby hashes in all of them you could combine it no issue and json.pretty_generate it only once
<nikivi> it is modification of a script done by another person
<nikivi> it works though
<nikivi> Zarthus I also split it up into methods
<Zarthus> i don't think so, looks like it generates invalid json
<wyoung> Hi I'm Principal Vagina, the name's real possibly Scandinavian. The name's Principal Vagina, no relation. Principle Vagina here, don't let the name fool ya, I'm still in charge.
<Zarthus> they should puts [, puts ] at the begin/end
<wyoung> ooops, wrong channel.
<nikivi> the generated code is not valid JSON in that it goes inside [] of JSON structure
<nikivi> it goes inside an array
houhoulis has joined #ruby
<Zarthus> nikivi, yes, but the current code does not do that
<nikivi> gives description
<Zarthus> either way, my suggestion is to ditch the `puts`, ditch the `json.pretty_generate`, return the value as-is, and then combine them all in the main()
<nikivi> basically I generate the code and paste it inside rules [] block
<konsolebox> nikivi: if you're combining raw JSON strings, i suggest that you convert them to ruby objects first
<apeiros> !troll wyoung
wyoung was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
<nikivi> konsolebox can you give an example of how that will look please?
<konsolebox> >> a = []; a << JSON.parse('{ "abc": "xyz" }'); a << JSON.parse('{ "xyz": "abc" }'); a.to_json
<ruby[bot]> konsolebox: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
CaptainAmari has quit [Quit: Leaving]
<konsolebox> >> [JSON.parse('{ "abc": "xyz" }'), JSON.parse('{ "xyz": "abc" }')].to_json
<ruby[bot]> konsolebox: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<konsolebox> >> require 'json'; a = []; a << JSON.parse('{ "abc": "xyz" }'); a << JSON.parse('{ "xyz": "abc" }'); a.to_json
<ruby[bot]> konsolebox: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<konsolebox> bot still broken?
MuffinPimp has joined #ruby
<konsolebox> anyway you get the concept
cadillac_ has quit [Read error: Connection reset by peer]
<nikivi> but I am still dealing with raw JSON
<nikivi> dont see why that is differt to what I am doing now
<Zarthus> you're not.. it's the functions that use json.pretty_generate
<konsolebox> maybe it's no different, but that's one of the ways you can use to avoid print(,)
cadillac_ has joined #ruby
<konsolebox> nikivi: maybe you can use this hack: "[" + [swapkeys, simkeys, wkey, ekey, rkey, ikey, okey, akey, skey, dkey, fkey, zkey].join(',') + "]"
<nikivi> konsolebox I can just put that now in my code?
<nikivi> or I have to make some changes
mitescugd has joined #ruby
<konsolebox> nikivi: i believe that's easy to understand
za1b1tsu has quit [Ping timeout: 276 seconds]
<nikivi> I am a bit confused by what you meant there
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
tdy1 has quit [Ping timeout: 276 seconds]
<apeiros> whois wyoung
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
naftilos76_ has quit [Remote host closed the connection]
<konsolebox> nikivi: try to understand the code. if you need reference, see https://ruby-doc.com/.
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fmcgeough has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
faitswulff has quit [Remote host closed the connection]
IanMalcolm has joined #ruby
jdawgaz has joined #ruby
coffeecupp has quit [Ping timeout: 248 seconds]
za1b1tsu has joined #ruby
pistachio has quit [Ping timeout: 260 seconds]
coffeecupp__ has joined #ruby
za1b1tsu has quit [Ping timeout: 260 seconds]
patr0clus has quit [Ping timeout: 276 seconds]
pistachio has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raz has joined #ruby
<raz> hmm. i'd like to monkey-patch Class, so that AnyClass.path returns the filesystem location to the source code (__FILE__). any ideas anyone?
jdawgaz has joined #ruby
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
faitswulff has joined #ruby
thebigj has left #ruby [#ruby]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mitescugd has quit [Quit: C-x C-c]
faitswulff has quit [Ping timeout: 276 seconds]
cadillac_ has quit [Ping timeout: 268 seconds]
cadillac_ has joined #ruby
orbyt_ has joined #ruby
mitescugd has joined #ruby
patr0clus has joined #ruby
mitescugd has quit [Client Quit]
<apeiros> raz: what if your class is opened in more than one file?
mitescugd has joined #ruby
<raz> apeiros: good question. for starters i'd be fine to get any (or all) of the paths in that case
<raz> so far i found it impossible to dynamically get at the path at all (both __FILE__ and caller_locations let me down)
<raz> i.e. it's trivial do hardcode this into _one_ class. i'd like a solution that gives me the method for all classes
wstlr has joined #ruby
jdawgaz has joined #ruby
<apeiros> you can only really get the information for methods. https://gist.github.com/apeiros/cd6b5b9861998c6b247c82e53dfc7d59 is something I gave somebody else a short while ago.
<apeiros> you can improve it with private & protected methods
Nicmavr has quit [*.net *.split]
JJonah has quit [*.net *.split]
Scient has quit [*.net *.split]
arthurnn has quit [*.net *.split]
octomanc1 has quit [*.net *.split]
awx_ has quit [*.net *.split]
marens has quit [*.net *.split]
kloeri has quit [*.net *.split]
justinmrkva has quit [*.net *.split]
Siarkowy has quit [*.net *.split]
genpaku has quit [*.net *.split]
mitescugd has quit [Quit: C-x C-c]
Siarkowy has joined #ruby
fmcgeough has quit [Ping timeout: 240 seconds]
sspreitz has quit [Ping timeout: 260 seconds]
Scient has joined #ruby
mitescugd has joined #ruby
arthurnn has joined #ruby
_habnabit has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
justinmrkva has joined #ruby
<raz> hmm yap, it's tricky
d^sh has joined #ruby
sspreitz has joined #ruby
kloeri has joined #ruby
beefjoe has joined #ruby
Nicmavr has joined #ruby
wstlr has quit []
snickers has quit [Read error: Connection reset by peer]
faitswulff has joined #ruby
Nicmavr has quit [*.net *.split]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
faitswulff has quit [Ping timeout: 260 seconds]
Nicmavr has joined #ruby
kapil___ has quit [Quit: Connection closed for inactivity]
blackbaba has joined #ruby
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
beefjoe has quit [Remote host closed the connection]
mroutis has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
s2013 has joined #ruby
jdawgaz has joined #ruby
faitswulff has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
blackbaba has quit [Quit: Going offline, see ya! (www.adiirc.com)]
duderonomy has joined #ruby
jdawgaz has joined #ruby
faitswulff has quit [Remote host closed the connection]
faitswulff has joined #ruby
RedNifre_ has joined #ruby
mitescugd has quit [Quit: C-x C-c]
RedNifre has quit [Ping timeout: 276 seconds]
mitescugd has joined #ruby
DTZUZO has quit [Ping timeout: 272 seconds]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yxhuvud has quit [Remote host closed the connection]
mroutis has left #ruby [#ruby]
IanMalcolm has joined #ruby
IanMalcolm has quit [Client Quit]
mroutis has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mroutis has quit [Client Quit]
mroutis has joined #ruby
Yxhuvud has joined #ruby
mroutis has quit [Client Quit]
faitswulff has quit [Remote host closed the connection]
mroutis has joined #ruby
mroutis has quit [Client Quit]
faitswulff has joined #ruby
patr0clus has quit [Ping timeout: 272 seconds]
wstlr has joined #ruby
jdawgaz has joined #ruby
faitswul_ has joined #ruby
alex`` has quit [Quit: WeeChat 2.2]
dellavg has quit [Ping timeout: 244 seconds]
faitswulff has quit [Ping timeout: 260 seconds]
s2013 has joined #ruby
alex`` has joined #ruby
wstlr has quit [Ping timeout: 272 seconds]
za1b1tsu has joined #ruby
KadotyGamer has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has quit [Ping timeout: 240 seconds]
za1b1tsu has quit [Ping timeout: 260 seconds]
faitswul_ has quit [Remote host closed the connection]
orbyt_ has joined #ruby
KadotyGamer has quit [Quit: Leaving]
KadotyGamer has joined #ruby
faitswulff has joined #ruby
faitswulff has quit [Ping timeout: 265 seconds]
Cthulu201 has quit [Ping timeout: 244 seconds]
KadotyGamer has quit [Quit: Leaving]
KadotyGamer has joined #ruby
impermanence has joined #ruby
jdawgaz has joined #ruby
SCHAPiE has quit [Quit: ZNC - https://znc.in]
kevinsjoberg has joined #ruby
Freshnuts has joined #ruby
mroutis has joined #ruby
Freshnuts has quit [Client Quit]
Freshnuts has joined #ruby
SCHAPiE has joined #ruby
\void has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
nickjj has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
herbmillerjr has joined #ruby
cadillac_ has joined #ruby
jdawgaz has joined #ruby
mroutis has quit [Quit: leaving]
dionysus69 has joined #ruby
nielsk has quit [Quit: So Long, and Thanks for All the Fish]
nielsk has joined #ruby
s2013 has joined #ruby
s2013 has quit [Client Quit]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
za1b1tsu has joined #ruby
dellavg has joined #ruby
za1b1tsu has quit [Ping timeout: 276 seconds]
DLSteve has joined #ruby
za1b1tsu has joined #ruby
wstlr has joined #ruby
kevinsjoberg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dviola has joined #ruby
nofxx has joined #ruby
kapil___ has joined #ruby
<nofxx> Need a name for a gem, it's yet another PID lib, but YAPID too cliché heh, also it does proportional on measure...
drale2k_ has joined #ruby
drale2k_ has quit [Client Quit]
mitescugd has quit [Quit: C-x C-c]
mitescugd has joined #ruby
alex`` has quit [Quit: WeeChat 2.2]
<apeiros> what's a PID lib?
* apeiros thinks piddy
doubledup has quit [Quit: Leaving]
<nofxx> apeiros, proportional integral derivative... in a few words "smooths" movements
<apeiros> and there I was wondering what a library for process IDs would do 😂
<nofxx> movement can be mechanic or heat/cold for instance
<apeiros> thanks for the explanation
<apeiros> smoothymovy
<apeiros> (yeah, sorry, only stupid names from me, don't mind me :D)
houhoulis has quit []
IanMalcolm has joined #ruby
<nofxx> apeiros, heeh it does actually say a lot...smoothymovy
LiftLeft2 has joined #ruby
LiftLeft has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
mroutis has joined #ruby
dellavg has quit [Ping timeout: 244 seconds]
LiftLeft2 has quit [Ping timeout: 255 seconds]
LiftLeft2 has joined #ruby
LiftLeft2 is now known as LiftLeft
mroutis has quit [Ping timeout: 276 seconds]
venmx has joined #ruby
t0xik has joined #ruby
jasmith has joined #ruby
nowhereman_ has joined #ruby
reber has quit [Remote host closed the connection]
Cthulu201 has joined #ruby
KipperedSnack has joined #ruby
<weaksauce> what does your lib do that a few basic functions wouldn't do nofxx
<weaksauce> i've done some industrial process engineering and it's a pretty simple algorithm
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
wildermind has quit [Quit: Connection closed for inactivity]
houhoulis has joined #ruby
<nofxx> weaksauce, I'm just the translator: http://brettbeauregard.com/blog/category/pid/
<nofxx> will test soon if it's indeed better for my needs, but any case, I wanted to change a lil the PID lib I was using. And albeit simple I think it's a good practice to have it in a gem to reuse.
<nofxx> allegedly, PonM works better for temperature control
jshjsh has quit [Remote host closed the connection]
jshjsh has joined #ruby
jshjsh has quit [Read error: Connection reset by peer]
jshjsh has joined #ruby
<weaksauce> gotcha
<weaksauce> i'd end up using no derivative term a lot of the time
s2013 has joined #ruby
venmx has quit [Remote host closed the connection]
<weaksauce> nofxx you just translating that cpp code into ruby?
<weaksauce> any anti-windup features?
s2013 has quit [Max SendQ exceeded]
<weaksauce> there are a few other forms that you can use too instead of the naive variant
<weaksauce> the velocity method is nicer to tweak and tune
desku has joined #ruby
<weaksauce> there are a few different equations in there
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mikkel- has quit [Ping timeout: 260 seconds]
Freshnuts has quit [Quit: Leaving]
desku has quit [Quit: Leaving]
Dbugger has quit [Ping timeout: 265 seconds]
IanMalcolm has joined #ruby
clemens3 has quit [Ping timeout: 268 seconds]
sticaz has quit [Quit: My name Heff]
KipperedSnack is now known as mindamp
sticaz has joined #ruby
duderonomy has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
graphene has quit [Remote host closed the connection]
Azure has joined #ruby
graphene has joined #ruby
venmx has joined #ruby
snuz has quit [Quit: WeeChat 2.2]
Azure has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
wstlr has quit [Remote host closed the connection]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
kapil___ has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
Sina has quit [Quit: Connection closed for inactivity]
tty has quit [Quit: tty]
faitswulff has joined #ruby
mitescugd has quit [Quit: C-x C-c]
mitescugd has joined #ruby
jordanm has quit [Remote host closed the connection]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jordanm has joined #ruby
faitswulff has quit [Remote host closed the connection]
orbyt_ has joined #ruby
mitescugd has quit [Quit: C-x C-c]
mitescugd has joined #ruby
impermanence has quit [Remote host closed the connection]
jshjsh has quit [Remote host closed the connection]
jshjsh has joined #ruby
venmx has quit [Ping timeout: 272 seconds]
za1b1tsu has quit [Ping timeout: 272 seconds]
IanMalcolm has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
houhoulis has quit []
<kspencer> has anyone ever messed around with talkd and using ruby to interface with it, because I'm getting the urge to and I want to know if any has aver thought of it
t0xik has quit [Quit: Connection closed for inactivity]
apeiros has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marvin2 has joined #ruby
sameerynho has quit [Ping timeout: 272 seconds]