__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
phinxy has joined #ruby
naprimer has quit [Ping timeout: 240 seconds]
<runescape07rsps>
whats UP
<matthewd>
"of course" and "exactly the same" need some reasonably strong understanding of how the syntaxes differ
astrobunny has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
<al2o3-cr>
matthewd: pretty sure i understand how syntaxes differ
rundor has joined #ruby
tacoboy has joined #ruby
rundor has quit [Remote host closed the connection]
bronson has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
Guest83 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<matthewd>
al2o3-cr: Sure. But that distinction may not be apparent to someone who's new, so let's not imply they're missing something obvious.
AAA has joined #ruby
lacuna has joined #ruby
<al2o3-cr>
i'll just fuck off then
al2o3-cr has quit [Quit: WeeChat 1.9]
hotpancakes has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
milardov_ has quit [Remote host closed the connection]
rundor has joined #ruby
mim1k has joined #ruby
d^sh has quit [Ping timeout: 268 seconds]
astrobunny has joined #ruby
milardovich has joined #ruby
d^sh has joined #ruby
mim1k has quit [Ping timeout: 246 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jdawgaz has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
apparition has joined #ruby
joelwallis has quit []
PorcoRex has joined #ruby
herbmillerjr has joined #ruby
<PorcoRex>
Evening Ruby.
gothicsouth has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has joined #ruby
facest has joined #ruby
cdg has joined #ruby
blznblzn2 has joined #ruby
statelesscode_ has joined #ruby
zzak_ has joined #ruby
adambeynon_ has joined #ruby
kculpis has joined #ruby
gwilkes_ has joined #ruby
sonOfRa_ has joined #ruby
chrisseaton_ has joined #ruby
avdi_ has joined #ruby
cstrahan_ has joined #ruby
bove_ has joined #ruby
danzilio_ has joined #ruby
t-richards_ has joined #ruby
bcavileer_ has joined #ruby
yosafbridge` has joined #ruby
kireevco_ has joined #ruby
boxrick1_ has joined #ruby
pmarreck_ has joined #ruby
discopatrick_ has joined #ruby
jottr has joined #ruby
LyndsySimon_ has joined #ruby
jaequery has joined #ruby
patarr has quit [Ping timeout: 248 seconds]
cyclonis_ has joined #ruby
jzigmund_ has joined #ruby
chloe____ has joined #ruby
MasterNayru has joined #ruby
<jaequery>
hi guys, anyone happen to have a recommendation on a good book for a young kid (highschooler) wanting to become a web developer?
alex``` has joined #ruby
patarr has joined #ruby
devyn_ has joined #ruby
moei has quit [Ping timeout: 240 seconds]
<jaequery>
im not sure what would be a book appropriate for a high school kid
RushPL has joined #ruby
moei has joined #ruby
kies has quit [Ping timeout: 260 seconds]
__Yiota has joined #ruby
k1ltzman has joined #ruby
<PorcoRex>
jaequery, do you have any background in development? And in web development?
matthewd_ has joined #ruby
Scientz has joined #ruby
szulak_ has joined #ruby
apeiros_ has joined #ruby
gnoss_ has joined #ruby
zachary1- has joined #ruby
dysfigur- has joined #ruby
cjk101010_ has joined #ruby
justinmrkva_ has joined #ruby
Archrove- has joined #ruby
timmow_ has joined #ruby
<jaequery>
well, i been developing for over 13 years
<jaequery>
:)
Tagami[m]1 has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
<jaequery>
but i dont know how to pick a good book for kids these days hehe
zack6849 has quit [*.net *.split]
alex`` has quit [*.net *.split]
Tagami[m] has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
t-richards has quit [*.net *.split]
discopatrick has quit [*.net *.split]
boxrick1 has quit [*.net *.split]
kireevco has quit [*.net *.split]
nertzy has quit [*.net *.split]
armyriad has quit [*.net *.split]
Guest73807 has quit [*.net *.split]
willymox has quit [*.net *.split]
gnoss has quit [*.net *.split]
jzigmund has quit [*.net *.split]
chloe__ has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
gwilkes has quit [*.net *.split]
faces has quit [*.net *.split]
zzak has quit [*.net *.split]
dysfigured has quit [*.net *.split]
crayfishx_ has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
timmow has quit [*.net *.split]
devyn has quit [*.net *.split]
MasterNayru_ has quit [*.net *.split]
cyclonis has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
mistym has quit [*.net *.split]
kash has quit [*.net *.split]
sindork has quit [*.net *.split]
qsx has quit [*.net *.split]
statelesscode has quit [*.net *.split]
Archrover has quit [*.net *.split]
gremax has quit [*.net *.split]
octomancer has quit [*.net *.split]
avdi has quit [*.net *.split]
troter__________ has quit [*.net *.split]
bcavileer has quit [*.net *.split]
cstrahan has quit [*.net *.split]
pmarreck has quit [*.net *.split]
matthewd has quit [*.net *.split]
kiltzman has quit [*.net *.split]
Scient has quit [*.net *.split]
apeiros has quit [*.net *.split]
Caius has quit [*.net *.split]
szulak has quit [*.net *.split]
vedu has quit [*.net *.split]
adambeynon has quit [*.net *.split]
zachary12 has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
LyndsySimon has quit [*.net *.split]
danzilio has quit [*.net *.split]
bove has quit [*.net *.split]
Rush_ has quit [*.net *.split]
justinmrkva has quit [*.net *.split]
gwilkes_ is now known as gwilkes
sonOfRa_ is now known as sonOfRa
statelesscode_ is now known as statelesscode
Scientz is now known as Scient
gnoss_ is now known as gnoss
matthewd_ is now known as matthewd
t-richards_ is now known as t-richards
justinmrkva_ is now known as justinmrkva
zzak_ is now known as zzak
kireevco_ is now known as kireevco
boxrick1_ is now known as boxrick1
adambeynon_ is now known as adambeynon
pmarreck_ is now known as pmarreck
chrisseaton_ is now known as chrisseaton
troter__________ has joined #ruby
armyriad has joined #ruby
discopatrick_ is now known as discopatrick
sindork_ has joined #ruby
bcavileer_ is now known as bcavileer
bove_ is now known as bove
avdi_ is now known as avdi
danzilio_ is now known as danzilio
zack6849 has joined #ruby
zack6849 has joined #ruby
zack6849 has quit [Changing host]
patarr has quit [Ping timeout: 260 seconds]
cstrahan_ is now known as cstrahan
vedu has joined #ruby
LyndsySimon_ is now known as LyndsySimon
baweaver_away is now known as baweaver
<PorcoRex>
This garbage collector is pretty extreme...
octomancer has joined #ruby
rundor has quit [Remote host closed the connection]
alamar has joined #ruby
alamar is now known as Guest67830
<PorcoRex>
jaequery, I assume you're looking for a Rails reference for webdev?
TheBrayn has joined #ruby
<PorcoRex>
Maybe they can give you a better assesment in their channel.
willymox has joined #ruby
ricer2 has quit [Ping timeout: 260 seconds]
runescape07rsps has quit [Quit: Leaving]
bokayio has quit [Ping timeout: 240 seconds]
kash has joined #ruby
runescape07rsps has joined #ruby
runescape07rsps has quit [Remote host closed the connection]
apeiros_ has quit [Ping timeout: 260 seconds]
ignarps has quit [Ping timeout: 240 seconds]
jameser has joined #ruby
crayfishx has joined #ruby
charliesome has joined #ruby
<jaequery>
@porcorex: yea, but no response
<jaequery>
is the irc channel dead these days? i haven't been on here in like 2 years
<PorcoRex>
I'm not sure.
<jaequery>
seems relatively too quiet
bokayio has joined #ruby
<PorcoRex>
Not unlike this one.
gremax has joined #ruby
nertzy has joined #ruby
Caius has joined #ruby
mistym has joined #ruby
<PorcoRex>
Anyways, what level are you looking for? Basic?
Caius has quit [Changing host]
Caius has joined #ruby
mistym has joined #ruby
mistym has quit [Changing host]
ignarps has joined #ruby
apeiros has joined #ruby
mtkd has quit [Ping timeout: 248 seconds]
mtkd has joined #ruby
qsx has joined #ruby
dysfigur- is now known as dysfigured
willardg has joined #ruby
willardg has left #ruby [#ruby]
willardg has joined #ruby
<willardg>
Good evening!
<PorcoRex>
willardg, hey.
orgasm has quit [Ping timeout: 258 seconds]
ElFerna has joined #ruby
<jaequery>
basic, yes
<jaequery>
he knows basic HTML/CSS
orgasm has joined #ruby
<PorcoRex>
jaequery, paid or free?
<jaequery>
paid is fine
<PorcoRex>
jaequery, well, you can buy this, but you can also read it online for free. I think it's a good starting point for Rails: https://www.railstutorial.org/book
rundor has joined #ruby
jackjackdripper has joined #ruby
<PorcoRex>
Or at least it was way back when I originally read it.
jackjackdripper has quit [Client Quit]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jackjackdripper has joined #ruby
shiranuidong has quit [Remote host closed the connection]
jackjackdripper has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
shiranuidong has joined #ruby
jackjackdripper has joined #ruby
bogdanteleaga has quit [Ping timeout: 276 seconds]
jackjackdripper has quit [Client Quit]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
daed has quit [Ping timeout: 240 seconds]
Bhootrk_ has joined #ruby
z64 has quit [Ping timeout: 260 seconds]
bogdanteleaga has joined #ruby
z64 has joined #ruby
adam12 is now known as adam
ascarter has joined #ruby
adam is now known as Guest62357
seitensei has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
duracrisis has quit [Ping timeout: 276 seconds]
jdawgaz has joined #ruby
hotpanca_ has joined #ruby
astrobunny has quit [Remote host closed the connection]
roamingdog has quit [Ping timeout: 246 seconds]
astrobunny has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
astrobunny has joined #ruby
ascarter has quit [Ping timeout: 248 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
ascarter_ has joined #ruby
cdg has quit [Remote host closed the connection]
jdawgaz has quit [Client Quit]
cdg has joined #ruby
Silthias has quit [Ping timeout: 255 seconds]
orgasm has quit [Ping timeout: 258 seconds]
jdawgaz has joined #ruby
bogdanteleaga has quit [Ping timeout: 255 seconds]
daed has joined #ruby
rundor has quit [Remote host closed the connection]
z64 has quit [Ping timeout: 255 seconds]
HoierM has quit [Ping timeout: 240 seconds]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
duracrisis has joined #ruby
AAA has quit [Ping timeout: 260 seconds]
rundor has quit [Remote host closed the connection]
jnollette has quit [Ping timeout: 240 seconds]
bogdanteleaga has joined #ruby
dyyylan has quit [Ping timeout: 260 seconds]
seitensei has joined #ruby
rundor has joined #ruby
dyyylan has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
ansraliant has quit [Quit: Konversation terminated!]
dennisvennink has quit [Read error: Connection reset by peer]
rundor has quit [Remote host closed the connection]
z64 has joined #ruby
rundor has joined #ruby
dennisvennink has joined #ruby
rundor has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpanca_ has quit [Remote host closed the connection]
<ruby[bot]>
emers2n: we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
jottr has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
TheBloke has quit [Ping timeout: 260 seconds]
<PorcoRex>
So all n combinations and all n - 1 combinations, but no n - 2 ones?
<dminuoso>
morfin: So let's start all over again. miniruby is crashing right?
hotpancakes has joined #ruby
<morfin>
yes
<morfin>
but it use same code as Ruby as i see
<dminuoso>
morfin: Please gist the full and complete output of the stacktrce.
<dminuoso>
Well, everything actually
jottr has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
<ClarkeZhu_>
hi anyone can speak Chinase?
<dminuoso>
morfin: But the parser is the one part in Ruby that has trivial code. Bison is unlikely to be buggy, and the semantic actions are just trivial node building operations that are not buggy.
<morfin>
well, i see there is huge tree
<dminuoso>
morfin: Just gist the entire output from the moment things go wrong.
ClarkeZhu_ has quit [Quit: Page closed]
ur5us has quit [Remote host closed the connection]
<dminuoso>
morfin: And if some process overwrites that metadata, it will blow up the next time you call free or malloc.
<dminuoso>
morfin: Which is why you need instrumentation like asan or valgrind to find the spot where a program tries to access "invalid memory"
enterprisey has quit [Remote host closed the connection]
<morfin>
how do i track down command
<morfin>
to run
mikolaj9 has joined #ruby
<morfin>
make -n give some incorrect command
<dminuoso>
morfin: either compile miniruby with -fsanitize-address or run with valgrind. you will need to disable optimizations in both cases.
<dminuoso>
Err -fsanitize=address
<morfin>
that's why i need exact command
<dminuoso>
morfin: Google.
andikr has joined #ruby
bigkevmcd has joined #ruby
rundor has joined #ruby
<morfin>
nice
<morfin>
with other command i got segfault at 0x00000000000000
<mikolaj9>
what is mini ruby?
<dminuoso>
morfin: You need to compile miniruby with that.
<dminuoso>
mikolaj9: Ruby uses Ruby in order to compile itself.
<morfin>
i already ran with valgrind
aufi has joined #ruby
<morfin>
there was tonns of complains about gc
vali has joined #ruby
<dminuoso>
mikolaj9: So in order to bootstrap, Ruby first compiles a miniature version of itself called Miniruby, which is then used for the rest of the build process.
<mikolaj9>
miniruby != mruby || mrubyc
<mikolaj9>
?
nicoulaj46 has quit [Quit: nicoulaj46]
<dminuoso>
mikolaj9: Right.
<dminuoso>
mikolaj9: miniruby is just an internal thing during the build process.
nicoulaj has joined #ruby
<mikolaj9>
aha, ok
<morfin>
dminuoso, just 70346 erros)
<dminuoso>
morfin: That's quite normal for small bugs.
<morfin>
==451== Address 0x6aacfe8 is 8 bytes inside a block of size 272 free'd
rundor has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
<morfin>
not sure such things are safe
xall has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
blznblzn2 has quit [Ping timeout: 255 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<livcd>
There was this article that Ruby is used differently in Japan than in West but it was not very specific about how. Does anyone know more ?
bronson has joined #ruby
milardovich has quit [Ping timeout: 268 seconds]
<morfin>
==451== Invalid read of size 8 again in local_id_gen
<morfin>
but before there is bunch of different calls
mikecmpbll has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
<mikolaj9>
dminuoso can I show a microcode from ruby or mruby?
<mikolaj9>
for example i woul like to get program in fuby and show microcode (meybe store it in file)
<mikolaj9>
and run it with ruby code (vm in ruby?)
<mikolaj9>
it is simple?
vali has quit [Ping timeout: 276 seconds]
vali has joined #ruby
valentin has joined #ruby
vali has quit [Remote host closed the connection]
valentin has quit [Remote host closed the connection]
<morfin>
not sure where could be a reason for that?
bkxd has joined #ruby
leah2 has quit [Ping timeout: 240 seconds]
bkxd_ has joined #ruby
<mikolaj9>
please look at mrubyc this project is interesting but very complicated
<mikolaj9>
I would like to undestand how using microcode.
<dminuoso>
mikolaj9: No, the VMs are incompatible from another.
<mikolaj9>
next i thing embeding microcode to small device like as arduino
<mikolaj9>
mrubyc read a mruby microcode
<morfin>
dminuoso, can it be optimized out code like this: "if (p < heap_pages_lomem || p > heap_pages_himem) return FALSE;"?
<mikolaj9>
and translate to small program
<mikolaj9>
meybe for didactic , using it but to ruby code
<dminuoso>
mikolaj9: Technically optimizations can create false positives (though they are rare)
<dminuoso>
Be sure to compile with -O0 to rule that out.
<morfin>
wrong guy
<dminuoso>
morfin: Indeed.
<morfin>
i suspect optimizer can optimize out something
<morfin>
because there is many records related to GC
<dminuoso>
morfin: Well optimizations create false negatives for sure.
<mikolaj9>
dminuoso: this will be only for didactic, undestand how run vm in ruby
<mikolaj9>
or in lua or perl ;-)
bkxd_ has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
<mikolaj9>
dminuoso: Can You help me?
<dminuoso>
morfin: Basically what valgrind does, is take the assembly output from our compiler and together with debug symbols and the original source code disassemble, insert instrumentation, reassembly and run on the CPU. So it does not care how aggressively optimized the code is.
<dminuoso>
The fact that it can in rare cases produce false positives is because of a performance optimization.
InfinityFye has joined #ruby
lpapp has joined #ruby
<lpapp>
hi, what is the ruby version of this? python3 -u -c 'for i in range(20):print("HAPPY NEW YEAR!!!","/o\\"[::1-2*(i%2)],end="\r\n"[i==19])or sum(range(int(1e7)))'
<dminuoso>
(And valgrind does this on-the-fly, so it's basically a JIT compiler)
<dminuoso>
Or a JIT recompiler if you want. :P
<dminuoso>
lpapp: Describe in words what that does.
<lpapp>
ah, you cannot run it.
<dminuoso>
lpapp: I can, but that's besides the point.
<lpapp>
it changes HAPPY NEW YEAR!!! \o/ and HAPPY NEW YEAR!!! /o\ a couple of times (20).
<lpapp>
on the same line on the console.
<lpapp>
if you understand perl better: perl -MTime::HiRes=sleep -we '$|++; my @x = ("\\", "o", "/"); for (1..20) { print "HAPPY NEW YEAR!!! ", @x,"\r"; sleep 0.2; @x = reverse @x; }; print "\n";' :-)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dminuoso>
lpapp: No I want you to technically describe what your goal is.
<lpapp>
09:06 < lpapp> it changes HAPPY NEW YEAR!!! \o/ and HAPPY NEW YEAR!!! /o\ a couple of times (20).
<lpapp>
09:06 < lpapp> on the same line on the console.
<morfin>
dminuoso, with -O0 build
<morfin>
s
<dminuoso>
morfin: Then those reports are valid.
<dminuoso>
morfin: Probably most boil down to just 2-3 bugs.
<dminuoso>
Or maybe even 1.
antgel has joined #ruby
<morfin>
:(
<morfin>
i really suspect it's 1984
ddffg has quit [Quit: Leaving]
<dminuoso>
morfin: Can you try and reproduce with 2.3.4?
<ruby[bot]>
dminuoso: # => "YARB\x02\x00\x00\x00\x03\x00\x00\x00\xA8\x01\x00\x00\x00\x00\x00\x00\x01\x00\x00\x00\x03\x00\x00\x0 ...check link for more (https://eval.in/833801)
<dminuoso>
mikolaj9: If that is too complicated for you, perhaps you shouldn't be doing this at all.
<mikolaj9>
dminuoso: ok, and how read binary and run it? can You show me?
<dminuoso>
mikolaj9: Look at the documentation.
astrobunny has joined #ruby
rohitpaulk has quit [Ping timeout: 246 seconds]
<mikolaj9>
where is documentation about bytecode?
<dminuoso>
mikolaj9: Use the source, luke.
cam27 has quit [Quit: cam27]
<mikolaj9>
dminuoso: how run dissasem (p = proc { num = 1 + 2 }
<dminuoso>
Now Im convined you dont know what you want.
xerx has joined #ruby
aufi has quit [Quit: Leaving]
aufi has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
milardovich has joined #ruby
stoffus has joined #ruby
kkiero has joined #ruby
milardovich has quit [Ping timeout: 240 seconds]
<morfin>
dminuoso, how usually fight with that negative optimizations?
kkiero has left #ruby [#ruby]
<morfin>
*fighting
aupadhye has joined #ruby
<dminuoso>
morfin: What is a negative optimization?
<morfin>
like one broke my malloc metadata
<Bish>
dminuoso: ? thats not iso8601
workmad3 has joined #ruby
<Bish>
thats weirdy ruby syntax
<dminuoso>
Mmm
<dminuoso>
Ohh yeah.
<dminuoso>
Bish: The default format is rfc2822 I think
<morfin>
can be something like 20170718T135521+0000
<dminuoso>
Or.. no. That is different too
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
brent__ has joined #ruby
sarbs has quit [Ping timeout: 260 seconds]
<TheBrayn>
Sometimes during the installation of a gem native extensions are built, is there a way to specify additional options like parallel jobs?
brent__ has quit [Ping timeout: 260 seconds]
sarbs has joined #ruby
patarr has joined #ruby
s1kx has quit [Ping timeout: 255 seconds]
vee_ has joined #ruby
belmoussaoui has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 248 seconds]
jottr has joined #ruby
coenraad has joined #ruby
belmoussaoui has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
rohitpaulk has joined #ruby
romankapitonov has joined #ruby
<morfin>
so isthere ways to fight such optimizations?
<morfin>
volatile?
vali has joined #ruby
rohitpaulk has quit [Ping timeout: 260 seconds]
<zenspider>
TheBrayn: It depends on the gem ... `gem help install` for more (generic) info
hotpancakes has joined #ruby
<matthewd>
morfin: C optimizations rely on undefined behaviour. "Fight" them by not writing code that uses undefined behaviour.
ur5us has joined #ruby
nofxxx has quit [Ping timeout: 240 seconds]
marr has joined #ruby
Serpent7776 has joined #ruby
<Bish>
dminuoso: as i said, ruby weirdoformat
<dminuoso>
morfin: Optimizations don't break code. Using undefined behavior does.
<dminuoso>
morfin: What happens if you compile with an older version of GCC and valgrind?
<dminuoso>
Or alternatively recompile miniruby with -fno-strict-aliasing
jaruga has quit [Quit: jaruga]
hotpancakes has quit [Ping timeout: 276 seconds]
astrobun_ has quit [Remote host closed the connection]
djbkd has joined #ruby
hahuang65 has joined #ruby
<morfin>
so you say there was an UB
<morfin>
i suspected that
<morfin>
it was silentrly working before
cseder has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
<dminuoso>
morfin: Accessing invalid memory is UB.
<dminuoso>
morfin: The fact that it was working fine before means nothing. It just happened that GCC hid the bug.
<dminuoso>
morfin: Check my previous recommendations. Especially the last one should be interesting
gregf_ has quit [Ping timeout: 260 seconds]
<morfin>
i know it's UB
mfaeh has joined #ruby
<morfin>
interesting that clang was working nice with that
<morfin>
too
pwned has joined #ruby
tvw has joined #ruby
rohitpaulk has joined #ruby
patarr has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
<arahael>
morfin: Why couldn't it? "working nice" is is perfectly valid UB.
mim1k has joined #ruby
nowhere_man has quit [Ping timeout: 276 seconds]
patarr has quit [Ping timeout: 240 seconds]
leah2 has joined #ruby
xall has quit [Read error: Connection reset by peer]
mim1k has quit [Ping timeout: 246 seconds]
gregf_ has joined #ruby
jottr has joined #ruby
encounter_ekamba has joined #ruby
xall has joined #ruby
xall has quit [Client Quit]
mim1k has joined #ruby
<dminuoso>
morfin: And did you run it through valgrind?
<dminuoso>
With a clang-built miniruby
jottr has quit [Ping timeout: 255 seconds]
<arahael>
.bu7
vali has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 255 seconds]
* dminuoso
stabs arahael with an obsolete set of FIXINCLUDES
vali has joined #ruby
coenraad has quit [Ping timeout: 248 seconds]
<arahael>
dminuoso: What?
<dminuoso>
That's what I thought
BSAlb has quit [Quit: Leaving]
mim1k has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
x0f has quit [Ping timeout: 246 seconds]
Silthias has quit [Quit: Leaving.]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 258 seconds]
x0f has joined #ruby
Francy has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
hutch34 has joined #ruby
Francy has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
rgtk has joined #ruby
hutch34 has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
rgtk has quit [Ping timeout: 260 seconds]
nanoz has joined #ruby
umaaji has quit [Quit: Leaving...]
Ishido has joined #ruby
mfaeh has quit [Remote host closed the connection]
mfaeh has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
psychicist__ has quit [Quit: Lost terminal]
synget has joined #ruby
ShekharReddy has joined #ruby
mim1k has joined #ruby
jottr has joined #ruby
sarbs has quit [Ping timeout: 255 seconds]
jottr has quit [Ping timeout: 258 seconds]
sarbs has joined #ruby
tvw has quit [Ping timeout: 248 seconds]
synget has quit [Ping timeout: 260 seconds]
renchan has quit [Ping timeout: 255 seconds]
renchan has joined #ruby
tvw has joined #ruby
psychicist__ has joined #ruby
psychicist__ has quit [Client Quit]
psychicist__ has joined #ruby
hotpancakes has joined #ruby
Guest83 has joined #ruby
ldnunes has joined #ruby
nanoz has quit [Ping timeout: 255 seconds]
ldnunes has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
hahuang65 has joined #ruby
Silthias has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
Silthias1 has joined #ruby
uZiel has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
Silthias has quit [Ping timeout: 255 seconds]
kkiero has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
leah2_ has joined #ruby
ldnunes has joined #ruby
postmodern_ has quit [Quit: Leaving]
charliesome has joined #ruby
jameser has joined #ruby
swills has joined #ruby
mfaeh has quit [Remote host closed the connection]
belmoussaoui has quit [Remote host closed the connection]
mfaeh has joined #ruby
leah2 has quit [Quit: WeeChat 1.9]
leah2_ is now known as leah2
brent__ has joined #ruby
belmoussaoui has joined #ruby
rgtk has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
belmoussaoui has quit [Remote host closed the connection]
jameser has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
cagomez has joined #ruby
belmoussaoui has joined #ruby
brent__ has quit [Ping timeout: 260 seconds]
voxxit has joined #ruby
MarkBilk__ has quit [Read error: Connection reset by peer]
<morfin>
dminuoso, i can try)
cagomez has quit [Ping timeout: 246 seconds]
mfaeh has quit [Remote host closed the connection]
sepp2k has joined #ruby
mfaeh has joined #ruby
aufi has joined #ruby
jottr has joined #ruby
naprimer has joined #ruby
belmoussaoui has quit [Remote host closed the connection]
InfinityFye has quit [Quit: Leaving]
belmoussaoui has joined #ruby
ElFerna has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 240 seconds]
im0nde has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sylario has joined #ruby
rohitpaulk has quit [Ping timeout: 240 seconds]
kkiero_ has joined #ruby
doublemalt_ has quit [Ping timeout: 240 seconds]
synthroid has joined #ruby
mfaeh has quit [Remote host closed the connection]
splitshot has joined #ruby
mfaeh has joined #ruby
InfinityFye has joined #ruby
kkiero has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
yeticry_ has joined #ruby
high_fiver has joined #ruby
hotpancakes has joined #ruby
yeticry has quit [Ping timeout: 260 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
millerti has joined #ruby
belmoussaoui has quit [Ping timeout: 255 seconds]
encounter_ekamba has quit [Quit: Textual IRC Client: www.textualapp.com]
belmoussaoui has joined #ruby
ecuanaso has joined #ruby
lacuna has joined #ruby
hotpancakes has quit [Ping timeout: 258 seconds]
ElFerna has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
rfoust has joined #ruby
hutch34 has joined #ruby
jameser has joined #ruby
rgtk has quit [Ping timeout: 255 seconds]
tacoboy has joined #ruby
im0nde has quit [Ping timeout: 276 seconds]
gr33n7007h has joined #ruby
gr33n7007h is now known as al2o3-cr
pabloz has joined #ruby
ledestin has joined #ruby
andikr has quit [Remote host closed the connection]
pabloz has left #ruby [#ruby]
<morfin>
dminuoso
<morfin>
i was so wrong
<morfin>
it compiled with GCC 4.9 from ports
ledestin has quit [Ping timeout: 240 seconds]
splitshot is now known as take5
kkiero_ is now known as kkiero
belmoussaoui has quit [Read error: Connection reset by peer]
doublemalt_ has joined #ruby
phinxy has joined #ruby
rgtk has joined #ruby
shadeslayer has joined #ruby
belmoussaoui has joined #ruby
aupadhye has quit [Remote host closed the connection]
bruno- has joined #ruby
Tempesta has joined #ruby
aupadhye has joined #ruby
aupadhye is now known as aupadhye|brb
jaruga has joined #ruby
rohitpaulk has joined #ruby
ElFerna has joined #ruby
dionysus69 has joined #ruby
rgtk has quit [Ping timeout: 240 seconds]
Guest83 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rohitpaulk has quit [Ping timeout: 240 seconds]
milardovich has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
high_fiver has quit [Ping timeout: 260 seconds]
doublemalt_ has quit [Ping timeout: 240 seconds]
apparition47 has joined #ruby
doublemalt_ has joined #ruby
DLSteve has joined #ruby
ElFerna has quit [Ping timeout: 260 seconds]
antgel has joined #ruby
mfaeh has quit [Remote host closed the connection]
mfaeh has joined #ruby
tau has joined #ruby
rgtk has joined #ruby
mikecmpb_ has joined #ruby
mikecmpbll has quit [Ping timeout: 268 seconds]
hahuang65 has joined #ruby
jphase has quit []
Shimmy_ has joined #ruby
hahuang65 has quit [Ping timeout: 276 seconds]
dionysus69 has quit [Quit: dionysus69]
dasher00 has joined #ruby
bronson has joined #ruby
rohitpaulk has joined #ruby
im0nde has joined #ruby
take5 has quit [Remote host closed the connection]
<morfin>
dminuoso, yes i checked .comment
ElFerna has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
<morfin>
it says GCC 4.9.4 from ports
chouhoulis has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
<morfin>
he-he with clang 3.8(pretty old) works
chouhoulis has quit [Remote host closed the connection]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
hotpancakes has joined #ruby
rohitpaulk has quit [Ping timeout: 248 seconds]
kkiero has quit [Ping timeout: 255 seconds]
psychicist__ has quit [Quit: Lost terminal]
hightower2 has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
hotpancakes has joined #ruby
jameser has quit [Client Quit]
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
uZiel has joined #ruby
jameser has joined #ruby
mim1k has joined #ruby
mfaeh has quit [Remote host closed the connection]
jameser has quit [Client Quit]
mfaeh has joined #ruby
rohitpaulk has joined #ruby
jdawgaz has joined #ruby
polishdub has joined #ruby
Rapture has joined #ruby
jameser has joined #ruby
Teemo has joined #ruby
mfaeh has quit [Remote host closed the connection]
mfaeh has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aupadhye|brb is now known as aupadhye
jdawgaz has joined #ruby
oleo has joined #ruby
hotpancakes has quit [Remote host closed the connection]
theunraveler has joined #ruby
cadillac_ has quit [Read error: Connection reset by peer]
high_fiver has joined #ruby
ltem has quit [Quit: Leaving]
ElFerna has quit [Ping timeout: 240 seconds]
mikecmpb_ has quit [Quit: inabit. zz.]
mikecmpbll has joined #ruby
ElFerna has joined #ruby
rfoust has joined #ruby
kculpis has joined #ruby
shiranuidong has quit [Remote host closed the connection]
jphase has joined #ruby
AxelAlex has joined #ruby
chouhoulis has quit [Remote host closed the connection]
take5 has joined #ruby
chouhoulis has joined #ruby
shiranuidong has joined #ruby
chouhoulis has quit [Remote host closed the connection]
shiranuidong has quit [Remote host closed the connection]
brent__ has joined #ruby
impermanence has joined #ruby
im0nde has quit [Quit: im0nde]
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<impermanence>
I know that in the core and stdlib methods an exclamation mark after a method name means it's a mutator...but I'm looking at some code online and the author has put an exclamation point after a method they wrote and it isn't a mutator. Is there some significance to this exclamation point?
<impermanence>
def run!
<impermanence>
while true
<impermanence>
puts 'whatever'
<impermanence>
end
<impermanence>
end
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brent__ has quit [Ping timeout: 248 seconds]
<Papierkorb>
impermanence: Nothing to do with mutations, the bang just indicates that this method may do something unexpected, and advises the user to look up in the docs.
ski7777 has quit [Read error: Connection reset by peer]
ski7777 has joined #ruby
dviola has joined #ruby
aufi has quit [Quit: Leaving]
cdg has joined #ruby
Guest83 has joined #ruby
ahrs has quit [Remote host closed the connection]
Francy has quit [Quit: Leaving]
<mkaito>
sk_: looks like a bug in capybara. they need to `require 'timeout'`, most likely.
<mkaito>
either that, or there's a conflict somewhere
Guest83 has quit [Client Quit]
ski7777 has quit [Remote host closed the connection]
<mkaito>
something is providing 'timeout' that does not provide Timeout::Error.
ski7777 has joined #ruby
ahrs has joined #ruby
cdg_ has joined #ruby
jaruga has quit [Quit: jaruga]
mim1k has quit [Ping timeout: 255 seconds]
<cagomez>
if I group Foo's by name, what's a good variable name for it? 'foos_grouped_by_name'?
cdg has quit [Ping timeout: 260 seconds]
ski7777 has quit [Ping timeout: 268 seconds]
AxelAlex has quit [Ping timeout: 260 seconds]
sgen has quit [Quit: Leaving]
ski7777 has joined #ruby
<take5>
cagomez, without anymore context, I might go with "foos_by_name"
coenraad has quit [Ping timeout: 240 seconds]
mfaeh has quit []
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
ldnunes has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: inabit. zz.]
kyle__ has joined #ruby
<kyle__>
If you're on an older box, is there a way to install gems with whatever the latest version will work is?
gothicsouth has joined #ruby
<kyle__>
ie: gem install rubocop on an older centos server complains that rake require ruby version 1.9.3, instead of just grabbing the latest this ancient ruby can use
<cagomez>
I need to check if my Foo objects, each with an array of Bars, have a certain bar id. I'll be building a hash with keys `myhash[[foo.name, bar.id]]` with values set to True. Should I just use a set?
<mkaito>
kyle__: you can install specific versions of a gem, but you'll need to see which one will work yourself.
<sk_>
I am not on an older linux os. I am able to install the gems but for some reason it still gives me that output?
pecan has joined #ruby
<kyle__>
sk_: Do you have multiple versions of ruby installed? IIRC each one will have it's own 'gem' script, and its own set of gems.
pmden has joined #ruby
pmden has quit [Changing host]
pmden has joined #ruby
<sk_>
No I do not
<kyle__>
On most distros 'gem' is a symlink to whatever is the system default, and gem1.8 gem1.9 gem2.0 etc are the ones for specific versions.
<kyle__>
Humm.
<kyle__>
I dunno then.
pmden has left #ruby [#ruby]
<sk_>
let me see one guy yesterday said he was able to figure it out but left no instructions
ascarter has joined #ruby
ansraliant has joined #ruby
<sk_>
He said -> Locally, when I run Delayed::Job.enqueue TestJob.new, it is automatically deleted by delayed job, and not executed (DELETE FROM "delayed_jobs" ...)
<sk_>
But when I run this type of job via #delay DelayableTasks.new.delay.tmp and AFTERWARDS run Delayed::Job.enqueue TestJob.new, it runs fine.
<sk_>
there was a dependency needed in the job that was failing autoload in dev that dependency is loaded in the first job
duderonomy has joined #ruby
mwlang has joined #ruby
<sk_>
Were any of you guys able to get it to run on your OS? If any of you were able to figure it out on those I would rather do that.
<cagomez>
if I add objects to a Set, are copies of the objects added to the set? What happens if I add objects to a Set and mutate them outside? Will calling `member?` not find the object in the set?
br0d1n has joined #ruby
<cagomez>
or will mutating the object outside the Set also mutate the object inside the Set?
<sk_>
I am not sure cagomez
<sk_>
I do not own the code I am simply trying to figure out how to run it and use it
synthroid has quit [Remote host closed the connection]
<_moep_>
hello
<_moep_>
when I tried to run in my redmine dir: bundle install and it fetch everything. when I do bundle exec gem install unicorn I get this error: https://paste.debian.net/hidden/cc65ed70/
Ishido has quit [Ping timeout: 276 seconds]
ColeHub has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
Ishido has joined #ruby
<mwlang>
_moep_: review contents of unicorn-5.3.0/gem_make.out to see what specifically failed
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<mwlang>
on second thought, re-reading the error chain, if I had to guess, you’re using bundle exec and the unicorn gem isn’t listed there.
<mwlang>
“there” meaning the project’s Gemfile
dionysus69 has joined #ruby
kyle__ has left #ruby ["WeeChat 1.6"]
<_moep_>
mwlang: unicorn is listed in the gem.local file
<mwlang>
_moep_: what’s the output of: bundle list | grep unicorn
<_moep_>
could not found in sources
<_moep_>
Could not find unicorn-5.3.0 in any of the sources
<mwlang>
_moep_: yet, “bundle install” worked previously?
kies has quit [Ping timeout: 260 seconds]
<_moep_>
yes
TvL2386_ is now known as TvL2386
<_moep_>
ok now unicorn is listed
chouhoul_ has joined #ruby
<_moep_>
so I dont have to do bundle exec gem install unicorn right?
milardovich has quit [Remote host closed the connection]
benlieb has joined #ruby
ElFerna has quit [Ping timeout: 255 seconds]
chouhou__ has joined #ruby
AxelAlex has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
tvon has joined #ruby
lxsameer has quit [Quit: WeeChat 1.7]
chouhoul_ has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
<mwlang>
_moep_: no. bundle install does it for you
milardovich has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
lacuna has joined #ruby
nofxx has joined #ruby
lacuna has quit [Read error: Connection reset by peer]
gusrub has quit [Remote host closed the connection]
jdawgaz has joined #ruby
gusrub has joined #ruby
milardovich has quit [Ping timeout: 258 seconds]
<_moep_>
mwlang: ah ok thx
tau has quit [Remote host closed the connection]
renchan has quit [Read error: Connection reset by peer]
Guest83 has joined #ruby
hotpancakes has quit [Remote host closed the connection]
TomyWork has quit [Remote host closed the connection]
cpruitt has joined #ruby
Beams has quit [Quit: .]
sha-7 has joined #ruby
<sha-7>
Is there a way I can automatically log all the errors that get raised?
hotpancakes has joined #ruby
hotpancakes has quit [Remote host closed the connection]
Rodya_ has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
ahrs has quit [Remote host closed the connection]
hahuang65 has joined #ruby
ski4x7 has joined #ruby
<kspencer>
I'm trying to conditionally either return a given string if it doesn't have a newline, or return only the string upto the first \n then cut the rest, but currently its just clearing out the line, I currently have 'some string'.lines[0].chomp!, but that kinda kills the line when it doesn't have a newline,so I'm trying to figure a really easy to do that
synthroid has joined #ruby
<kspencer>
use case being commit messages
ski7777 has quit [Ping timeout: 248 seconds]
ski4x7 has quit [Remote host closed the connection]
rgtk has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ahrs has joined #ruby
hotpancakes has joined #ruby
pkmoore has joined #ruby
wilbert has joined #ruby
<al2o3-cr>
sha-7: you could take a look at tracepoint
ascarter has joined #ruby
jdawgaz has joined #ruby
sarmiena_ has joined #ruby
<apeiros>
kspencer: chomp if you want the return value, chomp! is only for when you want to mutate in-place.
<apeiros>
many core bang! methods return nil if nothing changed.
sgen has joined #ruby
sepp2k has quit [Quit: Leaving.]
milardovich has joined #ruby
<kspencer>
I see, I'll a change of that out then
kies has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
Orxata_ has quit [Ping timeout: 268 seconds]
Orxata_ has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
cagomez has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Orxata_ has quit [Quit: leaving]
high_fiver has joined #ruby
chmurifree has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
rohitpaulk has joined #ruby
bronson has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
TomyLobo has joined #ruby
Aromn has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
hotpanca_ has joined #ruby
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
chmurifree has joined #ruby
rundor has joined #ruby
deep-book-gk_ has joined #ruby
rundor has quit [Remote host closed the connection]
rundor has joined #ruby
rundor has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 246 seconds]
rundor has joined #ruby
deep-book-gk_ has left #ruby [#ruby]
rundor has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jackjackdripper has joined #ruby
nebiros has joined #ruby
benlieb_ has joined #ruby
SeepingN has joined #ruby
benlieb has quit [Read error: Connection reset by peer]
benlieb_ is now known as benlieb
ferr has quit [Quit: WeeChat 1.9]
Guest83 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
benlieb has quit [Read error: Connection reset by peer]
benlieb has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
ElFerna has joined #ruby
minimalism has quit [Quit: minimalism]
Ishido has quit [Ping timeout: 255 seconds]
benlieb has quit [Ping timeout: 255 seconds]
guymanndude has joined #ruby
<guymanndude>
hi, is there a way to both dump with YAML.dump && append to the same file, in one line?
<guymanndude>
basically, I'm trying to get this down to a oneliner:
Guest83 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tau has joined #ruby
skweek has joined #ruby
<cagomez>
how do I do a .find().group_by {} ? I get an error `NoMethodError: undefined method `call' for {:foo => "bar"}:Hash`
AxelAlex has quit [Quit: AxelAlex]
ta_ has quit [Remote host closed the connection]
ta_ has joined #ruby
swills has joined #ruby
ta_ has quit [Remote host closed the connection]
ascarter has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Guest83 has joined #ruby
spiette has joined #ruby
Rodya_ has quit [Remote host closed the connection]
ta_ has joined #ruby
ta_ has quit [Remote host closed the connection]
koldbrutality has joined #ruby
gusrub has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
dionysus69 has quit [Quit: dionysus69]
<havenwood>
cagomez: Show the real line of code?
<havenwood>
I suspect `.()` version of `.call`.
<havenwood>
>> -> n { n }.(42)
<ruby[bot]>
havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood>
>> -> n { n }.(42)
<ruby[bot]>
havenwood: I'm terribly sorry, I could not evaluate your code because of an error: NoMethodError:undefined method `[]' for nil:NilClass
<havenwood>
#=> 42
<havenwood>
?cookie ruby[bot]
<ruby[bot]>
ruby[bot]: here's your cookie: 🍪
ElFerna has joined #ruby
jud has quit [Quit: Leaving]
gusrub has quit [Remote host closed the connection]
t-recx has joined #ruby
cam27 has joined #ruby
cagomez has quit [Ping timeout: 255 seconds]
<noizex>
is there a way to exclude some gem if one group is present?
hahuang65 has joined #ruby
<noizex>
like, I have :development and :remote_debugging and I'd like to skip one gem in :development group if :remote_debugging is not disabled
ElFerna has quit [Read error: Connection reset by peer]
belmoussaoui has quit [Ping timeout: 258 seconds]
benlieb has quit [Quit: benlieb]
belmoussaoui has joined #ruby
Guest83 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ascarter has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
cagomez has joined #ruby
tvon has quit [Remote host closed the connection]
belmoussaoui has quit [Ping timeout: 248 seconds]
belmoussaoui has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
bronson has joined #ruby
_sfiguser has joined #ruby
cagomez has quit [Ping timeout: 268 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
Rapture has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emilkarl has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
lxsameer has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
rfoust has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest83 has joined #ruby
Rapture has joined #ruby
ElFerna has joined #ruby
iceden|2 has quit [Ping timeout: 240 seconds]
cagomez has quit [Ping timeout: 248 seconds]
spider-mario has quit [Ping timeout: 240 seconds]
Jayson_Virissimo has joined #ruby
workmad3 has joined #ruby
milardovich has quit [Remote host closed the connection]
ElFerna has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
doublemalt_ has joined #ruby
nadir has joined #ruby
koldbrutality has quit [Ping timeout: 246 seconds]
iceden|2 has joined #ruby
benlieb has joined #ruby
cagomez has joined #ruby
HoierM has joined #ruby
xerx has quit [Read error: Connection reset by peer]
hahuang65 has quit [Ping timeout: 255 seconds]
kash has quit [Ping timeout: 240 seconds]
Rodya_ has joined #ruby
emilkarl has quit [Quit: emilkarl]
ElFerna has joined #ruby
Nicmavr has joined #ruby
ta_ has quit [Ping timeout: 255 seconds]
Nicmavr is now known as Guest89630
Rodya_ has quit [Ping timeout: 240 seconds]
rundor has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
rundor has quit [Remote host closed the connection]
jdawgaz has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
Guest89630 has quit [Changing host]
Guest89630 has joined #ruby
Guest89630 is now known as Kestrel-029
rundor has joined #ruby
<Fire-Dragon-DoL>
hello, anyone with experience using net/imap can confirm that when fetching messages, the returned strings are always US-ASCII (which needs to be parsed later on)?
rundor has quit [Ping timeout: 255 seconds]
ptx0 has joined #ruby
romankapitonov has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mtkd has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
mtkd has joined #ruby
jdawgaz has quit [Client Quit]
<canton7>
Fire-Dragon-DoL, rfc3508 section 1.2 does indeed suggest that
jdawgaz has joined #ruby
<Fire-Dragon-DoL>
canton7: thanks, I agree. I hope I'm not opening a can of worms :P
belmoussaoui has quit [Quit: belmoussaoui]
ascarte__ has joined #ruby
gusrub has joined #ruby
jtd has quit [Remote host closed the connection]
synthroid has quit []
Mon_Ouie has quit [Ping timeout: 255 seconds]
belmoussaoui_ has joined #ruby
rundor has joined #ruby
millerti has joined #ruby
pwnd_nsfw has joined #ruby
ascarte__ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
pwned has quit [Ping timeout: 255 seconds]
ascarter_ has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
_sfiguser has quit [Quit: Leaving]
hutch34 has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
ldnunes has quit [Quit: Leaving]
gusrub has quit [Remote host closed the connection]
quobo has joined #ruby
hutch34 has joined #ruby
Renich has quit [Quit: Renich]
hotpanca_ has quit [Remote host closed the connection]
hotpancakes has joined #ruby
gusrub has joined #ruby
gusrub has quit [Remote host closed the connection]
ascarter_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jnollette has quit [Ping timeout: 240 seconds]
tau has quit [Remote host closed the connection]
enterprisey has quit [Read error: Connection reset by peer]
SeepingN has quit [Quit: The system is going down for reboot NOW!]
hotpancakes has quit [Ping timeout: 255 seconds]
milardovich has joined #ruby
ansraliant has quit [Ping timeout: 260 seconds]
tvon has joined #ruby
ElFerna has quit [Ping timeout: 268 seconds]
rundor has quit [Remote host closed the connection]
ta_ has joined #ruby
jnollette has joined #ruby
jdawgaz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyclonis_ has quit [Quit: leaving]
gizmore|2 is now known as gizmore
Rodya_ has joined #ruby
jdawgaz has joined #ruby
alex`` has joined #ruby
tvon_ has joined #ruby
tvon has quit [Ping timeout: 248 seconds]
Mon_Ouie has joined #ruby
tau has joined #ruby
jdawgaz has quit [Client Quit]
sk_ has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
doublemalt_ has quit [Ping timeout: 248 seconds]
Rodya_ has quit [Ping timeout: 276 seconds]
wilbert has quit [Ping timeout: 268 seconds]
pkmoore has quit [Ping timeout: 268 seconds]
theunrav_ has quit []
hotpancakes has joined #ruby
rundor has joined #ruby
hotpanca_ has joined #ruby
Asher has quit [Quit: Leaving.]
guymanndude has quit [Ping timeout: 260 seconds]
Asher has joined #ruby
hotpancakes has quit [Ping timeout: 276 seconds]
rundor has quit [Remote host closed the connection]
BTRE has quit [Remote host closed the connection]
jackjackdripper1 has joined #ruby
ElFerna has joined #ruby
jackjackdripper has quit [Ping timeout: 260 seconds]
take5 has quit [Remote host closed the connection]
kobain has joined #ruby
bronson has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
BSaboia has joined #ruby
s2013 has joined #ruby
rundor has joined #ruby
<s2013>
im trying to format a an array of hash.. something like [ {"name": "john", "city": "la"}, {"name": "mike", "city": "ny"}] into lets say [{"full_name": "john", "from": "la"}, {"full_name": "mike", "from": "ny"}]
<s2013>
i can use map for that simple
TomyLobo has quit [Ping timeout: 255 seconds]
<s2013>
but what im confused about is that if lets say there was a field called age, but it wasnt available in every hash, how would i make sure that only age appears in the hash where there is age
<s2013>
if that makes sense
<s2013>
so {"name": "john", "city": "la"}, {"name": "mike", "city": "ny", "age": 20}] into lets say [{"full_name": "john", "from": "la", "age": 20}, {"full_name": "mike", "from": "ny"}]
<s2013>
i can go through and remove all nil, etc but still
bronson has quit [Ping timeout: 260 seconds]
rundor has quit [Remote host closed the connection]