greengriminal has quit [Quit: This computer has gone to sleep]
ramfjord has joined #ruby
sgen_ has quit [Ping timeout: 256 seconds]
cthulchu_ has quit [Ping timeout: 258 seconds]
ramfjord has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
i9zO5AP has joined #ruby
Ai9zO5AP has quit [Ping timeout: 240 seconds]
elcuervo has quit [Read error: Connection reset by peer]
ChmEarl has joined #ruby
elcuervo has joined #ruby
Mattx has quit [Ping timeout: 246 seconds]
carbone5 has quit [Quit: carbone5]
chalkmonster has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cliluw has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
dionysus69 has joined #ruby
Mia has quit [Ping timeout: 256 seconds]
gix- has joined #ruby
gix has quit [Disconnected by services]
braincrash has quit [Quit: bye bye]
braincrash has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
dualfade has joined #ruby
kiroumaru has joined #ruby
Arahael has quit [Quit: WeeChat 2.7.1]
marens has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
adu has joined #ruby
znz_jp has quit [Ping timeout: 260 seconds]
Arahael has joined #ruby
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
roshanavand has quit [Ping timeout: 258 seconds]
Rudd0 has joined #ruby
roshanavand has joined #ruby
marens has quit [Ping timeout: 264 seconds]
polishdub has joined #ruby
plujon has joined #ruby
ChmEarl has quit [Quit: Leaving]
Mattx has joined #ruby
Emmanuel_ChanelW has joined #ruby
adu has quit [Quit: adu]
marens has joined #ruby
marens has quit [Changing host]
marens has joined #ruby
<plujon>
I notice that erb takes about 0.03 seconds to run, on empty input. Is it possible to reduce this startup time?
adu has joined #ruby
<plujon>
echo | time -p erb - # 0.03
<plujon>
I've been using m4 to preprocess a substantial number of files, and I'd like to switch to erb. But the overhead of 0.03 adds up when there are many files to process.
<plujon>
echo | m4 # 0.00
<plujon>
echo | time -p m4 # 0.00
<plujon>
So, in my project, building with m4 is about 3 times faster (< 2 seconds to 5 seconds). But m4's syntax is ... awkward ...
<plujon>
I think the start of erb is mostly spent loading the few gems it uses. But ... perhaps this could be precomputed somehow? Does ruby have any support for that?
<plujon>
s/start of erb/bulk of erb time on empty input/
znz_jp has joined #ruby
<plujon>
Perhaps I could use rake instead of make and avoid spawning erb over a hundred times.
drincruz has joined #ruby
DaRock has quit [Quit: No Ping reply in 180 seconds.]
drincruz has quit [Ping timeout: 258 seconds]
krillbat has joined #ruby
DaRock has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
orbyt_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skape has quit [Quit: Connection closed for inactivity]
krillbat has quit [Quit: Connection closed for inactivity]
plujon has quit [Remote host closed the connection]
adu has quit [Quit: adu]
krillbat has joined #ruby
krillbat has quit [Client Quit]
mosfet has joined #ruby
mosfet is now known as schiz
schiz has quit [Client Quit]
kiro has joined #ruby
kiroumaru has quit [Remote host closed the connection]
schiz has joined #ruby
schiz has quit [Client Quit]
kirou has joined #ruby
kiro has quit [Remote host closed the connection]
tsujp has quit [Ping timeout: 240 seconds]
tsujp has joined #ruby
jenrzzz has joined #ruby
Axy has quit [Ping timeout: 240 seconds]
Axy has joined #ruby
ctOS has quit [Ping timeout: 240 seconds]
ctOS has joined #ruby
Rudd0 has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
kiro has joined #ruby
kirou has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
snickers has joined #ruby
rusua has joined #ruby
coltkirk has joined #ruby
<coltkirk>
i want to make a first Ruby project by making an IRC bot for one of my private channels. Any good leads =) ?
Dara has joined #ruby
<dasher00>
coltkirk: I'm always learning from the great guys on github, like: https://github.com/ruby-rbot/rbot .... Just search in your fav engine: ruby irc bot github
Dara has quit [Client Quit]
Dara has joined #ruby
cliluw has quit [Read error: Connection reset by peer]
cliluw has joined #ruby
daqing has joined #ruby
Mattx has quit [Remote host closed the connection]
snickers has quit [Ping timeout: 265 seconds]
<coltkirk>
good idea, will also look for particular projects with good documentation. rbot looks very well documented. i'll lurk githubs for inspiration
imode has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
kiro has quit [Read error: Connection reset by peer]
kiro has joined #ruby
cnsvc has quit [Ping timeout: 240 seconds]
kirou has joined #ruby
kiro has quit [Remote host closed the connection]
kiro has joined #ruby
kirou has quit [Remote host closed the connection]
baojg has joined #ruby
Tempesta_ has joined #ruby
kirou has joined #ruby
kiro has quit [Remote host closed the connection]
cliluw has quit [Read error: Connection reset by peer]
Tempesta has quit [Ping timeout: 240 seconds]
cliluw has joined #ruby
swaggboi has quit [Ping timeout: 240 seconds]
cliluw has quit [Read error: Connection reset by peer]
marens has quit [Ping timeout: 240 seconds]
pwnd_sfw has quit [Remote host closed the connection]
cliluw has joined #ruby
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
Emmanuel_ChanelW has quit [Read error: Connection reset by peer]
cliluw has quit [Read error: Connection reset by peer]
kiro has joined #ruby
kirou has quit [Remote host closed the connection]
swaggboi has joined #ruby
kirou has joined #ruby
kiro has quit [Remote host closed the connection]
Rudd0 has joined #ruby
probonic has quit [Quit: Ping timeout (120 seconds)]
probonic has joined #ruby
havenwood has quit [Remote host closed the connection]
Caius has quit [Ping timeout: 260 seconds]
greypack has quit [Ping timeout: 265 seconds]
llua has quit [Quit: <Rudolph> shell code is what greycat reads to kids when he tucks them in]
iNs has joined #ruby
iNs_ has quit [Ping timeout: 240 seconds]
ErhardtMundt has quit [Quit: No Ping reply in 180 seconds.]
impermanence has quit [Ping timeout: 240 seconds]
llua has joined #ruby
GodFather has quit [Ping timeout: 246 seconds]
ReinH has quit [Ping timeout: 265 seconds]
russano has quit [Ping timeout: 264 seconds]
ErhardtMundt has joined #ruby
roshanavand has quit [Ping timeout: 265 seconds]
Caius has joined #ruby
Caius has quit [Changing host]
Caius has joined #ruby
marens has quit [Remote host closed the connection]
havenwood has joined #ruby
havenwood has joined #ruby
russano has joined #ruby
shortdudey123 has quit [Ping timeout: 246 seconds]
grvgr has quit [Ping timeout: 246 seconds]
lypsis has quit [Ping timeout: 246 seconds]
fowl_ has quit [Ping timeout: 246 seconds]
Technodrome has quit [Ping timeout: 264 seconds]
kozowu has quit [Ping timeout: 264 seconds]
Nilium has quit [Ping timeout: 264 seconds]
ReinH has joined #ruby
cd has quit [Quit: cd]
blender_ has quit [Ping timeout: 256 seconds]
fowl_ has joined #ruby
grvgr has joined #ruby
lypsis has joined #ruby
en10n has quit [Ping timeout: 244 seconds]
afisher has quit [Ping timeout: 244 seconds]
AutomationD has quit [Ping timeout: 244 seconds]
jhill has quit [Ping timeout: 244 seconds]
d0liver has quit [Ping timeout: 244 seconds]
maxmanders__ has quit [Ping timeout: 244 seconds]
Argorok has quit [Ping timeout: 244 seconds]
peteretep has quit [Ping timeout: 244 seconds]
clinth has quit [Ping timeout: 244 seconds]
Lewix has quit [Ping timeout: 244 seconds]
CustosLimen has quit [Ping timeout: 244 seconds]
Chew has quit [Ping timeout: 244 seconds]
strmpnk has quit [Ping timeout: 244 seconds]
Iambchop has quit [Ping timeout: 244 seconds]
cstrahan has quit [Ping timeout: 244 seconds]
Atro has quit [Ping timeout: 244 seconds]
Net has quit [Ping timeout: 244 seconds]
Nilium has joined #ruby
greypack has joined #ruby
gmcintire has quit [Ping timeout: 244 seconds]
jnoon has quit [Read error: Connection reset by peer]
jetpack_joe has quit [Read error: Connection reset by peer]
marens has joined #ruby
marens has joined #ruby
marens has quit [Changing host]
peteretep has joined #ruby
blender_ has joined #ruby
roshanavand has joined #ruby
d0liver has joined #ruby
en10n has joined #ruby
jetpack_joe has joined #ruby
Atro has joined #ruby
kiro has joined #ruby
maxmanders__ has joined #ruby
Net has joined #ruby
Iambchop has joined #ruby
cstrahan has joined #ruby
markin has quit [Ping timeout: 246 seconds]
kirou has quit [Remote host closed the connection]
ReinH has quit [Read error: Connection reset by peer]
kirou has joined #ruby
greypack has quit [Ping timeout: 240 seconds]
jbeaudoin has quit [Quit: Connection closed for inactivity]
<brontosaurusrex>
what are my chances to write anything on arm with relation to making gems to work there?
kaivai has joined #ruby
blaster has joined #ruby
<blaster>
Hi there I am getting a weird error when I run bundle install inside of a git repository I downloaded.
<blaster>
The error is: /usr/local/bin/bundle:23:in `load': cannot load such file -- /usr/share/rubygems-integration/all/gems/bundler-1.16.1/exe/bundle (LoadError)
<havenwood>
blaster: Bundler ships with more modern Rubies.
jbeaudoin has joined #ruby
dviola has left #ruby ["WeeChat 2.9"]
dviola has joined #ruby
<havenwood>
blaster: What command are you running. Sanity check you have a fresh bundler gem with the current Ruby with `gem pristine bundler`. If that doesn't fix things, let us know what command you're running.
Dara has quit [Ping timeout: 240 seconds]
<havenwood>
blaster: Prefix the command with `bundle exec` manually. If still no luck, check your executable shebang: which bundle | head -n1
baojg__ has quit [Remote host closed the connection]
baojg has joined #ruby
akem_ has joined #ruby
akem has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
lightstalker has quit [Ping timeout: 265 seconds]
imode has joined #ruby
<brontosaurusrex>
'building native extensions' would mean it's compiling something?
adu has quit [Quit: adu]
iNs has quit [Ping timeout: 240 seconds]
iNs has joined #ruby
<brontosaurusrex>
well, drawille gem is working on pi, only took me an hour or so.
tnewman1 has joined #ruby
robotcars1 has joined #ruby
tnewman has quit [Ping timeout: 240 seconds]
tnewman1 is now known as tnewman
iNs has quit [Ping timeout: 240 seconds]
adu has joined #ruby
iNs has joined #ruby
adu has quit [Client Quit]
entel has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
adu has joined #ruby
<dka>
does RAID6 with 4 disk can be started with 4x2To HD and then later extend the RAID6 with 15To hard drive, does this work?
braincrash has joined #ruby
<robotcars1>
I'm using faraday to download a file, the original link is a redirect. I add the chunks to an array if it doesn't contain 'http://' (the redirects) this seems to be getting me just the lines to join after complete download. The string check to eliminate some data seems terrible. stepping through the req options, there doesn't seem to be any info like a mime type. any tips for ignoring the <html> in the initial chunk
robotcars1 has quit [Quit: Leaving.]
robotcars has joined #ruby
<robotcars>
?
adu has quit [Ping timeout: 240 seconds]
braincra- has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
adu has joined #ruby
drale2k has joined #ruby
braincra- has quit [Ping timeout: 240 seconds]
lightstalker has joined #ruby
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<rapha>
!
cnsvc has joined #ruby
dualfade has quit [Ping timeout: 240 seconds]
dualfade has joined #ruby
drale2k has joined #ruby
dualfade has quit [Quit: leaving]
yxhuvud has quit [Read error: Connection reset by peer]
yxhuvud has joined #ruby
baojg has quit [Remote host closed the connection]
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baojg has joined #ruby
pwnd_sfw has quit [Remote host closed the connection]
braincrash has joined #ruby
dualfade has joined #ruby
drale2k has joined #ruby
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
drale2k has joined #ruby
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
drale2k has joined #ruby
robotcars has left #ruby [#ruby]
ramfjord has quit [Ping timeout: 258 seconds]
adu has quit [Quit: adu]
Rounin has quit [Ping timeout: 240 seconds]
drale2k has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]