havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
mim1k has joined #ruby
marr has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
gusrub has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
nicesignal has quit [Quit: WeeChat 1.4]
roamingdog has quit [Remote host closed the connection]
gusrub has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
johnny56 has quit [Ping timeout: 264 seconds]
w0b has quit [Quit: -a- Connection Timed Out]
cschneid_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
nicesignal has joined #ruby
raspado has joined #ruby
gusrub has quit [Remote host closed the connection]
cschneid_ has quit [Ping timeout: 255 seconds]
birdyondrugs has quit [Ping timeout: 240 seconds]
w0b has joined #ruby
birdyondrugs has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
johnny56 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
jaequery has joined #ruby
raspado has quit [Quit: Leaving...]
haylon has joined #ruby
N0ATN has quit [Quit: ZNC 1.7.x-git-775-96c92ef8 - https://znc.in]
hahuang65 has joined #ruby
w0b has quit [Quit: -a- IRC for Android 2.1.20]
blackwind_123 has quit [Ping timeout: 255 seconds]
N0ATN has joined #ruby
hahuang65 has quit [Ping timeout: 260 seconds]
TvL2386 has quit [Ping timeout: 240 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
poloych has quit [Remote host closed the connection]
cam27 has joined #ruby
blackwind_123 has joined #ruby
fxa has joined #ruby
nacsurte has quit [Ping timeout: 268 seconds]
skweek has joined #ruby
fxa90id has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 255 seconds]
duper has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
blackwind_123 has joined #ruby
GodFather has joined #ruby
haylon has quit []
charliesome has joined #ruby
im0nde has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 240 seconds]
TvL2386 has joined #ruby
QpQ4 has joined #ruby
d10n-work has quit [Quit: Connection closed for inactivity]
haylon has joined #ruby
marxarelli is now known as marxarelli|afk
mim1k has joined #ruby
arescorpio has joined #ruby
druonysus has quit [Ping timeout: 255 seconds]
snowcrshd has quit [Remote host closed the connection]
friday has quit [Changing host]
friday has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
jphase has quit [Ping timeout: 246 seconds]
apparition has joined #ruby
t-recx has quit [Quit: t-recx]
cschneid_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
cschneid_ has quit [Ping timeout: 246 seconds]
hotpancakes has joined #ruby
hutch34 has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
brent__ has joined #ruby
mim1k has joined #ruby
brent__ has quit [Ping timeout: 255 seconds]
hahuang65 has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
eputnam has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 255 seconds]
uZiel has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mikecmpbll has quit [Quit: inabit. zz.]
brent__ has joined #ruby
hfp_work has quit [Quit: bye]
jaequery has joined #ruby
hfp_work has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 255 seconds]
herbmillerjr has joined #ruby
blackwind_123 has joined #ruby
d^sh has quit [Ping timeout: 240 seconds]
ketan has joined #ruby
hotpancakes has joined #ruby
d^sh has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
ketan has quit [Ping timeout: 260 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
gizmore|2 has joined #ruby
jameser has joined #ruby
hutch34 has joined #ruby
gizmore has quit [Ping timeout: 255 seconds]
jameser has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
apparition has quit [Read error: Connection reset by peer]
apparition has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
uZiel has quit [Ping timeout: 248 seconds]
jameser has joined #ruby
hoocares has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
mim1k has joined #ruby
Dimik has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
nacsurte has joined #ruby
hoocares has quit [Quit: Textual IRC Client: www.textualapp.com]
Puppet_ has quit [Quit: Leaving]
kies has quit [Ping timeout: 260 seconds]
nacsurte has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
astrobunny has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
ndrei has joined #ruby
roamingdog has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
eibay has quit [Ping timeout: 260 seconds]
blackwind_123 has joined #ruby
Pisuke has quit [Read error: Connection reset by peer]
hotpancakes has joined #ruby
Pisuke has joined #ruby
shinnya has quit [Ping timeout: 240 seconds]
astrobunny has quit [Remote host closed the connection]
patarr has joined #ruby
astrobunny has joined #ruby
mim1k has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
hotpancakes has quit [Ping timeout: 246 seconds]
astrobunny has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 260 seconds]
blackwind_123 has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 268 seconds]
blackwind_123 has joined #ruby
dviola has joined #ruby
hahuang65 has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 240 seconds]
dh64 has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
blackwind_123 has joined #ruby
hahuang65 has joined #ruby
amclain has quit [Quit: Leaving]
hahuang65 has quit [Ping timeout: 260 seconds]
MrSparkle is now known as AppleJacky
nacsurte has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
mim1k has joined #ruby
gix has quit [Ping timeout: 240 seconds]
nacsurte has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 240 seconds]
latemus has joined #ruby
Vingador has joined #ruby
gix has joined #ruby
nofxxxx has quit [Ping timeout: 240 seconds]
dviola has quit [Quit: WeeChat 1.8]
hotpancakes has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
Vingador has quit [Remote host closed the connection]
blackwind_123 has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
nofxxxx has joined #ruby
mim1k has joined #ruby
________ has quit [Quit: Connection closed for inactivity]
mim1k has quit [Ping timeout: 240 seconds]
QpQ4 has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Silthias1 has quit [Ping timeout: 255 seconds]
ketan has joined #ruby
kies has joined #ruby
Silthias has joined #ruby
ketan has quit [Ping timeout: 268 seconds]
umaaji has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
blackwind_123 has quit [Ping timeout: 240 seconds]
quobo has quit [Quit: Connection closed for inactivity]
DonaldTrump007 has joined #ruby
lightstalker has quit [Ping timeout: 240 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
KeyJoo has joined #ruby
blackwind_123 has joined #ruby
lightstalker has joined #ruby
DonaldTrump007 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
hotpancakes has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
AppleJacky is now known as MrSparkle
jaequery has joined #ruby
mochiyoda_ has quit [Ping timeout: 246 seconds]
uZiel has quit [Remote host closed the connection]
dasher00 has quit [Ping timeout: 246 seconds]
ascarter has joined #ruby
mim1k has joined #ruby
uZiel has joined #ruby
vipaca has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
imkatim has joined #ruby
nacsurte has joined #ruby
dasher00 has joined #ruby
pwnd_nsfw` has joined #ruby
nacsurte has quit [Ping timeout: 260 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
brent__ has joined #ruby
hutch34 has joined #ruby
nanoz has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
agent_white has quit [Quit: bai]
agent_white has joined #ruby
cpruitt has quit [Quit: cpruitt]
brent__ has quit [Ping timeout: 268 seconds]
eightlimbed has joined #ruby
mim1k has joined #ruby
cpruitt has joined #ruby
ascarter has quit [Ping timeout: 276 seconds]
astrobunny has joined #ruby
nofxxx has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
cpruitt has quit [Client Quit]
ornerymoose has joined #ruby
haylon has quit [Ping timeout: 240 seconds]
nofxxxx has quit [Ping timeout: 246 seconds]
patarr has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
nadir has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 246 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
moneylotion has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
jackjackdripper has joined #ruby
vipaca has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpanca_ has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
arescorpio has quit [Quit: Leaving.]
hotpanca_ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
beilabs_ has quit [Quit: Ex-Chat]
beilabs__ has joined #ruby
hahuang65 has joined #ruby
planigan has quit [Ping timeout: 240 seconds]
hahuang65 has quit [Ping timeout: 240 seconds]
Cohedrin_ has joined #ruby
moneylotion has joined #ruby
vipaca has joined #ruby
howdoi has joined #ruby
nacsurte has joined #ruby
vipaca is now known as Guest31714
Guest31714 has quit [Changing host]
Guest31714 has joined #ruby
ur5us has quit [Remote host closed the connection]
nacsurte has quit [Ping timeout: 260 seconds]
uZiel has quit [Ping timeout: 248 seconds]
hotpanca_ has quit [Remote host closed the connection]
planigan has joined #ruby
anisha has joined #ruby
hotpancakes has joined #ruby
uZiel has joined #ruby
muelleme_ has joined #ruby
jenrzzz has joined #ruby
Guest31714 has quit [Quit: Textual IRC Client: www.textualapp.com]
andikr has joined #ruby
aupadhye has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
ketan has joined #ruby
llua has joined #ruby
dionysus69 has joined #ruby
enterprisey has joined #ruby
ketan has quit [Ping timeout: 268 seconds]
uZiel has quit [Remote host closed the connection]
anisha has quit [Quit: This computer has gone to sleep]
ornerymoose has quit [Quit: ornerymoose]
ltem has joined #ruby
aufi has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
cschneid_ has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 276 seconds]
nanoz has quit [Ping timeout: 255 seconds]
blackwind_123 has joined #ruby
uZiel has joined #ruby
ledestin has joined #ruby
jenrzzz has quit [Ping timeout: 258 seconds]
quobo has joined #ruby
enterprisey has quit [Remote host closed the connection]
johnny56 has quit [Ping timeout: 264 seconds]
joonty has joined #ruby
nanoz has joined #ruby
nanoz has joined #ruby
nanoz has quit [Changing host]
rgr has joined #ruby
conta has joined #ruby
nacsurte has joined #ruby
nanoz has quit [Ping timeout: 246 seconds]
ascarter has joined #ruby
muelleme_ has quit [Ping timeout: 243 seconds]
nacsurte has quit [Ping timeout: 240 seconds]
latemus has quit [Quit: leaving]
ascarter has quit [Ping timeout: 260 seconds]
Dimik has quit []
rgr has quit [Quit: Leaving]
jgpawletko has joined #ruby
djbkd has joined #ruby
johnny56 has joined #ruby
im0nde has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
hotpancakes has joined #ruby
Bhootrk_ has quit [Ping timeout: 246 seconds]
Bhootrk_ has joined #ruby
TomyWork has joined #ruby
patarr has joined #ruby
gizmore|2 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
sekmo has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
imkatim has quit []
ascarter has joined #ruby
SpiffTR has joined #ruby
hotpancakes has quit [Ping timeout: 276 seconds]
uZiel has quit [Ping timeout: 248 seconds]
judofyr has joined #ruby
SpiffTR has quit [Quit: Leaving.]
eightlimbed has quit [Ping timeout: 246 seconds]
vondruch_ has joined #ruby
Ilie[] has quit [Read error: Connection reset by peer]
uZiel has joined #ruby
Coldblackice has joined #ruby
djbkd has quit [Remote host closed the connection]
rohitpaulk has joined #ruby
hahuang65 has joined #ruby
conta has quit [Ping timeout: 260 seconds]
ascarter has quit [Ping timeout: 260 seconds]
<manveru> hmm, no idea... it's working here :|
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hahuang65 has quit [Ping timeout: 260 seconds]
Coldblackice has quit [Ping timeout: 255 seconds]
Hien has joined #ruby
_moep_ has left #ruby [#ruby]
conta has joined #ruby
nacsurte has joined #ruby
hxegon has quit [Ping timeout: 268 seconds]
nacsurte has quit [Ping timeout: 240 seconds]
<dminuoso> ljarvis: The best part of it all, is that often management wants to get data from our database. Now we can just send them the XML database, and they can open it themselves with Microsoft Word.
<dminuoso> This improves our reaction times, since they can obtain information much faster.
blackwind_123 has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackwind_123 has joined #ruby
Hien has quit [Quit: leaving]
Hien has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
TheBrayn has joined #ruby
grymmjack has joined #ruby
Coldblackice has joined #ruby
<judofyr> oh hai folks
<judofyr> I'm currently enjoying some ugly C code
ketan has joined #ruby
<judofyr> fun times
<judofyr> especially when it doesn't work…
pandaant has joined #ruby
Bhootrk_ has quit [Ping timeout: 240 seconds]
Silthias1 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ketan has quit [Ping timeout: 260 seconds]
Bhootrk_ has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
sekmo has quit [Ping timeout: 260 seconds]
rohitpaulk has joined #ruby
mathys has joined #ruby
uZiel has quit [Remote host closed the connection]
uZiel has joined #ruby
Coldblackice has quit []
Coldblackice has joined #ruby
fxa90__ has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
hanmac has quit [Ping timeout: 246 seconds]
fxa has quit [Ping timeout: 276 seconds]
conta has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
jameser has quit [Read error: Connection reset by peer]
jameser has joined #ruby
tau has joined #ruby
Guest10986 is now known as alamar
rohitpaulk has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
KeyJoo has quit [Ping timeout: 268 seconds]
hanmac has joined #ruby
polysics has joined #ruby
marr has joined #ruby
mikecmpbll has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
nacsurte has joined #ruby
pandaant has quit [Remote host closed the connection]
mathys has quit [Quit: Leaving]
dazlak has joined #ruby
<dazlak> Ma position : Le Mesnil-Amelot, France
mim1k has quit [Ping timeout: 240 seconds]
<zenspider> how exciting...
nacsurte has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
lxsameer has joined #ruby
jaruga_________ has joined #ruby
conta has joined #ruby
dazlak has quit [Remote host closed the connection]
tvw has joined #ruby
brent__ has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
DoubleMalt has joined #ruby
Batholith has left #ruby ["I must go, my people need me!"]
vali has quit [Quit: vali]
hotpancakes has joined #ruby
patarr has joined #ruby
im0nde has quit [Ping timeout: 276 seconds]
mathys has joined #ruby
hahuang65 has joined #ruby
patarr has quit [Ping timeout: 246 seconds]
hotpancakes has quit [Ping timeout: 276 seconds]
biberu has joined #ruby
AlexRussia has quit [Quit: WeeChat 1.8]
hahuang65 has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
cschneid_ has quit [Ping timeout: 246 seconds]
uZiel has quit [Remote host closed the connection]
nicesignal has quit [Ping timeout: 240 seconds]
sepp2k has joined #ruby
nicesignal has joined #ruby
vali has joined #ruby
roshanavand has joined #ruby
bkxd has joined #ruby
GodFather has joined #ruby
bkxd_ has joined #ruby
uZiel has joined #ruby
dasher00 has quit [Ping timeout: 255 seconds]
nacsurte has joined #ruby
hotpancakes has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
mathys has quit [Quit: Leaving]
Serpent7776 has joined #ruby
psychicist__ has joined #ruby
dasher00 has joined #ruby
BackEndCoder has quit [Excess Flood]
dionysus69 has quit [Ping timeout: 240 seconds]
Keltia_ is now known as Keltia
BackEndCoder has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
hutch34 has joined #ruby
patarr has joined #ruby
joonty has quit [Quit: Leaving]
ketan has joined #ruby
hutch34 has quit [Ping timeout: 246 seconds]
patarr has quit [Ping timeout: 240 seconds]
roshanavand has quit [Quit: roshanavand]
ketan has quit [Ping timeout: 268 seconds]
jameser has quit [Ping timeout: 240 seconds]
pwnd_nsfw` is now known as pwnd_nsfw
mathys has joined #ruby
Fernando-Basso has joined #ruby
aswen has joined #ruby
<Camusensei> Hell. I'm running into this error: "undefined symbol: _ZN6Gecode16ValBranchOptions3defE" at runtime when trying to use the gem "thor" (dep chain: thor > berkshelf > solve > dep_selector > ffi) and it fails with that error inside ffi.
<Camusensei> this SO post https://stackoverflow.com/questions/22930511/symbol-not-found-when-using-ruby-gem-berkshelf tells me I should downgrade gecode from 4 to 3
mathys has quit [Client Quit]
<Camusensei> but I only see libgecode-dev 4.2.1 on the repository so I'm not quite sure how to downgrade, should I build it from source?
snowcrshd has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
<zenspider> thor doesn't have anything to do with it, right? it's just something 'solve' is fucking up on
<zenspider> I'm allergic to stackoverflow... is it telling you to downgrade the lib, or the gem?
roshanavand has joined #ruby
bkxd_ has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 276 seconds]
<Camusensei> it doesn't tell... but I expect it to be the lib, since the gem does not exist (and gem dep-selector-libgecode has version 1.3.1)
bkxd has joined #ruby
mim1k has joined #ruby
<zenspider> hrm... that's a rather old SO post. 3 years. gem switch, I think, implies that you have both installed
bkxd_ has joined #ruby
<zenspider> you'll have to figure out how to install from an older recipe
<zenspider> ok... this is crazy...
<zenspider> LOTS of changes
<Camusensei> you mean for the downgrade? yeah :(
<zenspider> but you can go back to 2012 w/ sha 8bf77b0c80d06250ceb711b4d2b1fcd5d253c8db to get 3.7.3
<zenspider> found via: cd /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/; git log gecode.rb
<zenspider> this sounds bad...
aufi has quit [Ping timeout: 260 seconds]
<Camusensei> oh, if it's the source, I have it here: http://http.debian.net/debian/pool/main/g/gecode/gecode_3.7.3-1.debian.tar.gz
GodFather has quit [Ping timeout: 260 seconds]
<zenspider> sure. whatever works for you. just understand you're going back FIVE YEARS to get this to work. expect other problems
<Camusensei> what could the alternatives be? surely someone else has been trying to use "solve" before me, no?
<zenspider> probably many... but I'm not familiar with this lib so I won't be able to help there
<Camusensei> ok, thank you for trying though :)
aufi has joined #ruby
horst has joined #ruby
<zenspider> n/p
CrazyEddy has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
nacsurte has joined #ruby
tau has left #ruby [#ruby]
nacsurte has quit [Ping timeout: 255 seconds]
cam27 has quit [Quit: cam27]
lightstalker has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
jamesaxl has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 260 seconds]
hotpancakes has joined #ruby
<Camusensei> zenspider: I finally solved the issue by looking at the versions I was using, and it turned out that berkshelf was two major version late, hence the old gecode dependency :)
<zenspider> so you got to move forwards, not backwards?
<Camusensei> yes
Bhootrk_ has quit [Quit: Leaving]
Bhootrk_ has joined #ruby
rgr has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
hahuang65 has joined #ruby
Kristjan55555 has joined #ruby
cschneid_ has joined #ruby
Kristjan55555 has quit [Killed (Sigyn (Spam is off topic on freenode.))]
mim1k has joined #ruby
mathys has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
psychicist__ has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
harfangk has joined #ruby
khaki has joined #ruby
khaki has quit [Client Quit]
khaki has joined #ruby
cschneid_ has quit [Ping timeout: 276 seconds]
ferr has joined #ruby
<zenspider> yay
bkxd_ has quit [Ping timeout: 240 seconds]
Emmanuel_Chanel has joined #ruby
bkxd_ has joined #ruby
<Camusensei> :)
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
jameser has joined #ruby
hotpancakes has joined #ruby
rgr has quit [Ping timeout: 240 seconds]
astrobunny has quit [Ping timeout: 240 seconds]
SpiffTR has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
nacsurte has joined #ruby
Mia has joined #ruby
SpiffTR has quit [Quit: Leaving.]
mathys has quit [Quit: Leaving]
SpiffTR has joined #ruby
brent__ has joined #ruby
nacsurte has quit [Ping timeout: 268 seconds]
brent__ has quit [Ping timeout: 260 seconds]
psychicist__ has joined #ruby
ddffg has joined #ruby
snowcrshd has quit [Remote host closed the connection]
uZiel has quit [Ping timeout: 248 seconds]
aswen has quit [Ping timeout: 240 seconds]
mim1k has quit [Read error: Connection reset by peer]
umaaji has quit [Quit: Leaving...]
uZiel has joined #ruby
ketan has joined #ruby
ketan_ has joined #ruby
ketan has quit [Read error: Connection reset by peer]
t-recx has joined #ruby
bkxd_ has quit [Read error: Connection reset by peer]
bkxd has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
nowhere_man has joined #ruby
kaneki993 has joined #ruby
bkxd_ has joined #ruby
marlinc has quit [Ping timeout: 240 seconds]
ketan_ has quit [Remote host closed the connection]
ketan has joined #ruby
<kaneki993> I am facing error on running tests on arby . Arby::Dsl::SyntaxError
hotpancakes has joined #ruby
synthroid has joined #ruby
spheric has quit [Ping timeout: 246 seconds]
ferr has quit [Quit: WeeChat 1.8]
sysvalve has joined #ruby
jameser has joined #ruby
judofyr has quit [Remote host closed the connection]
jameser has quit [Client Quit]
judofyr has joined #ruby
ldnunes has joined #ruby
jameser has joined #ruby
jameser has quit [Client Quit]
SpiffTR has quit [Quit: Leaving.]
khaki has quit [Quit: WeeChat 1.8]
judofyr has quit [Ping timeout: 240 seconds]
DoubleMalt has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
SpiffTR has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
KCmetro has joined #ruby
<dminuoso> kaneki993: Okay.
krandi has joined #ruby
hotpancakes has joined #ruby
nacsurte has joined #ruby
im0nde has joined #ruby
DoubleMalt has joined #ruby
nacsurte has quit [Ping timeout: 255 seconds]
cpruitt has joined #ruby
brendan- has joined #ruby
cpruitt has quit [Client Quit]
krandi has quit [Remote host closed the connection]
oleo has joined #ruby
jgpawletko has joined #ruby
maikowblue has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
Camusensei has left #ruby [#ruby]
KCmetro has quit [Quit: Leaving...]
aswen has joined #ruby
Tempesta has joined #ruby
haylon has joined #ruby
Ilie[] has joined #ruby
djbjd has joined #ruby
* Ilie[] good day everyone :-)
<havenwood> g'mornin'
SpiffTR has quit [Quit: Leaving.]
<dminuoso> havenwood!
<dminuoso> havenwood: Would you like to buy some keys? It seems like you are in dire need of some.
<havenwood> dminuoso: just keeping my greeting easily evalable
<havenwood> >> alias g p; g'mornin'
<ruby[bot]> havenwood: # => "mornin" ...check link for more (https://eval.in/821393)
<haylon> a space bar, g, p, >, shift and enter
judofyr has joined #ruby
<haylon> smallest keyboard yet
dropsh0t has joined #ruby
mim1k has joined #ruby
hahuang65 has joined #ruby
shinnya has joined #ruby
mwlang has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
<mwlang> I have a ruby gem I want to update to start supporting Rails 5.x.. it’s currently locked to 4.2 with: s.add_dependency "rails", "~> 4.2" in the gemspec, which I *thought* meant “at least 4.2 or later” so I think I misunderstood the docs there.
<havenwood> mwlang: It's more pessimistic than that.
tlaxkit has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
vuoto has joined #ruby
djbjd has quit [Quit: djbjd]
djbjd has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<herwin> i wouldn't exactly call it ruby's pessimistic operator
SpiffTR has joined #ruby
<herwin> it's not an operator of ruby
<havenwood> Ruby's pessimistic version constraint is more apt
<mwlang> havenwood: thanks for that… re-reading a 3rd time, I realized I need >=, not ~>
jameser has joined #ruby
mistergibson has quit [Ping timeout: 268 seconds]
sepp2k has quit [Read error: Connection reset by peer]
runescape07rsps has joined #ruby
ornerymoose has joined #ruby
rfoust has joined #ruby
runescape07rsps has quit [Remote host closed the connection]
runescape07rsps has joined #ruby
vuoto has quit [Quit: Lost terminal]
<judofyr> mwlang: you probably want "=> 4.2", "< 6"
<judofyr> oops: ">= 4.2", "< 6"
<mwlang> judofyr: that’s not a bad idea…
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<judofyr> mwlang: the only disadvantage is that version "6.0.0.beta" will match that constraint
vuoto has joined #ruby
<judofyr> I think
<judofyr> I recall that there were some strange edge case at least
tgragnato has joined #ruby
polysics has quit [Remote host closed the connection]
<mwlang> yeah, but probably wise to be explicit about excluding all 6.x until I explicitly test and verify functionality of the gem with any version of 6 myself.
polysics has joined #ruby
<judofyr> I don't know how deeply you integrate with Rails, but using "<= 5.x" might be even safer
jameser has joined #ruby
<judofyr> but yeah, multiple constraints are nice
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
djbjd has quit [Quit: djbjd]
DLSteve has joined #ruby
djbjd has joined #ruby
mistergibson has joined #ruby
nanoz has joined #ruby
jgpawletko has quit [Quit: jgpawletko]
ornerymoose_ has joined #ruby
bkxd_ has quit [Ping timeout: 268 seconds]
bkxd has quit [Ping timeout: 240 seconds]
ornerymoose has quit [Ping timeout: 260 seconds]
ornerymoose_ is now known as ornerymoose
bkxd has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bkxd_ has joined #ruby
Bhootrk_ has quit [Read error: Connection reset by peer]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vuoto has quit [Remote host closed the connection]
hotpancakes has joined #ruby
s2013 has joined #ruby
pierrearseufrasi has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
marlinc_ has joined #ruby
jameser has joined #ruby
ledestin has joined #ruby
gizmore has joined #ruby
zacts has joined #ruby
gil_ has quit [Quit: ZNC 1.6.5 - http://znc.in]
ledestin has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
hutch34 has joined #ruby
apparition has joined #ruby
SpiffTR has quit [Quit: Leaving.]
hutch34 has quit [Ping timeout: 276 seconds]
bkxd_ has quit [Read error: Connection reset by peer]
bkxd has quit [Read error: Connection reset by peer]
SpiffTR has joined #ruby
SpiffTR has quit [Client Quit]
mostlybadfly has joined #ruby
bmurt_ has joined #ruby
jakew has joined #ruby
nanoz has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
simmaniac has joined #ruby
jakew has quit [Client Quit]
jakew has joined #ruby
jakew has quit [Client Quit]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sysvalve has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
jtperreault has joined #ruby
bkxd_ has joined #ruby
bkxd has quit [Read error: Connection reset by peer]
aupadhye has quit [Ping timeout: 246 seconds]
that2 has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
that2 has left #ruby [#ruby]
jameser has joined #ruby
mim1k has joined #ruby
ikopico has quit [Ping timeout: 240 seconds]
SpiffTR has joined #ruby
aswen has quit [Quit: WeeChat 1.6]
jameser has quit [Client Quit]
Didac has quit [Ping timeout: 268 seconds]
jakew has joined #ruby
jakew has quit [Client Quit]
jameser has joined #ruby
maikowblue has quit [Quit: .]
polysics has quit []
Didac has joined #ruby
ikopico has joined #ruby
jameser has quit [Client Quit]
horst has quit [Quit: horst]
andikr has quit [Remote host closed the connection]
hotpancakes has joined #ruby
Chef3000 has quit [Quit: Page closed]
Chef3000 has joined #ruby
jameser has joined #ruby
bkxd has joined #ruby
fxa90__ has quit [Quit: Leaving]
hotpancakes has quit [Ping timeout: 258 seconds]
hotpancakes has joined #ruby
agimenez has joined #ruby
patarr has joined #ruby
nobodyzxc has joined #ruby
mwlang has quit [Quit: mwlang]
simmaniac has quit [Ping timeout: 246 seconds]
patarr has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
eightlimbed has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
pierrearseufrasi has quit [Quit: This computer has gone to sleep]
rama has joined #ruby
rama has quit [Client Quit]
nacsurte has joined #ruby
rama has joined #ruby
rama is now known as Guest28749
sspreitz has quit [Ping timeout: 258 seconds]
hutch34 has joined #ruby
SpiffTR has quit [Quit: Leaving.]
ResidentBiscuit has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
pierrearseufrasi has joined #ruby
Guest28749 has quit [Ping timeout: 240 seconds]
s2013 has quit [Read error: Connection reset by peer]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has joined #ruby
jameser has joined #ruby
im0nde has quit [Ping timeout: 240 seconds]
sspreitz has joined #ruby
jameser has quit [Client Quit]
snowcrshd has joined #ruby
redondos has joined #ruby
xzhao has joined #ruby
patarr has quit [Ping timeout: 276 seconds]
chouhoul_ has joined #ruby
ResidentBiscuit has quit [Quit: Critical Miss]
hotpancakes has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
cpruitt has joined #ruby
theunraveler has joined #ruby
jameser has joined #ruby
SpiffTR has joined #ruby
jameser has quit [Client Quit]
TomyWork has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
pierrearseufrasi has quit [Quit: This computer has gone to sleep]
pierrearseufrasi has joined #ruby
dionysus69 has joined #ruby
pierrearseufrasi has quit [Client Quit]
hahuang65 has joined #ruby
uZiel has quit [Remote host closed the connection]
ahrs has joined #ruby
cadillac__ has joined #ruby
patarr has joined #ruby
hahuang65 has quit [Ping timeout: 246 seconds]
troys has joined #ruby
ResidentBiscuit has joined #ruby
cdg has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
cadillac__ has quit [Read error: Connection reset by peer]
patarr has joined #ruby
pierrearseufrasi has joined #ruby
mim1k has joined #ruby
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby
runescape07rsps has quit [Quit: Leaving]
psychicist__ has quit [Ping timeout: 260 seconds]
pierrearseufrasi has quit [Ping timeout: 240 seconds]
n0vacane has joined #ruby
hotpancakes has joined #ruby
aufi has quit [Quit: Leaving]
boombox_ has joined #ruby
uZiel has joined #ruby
jackjackdripper has joined #ruby
judofyr has quit [Ping timeout: 255 seconds]
rkazak has joined #ruby
TomyLobo has joined #ruby
bkxd_ has quit [Ping timeout: 258 seconds]
bkxd has quit [Ping timeout: 255 seconds]
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
boombox_ has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 246 seconds]
Didac has quit [Changing host]
Didac has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
SpiffTR has quit [Quit: Leaving.]
thatsnotjack has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
mim1k has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
nacsurte has joined #ruby
eputnam has joined #ruby
uZiel has quit [Remote host closed the connection]
jaruga_________ has quit [Quit: jaruga_________]
uZiel has joined #ruby
brent__ has joined #ruby
nacsurte has quit [Ping timeout: 240 seconds]
troys is now known as troys_
<cttttt> Just sort of filling in some gaps in Ruby from a long time ago. I'm trying to use `system()` to run an external command, but want to (1) pass in an array of arguments...bypassing the shell and (2) hide all of the output. Based on the documentation, there are options for redirection, but how do I redirect to the bit-bucket in a platform neutral way?
AndBobsYourUncle has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 240 seconds]
Dimik has joined #ruby
psychicist__ has joined #ruby
nacsurte has joined #ruby
jphase_ has joined #ruby
jphase has quit [Ping timeout: 246 seconds]
ResidentBiscuit has quit [Quit: Critical Miss]
conta has quit [Ping timeout: 260 seconds]
<cttttt> Oh.... system(command, args ..., :out => :close) . I'm a dumb.
enterprisey has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
jamesaxl has quit [Quit: WeeChat 1.7.1]
nankyokusei has joined #ruby
nankyokusei has quit [Remote host closed the connection]
<havenwood> cttttt: those docs are more than a bit tough to parse
charliesome has joined #ruby
hotpancakes has joined #ruby
roamingdog has joined #ruby
hxegon has joined #ruby
isene has quit [Ping timeout: 240 seconds]
cdg_ has joined #ruby
cdg__ has joined #ruby
davidmichaelkarr has quit [Quit: Connection closed for inactivity]
<cttttt> havenwood: Yeah...I, for some reason, thought that this literally closed the file descriptor. If it did, the process would be hitting some issues trying to write to it. Ruby must be doing some sort of magic.
cdg has quit [Ping timeout: 276 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
cam27 has joined #ruby
mim1k has joined #ruby
amclain has joined #ruby
djbjd has quit [Quit: djbjd]
cdg_ has quit [Ping timeout: 268 seconds]
cpruitt has quit [Quit: cpruitt]
skweek has quit [Ping timeout: 240 seconds]
zapata has quit [Read error: Connection reset by peer]
Serpent7776 has quit [Quit: Leaving]
snowcrshd has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
troys_ is now known as troys
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
roamingdog has joined #ruby
gusrub has joined #ruby
bmurt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ilie[] has quit [Quit: Leaving]
amclain has quit [Quit: Leaving]
tlaxkit has quit [Quit: ¡Adiós!]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
roamingdog has quit [Remote host closed the connection]
judofyr has joined #ruby
ResidentBiscuit has joined #ruby
djbjd has joined #ruby
djbjd has quit [Client Quit]
roamingdog has joined #ruby
Fysicus has joined #ruby
amclain has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
mim1k has quit [Read error: Connection reset by peer]
ddffg has quit [Ping timeout: 255 seconds]
roamingdog has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
meshsmith has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
hotpancakes has joined #ruby
ResidentBiscuit has quit [Remote host closed the connection]
kies has quit [Ping timeout: 255 seconds]
roamingdog has joined #ruby
pierrearseufrasi has joined #ruby
cdg__ has quit [Remote host closed the connection]
pierrearseufrasi has quit [Client Quit]
ramakanta has joined #ruby
roamingdog has quit [Ping timeout: 268 seconds]
bkxd has joined #ruby
bkxd_ has joined #ruby
ivanskie has joined #ruby
lxsameer has quit [Quit: WeeChat 1.7]
<ivanskie> hi
<ivanskie> has anyone worked with modbus?
chouhoulis has joined #ruby
<ivanskie> i'm reading a 64 byte string, this is what i get: [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761]
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
synthroid has quit []
bkxd has joined #ruby
<ivanskie> apaprently there are two ascii characters in each of those
crankharder has joined #ruby
roamingdog has joined #ruby
snowcrshd has joined #ruby
s2013 has joined #ruby
<ivanskie> 32 registers containing up to 64 characters
bkxd has quit [Ping timeout: 255 seconds]
jackjackdripper has quit [Quit: Leaving.]
hotpancakes has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Silthias1 has left #ruby [#ruby]
gusrub has quit [Remote host closed the connection]
roamingdog has quit []
ResidentBiscuit has joined #ruby
<ivanskie> okay so i believe the above should say Eeaton
clemens35 has joined #ruby
hotpancakes has joined #ruby
hahuang65 has joined #ruby
armyriad has quit [Ping timeout: 260 seconds]
<cout> hi
<cout> sorry wrong window
s2013 has quit [Read error: Connection reset by peer]
<ivanskie> im only getting Ea https://repl.it/Izfa/2
s2013 has joined #ruby
rkazak has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
cdg has joined #ruby
s2013 has quit [Read error: Connection reset by peer]
simmaniac has joined #ruby
raspado has joined #ruby
<ivanskie> oooh.. i got Eaton Corporation!!! woot woot https://repl.it/Izfa/3
<ivanskie> now how do I get rid of the garbage
AndBobsYourUncle has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
troys is now known as troys_
shinnya has quit [Ping timeout: 268 seconds]
cdg has quit [Ping timeout: 246 seconds]
agimenez has quit [Ping timeout: 240 seconds]
<ivanskie> [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761].map{|s| s.to_s(16)}.join.gsub(/../){|pair| pair.hex.chr}
<ivanskie> how do I clean this up?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
agimenez has joined #ruby
ketan has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
troys_ is now known as troys
<ivanskie> https://repl.it/Izfa/4 now i get "Eaton Corporation\x00Ea" so still have a 0 there, and array ends with first char pair so need to skip that...
simmaniac has quit [Ping timeout: 240 seconds]
joes has joined #ruby
kies has joined #ruby
<havenwood> >> [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761][0..-2].reject(&:zero?).flat_map { |n| n.to_s(16).scan(/\h{2}/).map(&:hex) }.map(&:chr).join.chomp(0.chr)
<ruby[bot]> havenwood: # => "Eaton Corporation" (https://eval.in/821554)
_joes_ has quit [Quit: Konversation terminated!]
<ivanskie> dude
AlexRussia has quit [Ping timeout: 255 seconds]
<ivanskie> u are my hero
cam27 has quit [Quit: cam27]
<ivanskie> string = slave.holding_registers[1032..1064]
<ivanskie> puts string[0..-2].reject(&:zero?).flat_map { |n| n.to_s(16).scan(/\h{2}/).map(&:hex) }.map(&:chr).join.chomp(0.chr)
<ivanskie> gives me Eaton Corporation in cli.. amazing
<ivanskie> thank U!
<havenwood> ivanskie: note:
<havenwood> >> [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761].pack 'S>*'
<ruby[bot]> havenwood: # => "Eaton Corporation\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x ...check link for more (https://eval.in/821555)
<ivanskie> right
<havenwood> >> [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761][0..-2].reject(&:zero?).pack('S>*').chomp(0.chr)
<ruby[bot]> havenwood: # => "Eaton Corporation" (https://eval.in/821556)
<ivanskie> thats some advanced ruby magic that i don't understand how it works yet.
Dimik has quit [Ping timeout: 255 seconds]
Dimik has joined #ruby
N0ATN has quit [Quit: ZNC 1.7.x-git-775-96c92ef8 - https://znc.in]
<havenwood> ivanskie: [0..-2].pack('s>*').strip
<havenwood> ivanskie: that'll ^ do it
<havenwood> >> [17761, 29807, 28192, 17263, 29296, 28530, 24948, 26991, 28160, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 17761][0..-2].pack('s>*').strip
<ruby[bot]> havenwood: # => "Eaton Corporation" (https://eval.in/821557)
Ilie[] has joined #ruby
<ivanskie> wow
<ivanskie> i should read into pack
<havenwood> ivanskie: capital S if the integers are unsigned, lowercase if signed
<ivanskie> thank you
N0ATN has joined #ruby
<havenwood> you're welcome
<ivanskie> thats funny. went from 119 characters to 41 characters of code. and still does the same
<havenwood> ivanskie: the > is for big endian
<havenwood> you could use n instead
<havenwood> pack('n*').strip
_joes_____ has quit []
<havenwood> ivanskie: still getting smaller ;-)
<havenwood> n is 16-bit unsigned, network (big-endian) byte order
<ivanskie> right and i think thats exactly what i have here with a string data type in modbus
<havenwood> roger that
Cohedrin_ has joined #ruby
<ivanskie> wow u sir can perform miracles
<ivanskie> i shall subscribe to the power of Ruby
sanguisdex has joined #ruby
<ivanskie> :P
<ivanskie> I'm assuming whomever added the .pack to ruby was at some point dealing with a similar problem
gusrub has joined #ruby
<sanguisdex> I need to debug a gem thats my lib depends on. is there a way to get bundler or my gemfile to tell ruby to look at a gem in certain location for a gem ever time I run the parrent lib with out running bundle install between every test?
<sanguisdex> where can I read up on this?
<ivanskie> oh
<ivanskie> sanguisdex i believe traveling ruby does something like this
<ivanskie> there's also bundler config
AlexRussia has joined #ruby
_joes_____ has joined #ruby
<havenwood> sanguisdex: gem YOUR_GEM, path: '/path/to/your_gem'
<havenwood> sanguisdex: You can specify a local path in your Gemfile for a certain gem.
<sanguisdex> havenwood: but I have to run install every time or if does not notice the changes
<sanguisdex> di I just live with that?
<havenwood> It'll use the gem itself, so changes are changes.
<havenwood> sanguisdex: If you change your system gem it'll also change without a bundle.
<havenwood> sanguisdex: You can restore it with: gem pristine YOUR_GEM
<havenwood> sanguisdex: Bundler doesn't cache the gem content, it just goes to the gem location and uses that each time.
KeyJoo has joined #ruby
<sanguisdex> okay, thats the method I am going with, I checked out the gem in to my rvm's gem dir. just felt hacky
gusrub has quit [Remote host closed the connection]
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
mim1k has joined #ruby
yeticry_ has quit [Remote host closed the connection]
yeticry has joined #ruby
mim1k has quit [Ping timeout: 255 seconds]
hotpancakes has quit [Remote host closed the connection]
gusrub has joined #ruby
hotpancakes has joined #ruby
<sanguisdex> thnks
jamesaxl has joined #ruby
hotpancakes has quit [Remote host closed the connection]
brent__ has quit [Remote host closed the connection]
Fenhl has joined #ruby
brent__ has joined #ruby
cam27 has joined #ruby
hotpancakes has joined #ruby
gusrub has quit [Remote host closed the connection]
judofyr has quit [Remote host closed the connection]
judofyr has joined #ruby
hotpancakes has quit [Remote host closed the connection]
<Fenhl> hello, I'm trying to run a script from something installed using bundle (https://github.com/taw/magic-search-engine) and getting this error about libruby not being loaded. I have no idea what that means. Any ideas? https://www.irccloud.com/pastebin/upMXtqsF/
<ruby[bot]> Fenhl: we in #ruby do not like irccloud.com, I reposted your paste to gist for you: https://gist.github.com/a24ae4568cf910bb5cf3dbfb8db24200
<ruby[bot]> Fenhl: irccloud.com has no syntax highlighting, distracting formatting and loads slowly for most.
mim1k has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s1kx has joined #ruby
kolgomorov has joined #ruby
sanguisdex has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
brent__ has quit [Ping timeout: 260 seconds]
<Fenhl> (I am on macOS 10.12.5)
judofyr has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
rippa has joined #ruby
mim1k has quit [Ping timeout: 276 seconds]
Dimik has quit [Ping timeout: 240 seconds]
snowcrshd has quit [Remote host closed the connection]
gusrub has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 255 seconds]
ACER has joined #ruby
mim1k has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
ACER is now known as ACE1503
jamesaxl has joined #ruby
ascarter has joined #ruby
gusrub has quit []
hotpancakes has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
runescape07rsps has joined #ruby
ascarter has quit [Ping timeout: 246 seconds]
choke has joined #ruby
ascarter has joined #ruby
kitikonti has joined #ruby
gusrub has joined #ruby
funny has joined #ruby
cdg_ has joined #ruby
hotpancakes has quit [Remote host closed the connection]
cdg has joined #ruby
mim1k has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
cdg_ has quit [Ping timeout: 240 seconds]
enterprisey has quit [Remote host closed the connection]
hotpancakes has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
Asher has quit [Ping timeout: 260 seconds]
Asher1 has joined #ruby
ozcanesen has joined #ruby
chouhoul_ has joined #ruby
hutch34 has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
sysvalve has joined #ruby
simmaniac has joined #ruby
ascarter has quit [Ping timeout: 260 seconds]
Bock has quit [Ping timeout: 268 seconds]
agimenez has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 255 seconds]
Cohedrin_ has joined #ruby
ascarter has joined #ruby
ResidentBiscuit has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
agimenez has joined #ruby
sysvalve has quit [Ping timeout: 276 seconds]
simmaniac has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has quit [Remote host closed the connection]
tvw has quit [Remote host closed the connection]
uZiel has joined #ruby
Asher1 has quit [Quit: Leaving.]
Asher has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
<ivanskie> havenwood what would you make of this? [16409, 39322]
<ivanskie> supposedly float.
<ivanskie> i've traied pack('g*')
Dimik has joined #ruby
<ivanskie> tried*
rkazak has quit [Quit: Sleep.....ing....]
vondruch_ has quit [Quit: vondruch_]
<ivanskie> i believe its
<ivanskie> "32-bit single precision IEEE floating point number"
<ivanskie> IEEE floating point with 4 byte input (2 word)
Cohedrin_ has quit [Max SendQ exceeded]
bmurt_ has joined #ruby
bmurt_ has quit [Quit: Textual IRC Client: www.textualapp.com]
weinstein has joined #ruby
bmurt_ has joined #ruby
Cohedrin_ has joined #ruby
jphase_ is now known as jphase
shinnya has joined #ruby
kolgomorov has quit [Ping timeout: 276 seconds]
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
snowcrshd has joined #ruby
sagax has quit [Quit: Konversation terminated!]
<ivanskie> there's this thing.. http://www.simplymodbus.ca/ieeefloats.xls which apparently does what needs to be done to get the final value
<ivanskie> when you enter 16409 and 39322 into that. u get 2.4 which is what i'm after lol. but how do i do that in ruby without that weird calculation
cagmz has quit [Read error: Connection reset by peer]
ledestin has joined #ruby
hotpancakes has quit [Remote host closed the connection]
ketan has joined #ruby
mim1k has joined #ruby
jaruga_________ has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
snowcrshd has quit []
ketan has quit [Ping timeout: 258 seconds]
hotpancakes has quit [Remote host closed the connection]
that2 has joined #ruby
that2 has left #ruby [#ruby]
ramakanta has quit [Quit: This computer has gone to sleep]
mim1k has quit [Ping timeout: 255 seconds]
hotpancakes has joined #ruby
kitikonti has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
gmcintire_ is now known as gmci
gmci is now known as gmcintire
zacts has quit [Ping timeout: 276 seconds]
<ivanskie> gah
<ivanskie> i got to convert [16409, 39322] to a binary string. but i think i'm doing it wrong
judofyr has joined #ruby
marlinc_ has quit [Ping timeout: 255 seconds]
nadir has joined #ruby
hxegon has joined #ruby
jackjackdripper has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
mim1k has joined #ruby
judofyr has quit [Ping timeout: 268 seconds]
<havenwood> >> "䀙馚".codepoints
<ruby[bot]> havenwood: # => [16409, 39322] (https://eval.in/821591)
<havenwood> ;-P
soLucien has joined #ruby
brent__ has joined #ruby
<havenwood> ivanskie: lemme see
bkxd has joined #ruby
<ivanskie> this is bizzar
<apeiros> ivanskie: what value should [16409, 39322] convert to?
<Papierkorb> ivanskie: what kind of binary string?
<ivanskie> it should be 2.4
<ivanskie> or excel says 2.4000001E+00
<apeiros> easy then
<ivanskie> lol wut?
<apeiros> >> [16409, 39322].pack("S>*").unpack("g")
<ruby[bot]> apeiros: # => [2.4000000953674316] (https://eval.in/821605)
<ivanskie> say wha
<apeiros> say hello
<Papierkorb> dang you were faster :|
<ivanskie> and i thought i almost tried all combos
<apeiros> I tried two
<havenwood> or shorthand
<havenwood> >> [16409, 39322].pack('n*').unpack('g')
<apeiros> big and little endian
<ruby[bot]> havenwood: # => [2.4000000953674316] (https://eval.in/821606)
ResidentBiscuit has joined #ruby
<ivanskie> i didn't know what i was doing so
<Papierkorb> ivanskie: Your two numbers are below 65k, indicating that they might be 16bit = 2Bytes each, two so 4Bytes. That fits a 32bit float.
<apeiros> ^
<havenwood> >> [16409, 39322].pack('D').each_byte.reverse_each.map { |n| sprintf("%08b", n) }
<ruby[bot]> havenwood: # => ["01000000", "11010000", "00000110", "01000000", "00000000", "00000000", "00000000", "00000000"] (https://eval.in/821618)
<havenwood> oops
<apeiros> one is above 32K, indicating unsigned
<Papierkorb> ivanskie: If they (or one) were above that, next guess would be that they're 2x32bit, so 8Byte, a 64bit float (also called `double`)
<ivanskie> yes its a 32 bit single precision ieee float
<ivanskie> in two word array
bkxd has quit [Ping timeout: 255 seconds]
<apeiros> it's a rather odd way to represent a 4byte float, though
<ivanskie> modbus
Derperperd has quit [Quit: Peace out]
marlinc_ has joined #ruby
<ivanskie> is odd.
bkxd has joined #ruby
Derperperd has joined #ruby
<ivanskie> working with rmodbus gem. it doesn't have any data type normalization (for the lack of a better term) built-in
<apeiros> conversion
mim1k has quit [Ping timeout: 268 seconds]
<ivanskie> so it just spits out arrays of hex as it receives from the device
chouhoul_ has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<apeiros> hex?
<ivanskie> could probably extend it to do that. i now know how to do STRING and FLOAT values lol thanks to u guys
<apeiros> you know that's not a datatype, yes?
<ivanskie> yes
<ivanskie> but what i meant is modbus stores diff data types differently.
<apeiros> [16409, 39322] is what you get directly like that from rmodbus?
<apeiros> modbus sounds like it was something which reads from a serial port or similar?
andrzejku has joined #ruby
<ivanskie> so you might be doing .read_input_registers(reg, nregs) and it spits out the array of registers
bkxd has quit [Ping timeout: 255 seconds]
<ivanskie> usually you know what to expect, cause it could either be STRING, UINT, FLOAT, BUL
jenrzzz has joined #ruby
<ivanskie> thats what i meant by data type
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<ivanskie> would be nice .read_input_registers(reg, nregs).string or something like that and just have a human readable output
duderonomy has joined #ruby
<ivanskie> instead of .read_input_registers(reg, nregs).pack('n*').strip for string
<ivanskie> and .pack('D').each_byte.reverse_each.map { |n| sprintf("%08b", n) } for float
<havenwood> ivanskie: you got the wrong one for float
<havenwood> ivanskie: pack('n*').unpack('g')
<havenwood> pack('n*').strip
judofyr has joined #ruby
<apeiros> ivanskie: just build those then?
<ivanskie> err .pack("S>*").unpack("g").first.round(2)
<ivanskie> right
<apeiros> doesn't seem hard
<ivanskie> nope
<ivanskie> figuring this part out is.
<ivanskie> what u guys just did.
<apeiros> class ModBus::Slave; def read_input_register_floats(addr, nregs); query("\x4" + addr.to_word + nregs.to_word).unpack('g*'); end
<apeiros> f.ex
<apeiros> no need to unpack/pack (read_input_registers unpacks with "n*")
<apeiros> and for string, simply drop the unpack
mim1k has joined #ruby
vincent_ has joined #ruby
<ivanskie> hah clever
ur5us has joined #ruby
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
<ivanskie> what about unsigned integer
<ivanskie> [0, 30]
Cohedrin_ has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
<apeiros> &ri String#unpack ivanskie
kitikonti has joined #ruby
skweek has joined #ruby
hotpancakes has quit [Remote host closed the connection]
hotpancakes has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
Cohedrin_ has joined #ruby
nobodyzxc has quit [Quit: leaving]
skweek has quit [Ping timeout: 246 seconds]
rory has joined #ruby
<ivanskie> whats odd is that with uints it just spits out an integer.
<ivanskie> [0, 30] is really just the 30.
<runescape07rsps> dude im literally here just to get a job at shopify
<runescape07rsps> im working out too so ill be hot when im ready
tvw has joined #ruby
Guest38987 has joined #ruby
<apeiros> ivanskie: no, those are two different interpretations
<apeiros> i.e. one of those two interpretations is wrong
hotpancakes has quit []
agimenez has quit [Quit: Leaving]
<apeiros> either you're reading two "regions", getting [0,30], or you're reading one (twice as long) region, and getting [30]
<ivanskie> im just going by the register map and manual of the device
rory is now known as guest
<apeiros> and what does it say about the size of the unsigned ints?
<ivanskie> it says, for uid 19, Number of Phases is at register 8032. its a UINT, 2 bytes long. and manual says that if its 2 bytes long, devide by 2 and you'll get number of regs.
bmurt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> and what do you use to unpack those 2 bytes?
<ivanskie> no idea.
<ivanskie> i've never used or even known about pack and unpack before today
<apeiros> so… you've literally learnt nothing, zilch, nada the last ~2h?
<ivanskie> 'UINT – An unsigned integer. Consult the Size parameter to find the integer's size for a given entry (it is a multiple of two so that entries are register-aligned)."
<apeiros> that's rather sad honestly.
<ivanskie> apeiros i'm trying to grasp the pack thing and i haven't yet.
<apeiros> it interprets bytes and converts them to ruby's datatypes for it.
zacts has joined #ruby
<ivanskie> because i don't quite understand the concept of words in hex
<apeiros> n* says "read 2 bytes each and convert each of those 2 byte packs into an unsigned integer"
<apeiros> there is no hex.
<apeiros> hex is a way to represent *numbers*
<ivanskie> ya
<ivanskie> soso n* first converts the hex into binery then reads 2 bytes at a time?
<ivanskie> binary
<apeiros> a byte is one of 256 possible values, 2 bytes is one of 65536 values, 4 bytes one of 4.3 billion values. what one of those values *is* depends on how you want to interpret it
<apeiros> seriously, if you say hex one more time I'm going to kick you :-p
Ilie[] has quit []
<ivanskie> a byte is 4 bits isnt it? (don't kill me, im trying to remember)
<apeiros> no, n does not convert a *hex*. it converts 2 *bytes*
<apeiros> ouch. wikipedia and google failed you hard there…
<ivanskie> 1 byte's 8 bits
<apeiros> in almost all current architectures, a byte is 8 bit
<ivanskie> yes my memory failed.
<apeiros> and "1 byte = 256 values" gives that away too… 2**8 = 256
<ivanskie> what are you talking about
<apeiros> what's a bit?
<ivanskie> oh yah
<ivanskie> duh
<ivanskie> nevermind
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> but granted, log2 without a calculator and without knowing the numbers by heart is hard.
Axy has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
<ivanskie> nope i still dont understand what you are saying about 1 byte is 256 values
<ivanskie> there's 8 bits
<ivanskie> don't mind me.
<ivanskie> got it.
<ivanskie> its not 256 values. its that it could be anything 0 to 256
<havenwood> >> ['00000000', '11111111'].map { |s| s.to_i 2 } # ivanskie 255
<ruby[bot]> havenwood: # => [0, 255] (https://eval.in/821631)
<havenwood> ivanskie: 0 to 255 is 256 values
<havenwood> >> (0..255).size # ivanskie
<ruby[bot]> havenwood: # => 256 (https://eval.in/821632)
<apeiros> ivanskie: wrong, and that's what you've got to understand.
<ivanskie> lol
<apeiros> it's one of 256 values
<apeiros> that *can* be a number. it doesn't have to be.
<apeiros> it can also be a character
<apeiros> or part of a character
<apeiros> "b" in ASCII is 01100010
<apeiros> but 01100010 is also 98 if interpreted as unsigned integer
Mia has quit [Ping timeout: 255 seconds]
<ivanskie> ok what my brain is stuck on is ur use of word 'value'
<apeiros> it could also be virtually anything else. it could be a color f.ex.
<ivanskie> semantics
<apeiros> no.
<apeiros> that's the thing where your brain hangs and why you keep using "hex" entirely wrong.
<ivanskie> im not.
<apeiros> well, technically yes, semantics. just that you get yours wrong :-p
bkxd has joined #ruby
<ivanskie> there has to be a conversion of hex to binary
<ivanskie> oh wait
<ivanskie> wait no it doesn't give you hex.
* apeiros smacks ivanskie
mim1k has joined #ruby
<apeiros> yes of course there's a conversion from hex to binary. and it's easy, that's why hex is often used to represent binary data.
<apeiros> 4 bits = 1 hex digit
<apeiros> 0000 = "0", 1111 = "F"
<ivanskie> yes not arguing abotu that
<ivanskie> so with this modbus thing, every register returns a 16-bit unsigned integer.
<apeiros> you mean rmodbus' read_register_inputs does?
<ivanskie> so if register map says that the data is an unsigned integer. u don't have to do anything with it. thats it.
<apeiros> if it says it's a 16bit unsigned integer, yes
<ivanskie> rmodbus is a modbus implementation. so
<apeiros> yes, but modbus does not return anything. it specifies stuff.
<ivanskie> right. so if its a float. we have to convert unsigned integer to float
<apeiros> if you use read_register_inputs
<ivanskie> ya
<ivanskie> there's not much choice
<apeiros> and the way we showed you is by converting it first back into its binary form
<apeiros> dude, I *literally* showed you your choice
<ivanskie> u can either get holding registers, discrete registers, input registers, and something else there
bkxd has quit [Ping timeout: 240 seconds]
<apeiros> there's no obligation to use read_register_inputs.
troys is now known as troys_
mim1k has quit [Ping timeout: 240 seconds]
<ivanskie> why
<ivanskie> its a different function
bkxd has joined #ruby
bkxd_ has joined #ruby
<apeiros> *method
lxsameer has joined #ruby
marlinc_ has quit [Ping timeout: 255 seconds]
<apeiros> and what's that supposed to mean? what's a different method from what and what's being different got to do with anything?
guest has left #ruby [#ruby]
<ivanskie> not talking about ruby
<ivanskie> modbus is a protocol
<ivanskie> it has functions
<apeiros> protocols don't have functions
<ivanskie> function code
bkxd_ has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 255 seconds]
<ivanskie> so when you request an inpur register. in either case you are going to received an array of these 16bit unsigned integers.
jinie_ is now known as jinie
<apeiros> you're mixing topics
<apeiros> in rmodbus, yes
<apeiros> in modbus, no
<apeiros> in modbus, you'll just receive binary data
<apeiros> with multiples of 2 bytes, since you read a number of registers and one register is 2 bytes.
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
jaruga_________ has quit [Quit: jaruga_________]
<ivanskie> sorry in my head i was keeping track of the topics. i apologize lol
<ivanskie> yes
<ivanskie> so why is read_input_registers do .unpack('n*')
judofyr has quit [Remote host closed the connection]
<ivanskie> im assuming that it received it in hex
* apeiros smacks ivanskie again
judofyr has joined #ruby
<apeiros> it did not receive hex. it received binary data.
<ivanskie> cause if we do .pack('n*') again we get a string of hex stuff /x00 etc
<ivanskie> ah ok
<apeiros> no, you don't get hex, you get binary data.
<ivanskie> why is it represented in hex
<apeiros> seriously, stop with that fucken hex. you're wrong. it's wrong. stop being wrong.
<nacsurte> anyone used prawnPDF before? i'm trying to output unicode characters - i loaded the OpenSans TTF font, wrote it out with render_file, but it's still showing up as blank glyphs
<apeiros> because there's no character in ascii to represent a byte consisting of "00000000"
<apeiros> hence ruby uses a hex escape sequence, as that's rather readable.
jinie- has quit [Quit: ZNC 1.6.1 - http://znc.in]
<ivanskie> [0, 30].pack('n*') == "\x00\x00\x00\x1E" -- i dont get this
<apeiros> >> "\x00" == 0.chr
<ruby[bot]> apeiros: # => true (https://eval.in/821633)
<ivanskie> ok that makes sense
<apeiros> ivanskie: how many bytes are in "\x00\x00\x00\x1E"?
<ivanskie> 4
<apeiros> what are the first 2 bytes?
<ivanskie> 0
<ivanskie> both are 0
<apeiros> no, that's their value interpreted as an integer
ndrei has quit [Ping timeout: 255 seconds]
<ivanskie> k \x00
<apeiros> or, yes, thats …
<apeiros> and the last two bytes is "\x00\x1E", right?
<ivanskie> yes
<apeiros> and 1E in decimal is?
<ivanskie> 30
<apeiros> tadaa
<apeiros> so how'd 500 look in 2 bytes?
<apeiros> or wait
judofyr has quit [Ping timeout: 240 seconds]
<apeiros> how'd 255 look in 2 bytes?
<ivanskie> ff
<apeiros> in the string representation
<ivanskie> \xff
<apeiros> that's only 1 byte
<ivanskie> \x00\xff
<apeiros> now how'd 256 look?
<ivanskie> \x01\xff
<apeiros> nope
<apeiros> hint: after 99 it's not 199, it's 100
<ivanskie> left to right eh
<ivanskie> \x10\xff
<ivanskie> that'd fuck me up on an exam so quick
<apeiros> it's still wrong
<ivanskie> srsly
<ivanskie> \x1ff
<apeiros> "\x01\x00"
<elomatreb> That's endianess, sometimes it's MSB first, sometimes LSB first
<ivanskie> oh duh
<ivanskie> apeiros duh
<ivanskie> not what elomatreb said
<ivanskie> that i don't understand
<apeiros> because 0x01 == 1, 0x00 == 0 -> 1*256 + 0*0 = 256
* ivanskie hasn't studied computer science
<ivanskie> 0x100 would be 256
<ivanskie> then
<apeiros> yes
<elomatreb> Some machines treat the first bit in a byte as the most significant, some as the least significat. Basically some read the number from left to right, some from right to left
<Papierkorb> Make sure that you understand it's really byte-wise, NOT bit-wise ^
<ivanskie> that explains it really well , thanks
<apeiros> base transformation is sum of: digit * base**position
<elomatreb> Papierkorb: Oh fak
<elomatreb> Right
<apeiros> assuming you count the position from right and start with 0 like any good programmer
<ivanskie> or how binary works
<apeiros> Papierkorb: there are nibble endians
<apeiros> haven't met one in the wild yet, though
<Papierkorb> apeiros: Thruth be told I've never encountered one, but there ought to be Middle-Endian too
<apeiros> nibble = 4 bits, half of a byte. for those who'd have to google :-p
<ivanskie> man this was quite a tangent
<elomatreb> To understand binary, you first have to understand the universe
<ivanskie> its always 42
<apeiros> actually, to understand an approximation of the universe, you have to understand binary ;-p
<Papierkorb> "There are 10 types of people, ..."
<ivanskie> lol
<apeiros> DEAD people can read hex.
<elomatreb> If you really want weird stuff understand base64
<ivanskie> i wrote some code to download register maps from 24 devices. each of the devices we have here breaks up a register map per unit id. so like 5 register maps per device. so i just combined it into one.
<ivanskie> did that to send register map to our DCIM vendor to create a device definitioin file into the Schneider DataCenter Expert tool.
<apeiros> I have no idea what a "register map" is supposed to be
<ivanskie> modbus
<apeiros> nope. that did not actually increase my knowledge.
<ivanskie> register map is basically a csv (usually) file that defines each register for consumption
<ivanskie> "Parameter NameDisplay NameuidBase Address (0-based)DiscreteUnitsTypeSize (bytes)Is TimestampBit OffsetSwap BytesSwap WordsDividerMultiplierDate SpecAlarm On FalseWritablePossible Values"
<elomatreb> I feel like you're missing the commas in that CSV, which are a fairly important component
<ivanskie> i copied and pasted from excel
<apeiros> so, a machine readable manual?
<ivanskie> This whole adventure into rmodbus gem, and understanding how pack works..
<apeiros> well, except for the "it was in excel originally" part
<ivanskie> was just so i can do a sanity check of the register map my code put together. and make sure the values are readable.
<ivanskie> because the vendor took it, and made something stupid with it
<apeiros> pack/unpack is really just a template for how to interpret bytes in binary data
<apeiros> "doing stupid things with stuff" is the default modus operandi of people.
<apeiros> expect more of it.
<ivanskie> this is what u guys were helping with: https://gist.github.com/i5okie/92bb21c6dc5009d28fccb1cae8655716
<ivanskie> was in the middle of replacing read_holding_maps with read input. cuz apparently in this device holding maps is only implemented for backwards compatibility, and really its stored in input registers.
<ivanskie> "The PDU/RPP/RPM registers are read using Modbus Function Codes (FC). For most PDU/RPP/RPM registers, FC 04 is used. For alarms, FC 02 is used. The PDU/RPP/RPM supports the following hex function codes:"
<ivanskie> anyway
<ivanskie> enough of hex
ldnunes has quit [Quit: Leaving]
* apeiros smacks ivanskie again
<ivanskie> do u have some coffe?
<ivanskie> i need coffee
<apeiros> replace "hex" with "binary data" and you'd be almost always correct.
<elomatreb> All this violence
<apeiros> I'm not allowed to drink coffee.
<ivanskie> lol
<apeiros> don't like it anyway, so no big loss, though.
<ivanskie> hex
* ivanskie changes name to hexinskie
runescape07rsps has quit [Ping timeout: 240 seconds]
* apeiros smacks ivanskie again
lbrewington has joined #ruby
<apeiros> I'll make it a plugin in znc.
<apeiros> whenever ivanskie says "hex", it'll autosmack them.
psychicist__ has quit [Ping timeout: 255 seconds]
<ivanskie> lmao
<lbrewington> is there a community for rails?
<ivanskie> ruby_on_rails
<lbrewington> thanks
<elomatreb> It's #RubyOnRails
<apeiros> #rubyonrails
<ivanskie> fuck im done
<lbrewington> thanks, the other one is very empty
<apeiros> that's because it's very wrong :o)
<lbrewington> the other one wont let me join :(
<apeiros> you have to be registered
<apeiros> with freenode, that is
<lbrewington> lame
tvw has quit [Remote host closed the connection]
<elomatreb> ./msg nickserv help
<apeiros> sez u
Dimik has quit [Ping timeout: 268 seconds]
<lbrewington> fuck the police
<ivanskie> tell that to radar
<lbrewington> where is he?
<ivanskie> i believe he's the mainteiner of #rubyonrails.. though i could be hex
<ivanskie> i mean wrong.
<apeiros> lbrewington: you can fuck with whomever you want, but that's #ruby-offtopic, so move it there.
<lbrewington> found the cop
<ivanskie> oh wait
<ivanskie> radar is god in here not rubyonrails
<ivanskie> anyway
KeyJoo has quit [Ping timeout: 255 seconds]
<ivanskie> maybe i should just write my own dcim
<ivanskie> not
troys_ is now known as troys
weinstei1 has joined #ruby
DoubleMalt has joined #ruby
<weinstei1> clemens35:
ketan has joined #ruby
weinstei1 has quit [Client Quit]
weinstein has quit [Ping timeout: 240 seconds]
Cohedrin_ has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
soLucien has quit [Quit: Leaving]
ketan has quit [Ping timeout: 260 seconds]
andrzejku has quit [Quit: Textual IRC Client: www.textualapp.com]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
brent__ has quit [Remote host closed the connection]
jamesaxl has quit [Quit: WeeChat 1.7.1]
lbrewington has quit [Remote host closed the connection]
ornerymoose has quit [Ping timeout: 240 seconds]
nankyokusei has joined #ruby
mim1k has joined #ruby
nankyokusei has quit [Client Quit]
<ivanskie> really tho.. apeiros, havenwood thank u
kitikonti has quit [Quit: Textual IRC Client: www.textualapp.com]
mim1k has quit [Ping timeout: 246 seconds]
kolgomorov has joined #ruby
vuoto has joined #ruby
mim1k has joined #ruby
theunraveler has quit []
bkxd has joined #ruby
kolgomorov has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
Puffball has quit [Remote host closed the connection]
ivanskie has quit [Quit: Page closed]
MrBusiness has quit [Ping timeout: 246 seconds]
meshsmith has quit [Changing host]
meshsmith has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
DoubleMalt has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 240 seconds]
dropsh0t has quit [Remote host closed the connection]
Fernando-Basso has quit [Quit: WeeChat 1.8]
mjain has joined #ruby
mjain has left #ruby [#ruby]
Pisuke has quit [Read error: Connection reset by peer]
Cohedrin_ has joined #ruby
Pisuke has joined #ruby
behappy has joined #ruby
behappy has left #ruby [#ruby]
ltem has quit [Quit: Leaving]
skweek has joined #ruby
ascarter has joined #ruby
<R11> quit
R11 has quit [Quit: Leaving]
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
judofyr has joined #ruby
Puffball has joined #ruby
vuoto has quit [Quit: Lost terminal]
kobain has joined #ruby
judofyr has quit [Ping timeout: 260 seconds]
haylon has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
ResidentBiscuit has quit [Quit: Critical Miss]
vincent_ has quit []
vincent_ has joined #ruby
MrBusiness has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
ornerymoose has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
jenrzzz_ has joined #ruby
Cohedrin_ has joined #ruby
vincent_ has quit []
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
jenrzzz has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
brent__ has joined #ruby
mim1k has joined #ruby
lxsameer has quit [Quit: WeeChat 1.8]
<Chef3000> I am trying to install curb gem on my windows box and I get Failed to build gem native extension
<Chef3000> also checking for curl-config... no checking for main() in -lcurl... no
<Chef3000> I do not see clear instructions on how to get those requirements installed in Win 8
ur5us has quit [Ping timeout: 240 seconds]
brent__ has quit [Ping timeout: 240 seconds]
<havenwood> Chef3000: The curb gem uses libcurl. Have you installed libcurl?
mim1k has quit [Ping timeout: 255 seconds]
<Chef3000> I couldnt find instructions on installing that in windows
<Chef3000> thank you
<havenwood> Chef3000: You're welcome. You'll then need to use --with-curl-lib and point to the libcurl you installed, something like: gem install curb -- --with-curl-lib=C:...
<havenwood> Chef3000: Windows 10 has a nice linux subsystem that makes these issues just go away since you can use bash directly.
<havenwood> Chef3000: Check out the WSL (Windows Subsystem for Linux) if you ever update to Win 10.
<Chef3000> thank you very much
<havenwood> you're welcome, any time
jenrzzz_ has quit [Ping timeout: 260 seconds]
hxegon has quit [Ping timeout: 276 seconds]
ResidentBiscuit has joined #ruby
hxegon has joined #ruby
clemens35 has quit [Ping timeout: 255 seconds]
ResidentBiscuit has quit [Remote host closed the connection]
herbmillerjr has quit [Quit: Konversation terminated!]
jenrzzz has joined #ruby
hahuang65 has quit [Read error: Connection reset by peer]
zacts has quit [Ping timeout: 255 seconds]
judofyr has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
duderonomy has quit [Ping timeout: 255 seconds]
judofyr has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
herbmillerjr has joined #ruby
brent__ has joined #ruby
ketan has joined #ruby
zacts has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
biberu has quit []
blackwind_123 has joined #ruby
brent__ has quit [Ping timeout: 268 seconds]
ketan has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
t-recx has quit [Quit: t-recx]
hutch34 has quit [Ping timeout: 240 seconds]
ornerymoose has quit [Quit: ornerymoose]
meshsmith has quit [Remote host closed the connection]
ResidentBiscuit has joined #ruby
zacts has quit [Ping timeout: 255 seconds]
tgragnato has quit [Quit: Sto andando via]
blackwind_123 has quit [Ping timeout: 260 seconds]
blackwind_123 has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.8]
cschneid_ has joined #ruby
Cohedrin_ has quit [Read error: Connection reset by peer]
cschneid_ has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
Cohedrin_ has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
cam27 has quit [Read error: Connection reset by peer]
Cohedrin_ has quit [Max SendQ exceeded]
Rodya_ has quit [Remote host closed the connection]
patarr has quit [Ping timeout: 240 seconds]
Cohedrin_ has joined #ruby
ResidentBiscuit has quit []
cam27 has joined #ruby
blackwind_123 has quit [Ping timeout: 240 seconds]
blackwind_123 has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
raspado has quit [Remote host closed the connection]
raspado has joined #ruby
Rodya_ has joined #ruby
raspado has quit [Ping timeout: 240 seconds]