<nakilon>
actually on macOS it creates .bundle and there is no .bundle dependence in any of Makefile tasks -- it's only used in the clean task, so seems like Makefile does not really checks if any binaries are produced -- how do I make it check then?
<nakilon>
and why they are not being produced on Debian?
cthu| has quit [Ping timeout: 240 seconds]
<nakilon>
(I call the `create_makefile` with only one argument so it can't just built to a custom destination)
adu has quit [Quit: adu]
ramfjord has quit [Ping timeout: 260 seconds]
<nakilon>
nevermind, I guess I broke something elsewhere
<nakilon>
yeah, didn't notice how I deleted the .c file
<nakilon>
probably because I did the `rm mynativeextensioncoolname.*` instead of `rake clean` or something that I'm supposed to do
ur5us has quit [Ping timeout: 244 seconds]
_whitelogger has joined #ruby
zacts has quit [Quit: leaving]
alfiemax has joined #ruby
bocaneri has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
wnd-trans has joined #ruby
evdubs_ has joined #ruby
Fusl has quit [*.net *.split]
kashike has quit [*.net *.split]
jnoon has quit [*.net *.split]
Net has quit [*.net *.split]
pitastrudl has quit [*.net *.split]
peteretep has quit [*.net *.split]
englishm has quit [*.net *.split]
darthThorik has quit [*.net *.split]
proc has quit [*.net *.split]
alnk has quit [*.net *.split]
kent\n has quit [*.net *.split]
mojca has quit [*.net *.split]
Xiti has quit [*.net *.split]
graphicsv has quit [*.net *.split]
evdubs has quit [*.net *.split]
lightstalker has quit [*.net *.split]
wnd has quit [*.net *.split]
podman has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
badeball has quit [*.net *.split]
mojca has joined #ruby
peteretep has joined #ruby
kent\n has joined #ruby
Net has joined #ruby
pitastrudl has joined #ruby
Xiti has joined #ruby
jnoon has joined #ruby
proc has joined #ruby
alnk has joined #ruby
Fusl has joined #ruby
graphicsv has joined #ruby
darthThorik has joined #ruby
lightstalker has joined #ruby
englishm has joined #ruby
kashike has joined #ruby
mozzarella has quit [Remote host closed the connection]
yxhuvud has joined #ruby
badeball has joined #ruby
podman has joined #ruby
wnd-trans is now known as wnd
gensym has quit [Ping timeout: 240 seconds]
gensym has joined #ruby
ldepandis has joined #ruby
vondruch has joined #ruby
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
cuerbot has joined #ruby
madsobel has joined #ruby
elcuervo has quit [Ping timeout: 256 seconds]
rafadc has quit [Read error: Connection reset by peer]
rafadc has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
rafadc has quit [Read error: Connection reset by peer]
BSaboia has quit [Quit: This computer has gone to sleep]
burgestrand has joined #ruby
Pyrophilia has quit [Ping timeout: 244 seconds]
<nakilon>
havenwood, remember the Ruby 2.4 Alpine issue? Just tried to upgrade the Ruby version keeping the same Alpine version as for 2.3.8 -- same error. I.e. it's not Alpine who introduced the error, it's Ruby.
Pyrophilia has joined #ruby
<nakilon>
meanwhile ruby:slim has no issue but it's soooo huge: 1.4G for 2.3.8 and 1.7G for 2.7.2 right after installing gem dev dependencies
banisterfiend has joined #ruby
<nakilon>
for some reason it's enough to just copy CImg.h to current directory and it builds on Alpine but Debian does not see it and `apt install cimg-dev` pulls so much trash, even python and firefox
vondruch has quit [Ping timeout: 264 seconds]
drincruz has joined #ruby
wallace_mu has joined #ruby
wallace_mu has quit [Remote host closed the connection]
wallace_mu has joined #ruby
TCZ has quit [Quit: Leaving]
impermanence has joined #ruby
ruurd has quit [Quit: bye folks]
vondruch has joined #ruby
charrit69 has quit [Ping timeout: 246 seconds]
TCZ has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
ChmEarl has joined #ruby
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
bmurt has joined #ruby
donofrio has joined #ruby
charrit69 has joined #ruby
stryek has joined #ruby
GodFather has quit [Ping timeout: 260 seconds]
camilasan has quit [Ping timeout: 256 seconds]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
camilasan has joined #ruby
alfiemax has quit [Remote host closed the connection]
GodFather has joined #ruby
jmoises has joined #ruby
jmoises is now known as jose2
jose2 is now known as jmoises
charrit69 has quit [Ping timeout: 240 seconds]
charrit69 has joined #ruby
ua_ is now known as ua
Swyper has joined #ruby
<apotheon>
I find myself wondering whether shaman_king was just really confused, tried to play along, and ultimately got banned without understanding what was going on.
<sarmiena_>
is ObjectSpace.memsize_of_all not a good thing to use in production code that will call it hundreds of times?
akem has joined #ruby
TCZ has joined #ruby
weaksauce has quit [Ping timeout: 265 seconds]
<EdwardIII>
how does array reduce work under the hood? i tried to find it in the source, but couldn't (likely my ineptitude, first time i've ever actually tried to look in ruby's source)
<EdwardIII>
just interested if it is just sugar for a for loop, or if it actually works differently to that
<jhass>
sarmiena_: can't say from any experience, but it doesn't sound like a particularily great idea. If I had a strong need I would just dig up its implementation and see whether it computes it value or reads a cached one to decide
<EdwardIII>
ahh, i was looking for stuff around the word reduce, not inject. that's probably it :)
<EdwardIII>
thanks sarmiena_
<jhass>
a lot of ruby doc sites have a "show source" featue :)
<sarmiena_>
jhass yeah i was trying to figure out the source for it... looks like it's doing some sort of iteration. bummer :/ i wanted to log some stuff in production to see how things are performing
<sarmiena_>
memsize_of_all takes like .6s each call
<jhass>
GC.stats ain't cutting it?
bvdw has joined #ruby
Swyper has quit [Remote host closed the connection]
<sarmiena_>
jhass i'm trying to put a wrapper around suspicious methods to log memory growth to find culprits, basically
powerhouse has joined #ruby
<sarmiena_>
or even just around common methods that aren't problematic right now. then we are logging things and hopefully create monitoring around it
<jhass>
GC.stat[:heap_live_slots] might be enough to get that indication? Idk
Swyper has joined #ruby
alexherbo2 has quit [Ping timeout: 272 seconds]
Swyper has quit [Remote host closed the connection]
<sarmiena_>
jhass looks like total memory use does not equate to the heap? maybe there's a lot more on the stack or something, but there's a large discrepancy on heap used vs memsize_of_all
<sarmiena_>
maybe memsize_of_all combines heap and stack? dunno
<jhass>
maybe
akem has quit [Quit: Leaving]
Swyper has joined #ruby
<jhass>
but then in a VM language all of the things should live on the heap, no?
<jhass>
I mean I can't imagine memsize_of_all to include the actual memory used by stackframes
<sarmiena_>
i'm really not sure of the implementation. been years since I've messed with C. I just noticed that heap size is returning a value, and the rsize is much higher
banisterfiend has joined #ruby
charrit69 has quit [Quit: Konversation terminated!]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rippa has joined #ruby
sarmiena_ has quit [Remote host closed the connection]
mnathani has joined #ruby
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Swyper has quit [Remote host closed the connection]
TCZ has quit [Quit: Leaving]
ellcs1 has joined #ruby
alexherbo2 has joined #ruby
akem has joined #ruby
cthu| has joined #ruby
Swyper has joined #ruby
davispuh has joined #ruby
Swyper has quit [Remote host closed the connection]
ellcs1 has quit [Ping timeout: 240 seconds]
Swyper has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
Takumo has quit [Quit: WeeChat 2.8]
Takumo has joined #ruby
Swyper has quit [Remote host closed the connection]
Swyper_ has joined #ruby
Swyper_ has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
ellcs1 has joined #ruby
howdoi has joined #ruby
alexherbo2 has quit [Ping timeout: 240 seconds]
alexherbo28 has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fercell has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
ujjain2 has joined #ruby
Swyper has joined #ruby
ujjain2 has quit [Client Quit]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
moeSizlak has left #ruby ["Leaving"]
Swyper has quit [Remote host closed the connection]
Swyper has joined #ruby
<s_>
what does prefix/"libexec" do?
<s_>
is that just division?
ramfjord has joined #ruby
BSaboia has joined #ruby
phaul has quit [Ping timeout: 260 seconds]
rubydoc has quit [Ping timeout: 260 seconds]
phaul has joined #ruby
<burgestrand>
s_ it's not unlikely that something has defined a String#/ and it does something (e.g. File.join), but AFAIK stdlib doesn't have it — it depends what's in `prefix`
<s_>
yeah it seems to go back to Pathname
<burgestrand>
s_ indeed, I just noticed that too, and Pathname#/ _does_ exist :D
<s_>
not sure if that is helpful.. i didn't see anything in Pathname docs showing use
<s_>
ah there it is.. alias for +
<s_>
sometimes i feel like ruby enables things that are overly DRY
<burgestrand>
Oh for sure, there's more than enough rope for most everything
BSaboia has quit [Quit: This computer has gone to sleep]
phaul has quit [Ping timeout: 240 seconds]
<s_>
its a popular-ish style to make every method somehow a one-liner
<s_>
but... thank you for the lift. not sure why i didn't see that the first time i looked
<burgestrand>
I don't agree, but that doesn't mean you're wrong :D I'm definitely a sucker for longer/more clear, so I naturally gravitate to others who have similar opinions
phaul has joined #ruby
<burgestrand>
s_ sometimes all it takes is a rubber duck, you're welcome :)
Swyper has quit [Remote host closed the connection]
<s_>
i want to make sure i am not coming in here with an uninformed rant as an expresssion of gratitude
alfiemax has quit [Remote host closed the connection]
rubydoc has joined #ruby
weaksauce has joined #ruby
BSaboia has joined #ruby
Swyper has joined #ruby
ujjain2 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
w10x12 has left #ruby ["WeeChat 2.3"]
klaas_ is now known as klaas
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bocaneri has quit [Remote host closed the connection]
BSaboia has quit [Quit: This computer has gone to sleep]
ldepandis has joined #ruby
hiroaki has joined #ruby
BSaboia has joined #ruby
elcuervo has joined #ruby
s2013 has joined #ruby
cuerbot has quit [Ping timeout: 260 seconds]
gix has joined #ruby
dfucci has quit [Ping timeout: 264 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
queip has quit [Quit: bye, freenode]
queip has joined #ruby
banisterfiend has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
burgestrand has quit [Quit: burgestrand]
BSaboia has joined #ruby
dfucci has joined #ruby
Xiti has joined #ruby
TCZ has joined #ruby
ldepandis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vondruch has quit [Ping timeout: 272 seconds]
ujjain2 has joined #ruby
bmurt has joined #ruby
BSaboia has quit [Quit: This computer has gone to sleep]
ap4y has joined #ruby
lebigsquare has joined #ruby
dfucci has quit [Ping timeout: 258 seconds]
lebigsquare has quit []
ujjain2 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ldepandis has joined #ruby
xall has quit [Remote host closed the connection]
kristian_on_linu has joined #ruby
splud has quit [Ping timeout: 260 seconds]
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]