robbyoconnor has quit [Read error: Connection reset by peer]
SuMo_D_ has quit [Remote host closed the connection]
SuMo_D has joined #ruby-lang
pkrnj has quit [Ping timeout: 260 seconds]
robbyoconnor has joined #ruby-lang
SuMo_D has quit [Ping timeout: 272 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
arBmind has quit [Quit: Leaving.]
sunaku has quit [Quit: WeeChat 1.0.1]
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpbll has joined #ruby-lang
goodcodeguy has joined #ruby-lang
theotherstupidgu has quit [Ping timeout: 272 seconds]
theotherstupidgu has joined #ruby-lang
jimbach has joined #ruby-lang
goodcodeguy has quit [Client Quit]
allomov has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
robbyoconnor has quit [Ping timeout: 265 seconds]
allomov has quit [Ping timeout: 250 seconds]
cj__ has joined #ruby-lang
cj__ is now known as cjcj
<cjcj>
hey all, is Struct thread safe?
<soahccc>
cjcj: what do you mean exactly? Afaik only a few classes are thread safe such as Queue and they normally state this fact explicitely
<soahccc>
I usually include the monitor mixin and then synchronize access
theotherstupidgu has quit [Ping timeout: 240 seconds]
theotherstupidgu has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
arrubin has quit [Quit: Connection closed for inactivity]
snsei has quit [Remote host closed the connection]
snsei has joined #ruby-lang
snsei has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
SuMo_D has joined #ruby-lang
jimbach has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
NoNMaDDeN has quit [Remote host closed the connection]
theotherstupidgu has quit [Ping timeout: 265 seconds]
pastuxso has quit [Quit: Connection closed for inactivity]
RobertBi_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mistym has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
vpretzel has joined #ruby-lang
pkrnj has joined #ruby-lang
<cjcj>
soahccc: i'm using sidekiq to manage jobs, and i'm having problems with data being passed around
<cjcj>
when i change struct syntax it seems to solve the problems
<soahccc>
cjcj: are you sharing data between jobs?
<soahccc>
I mean with variables of some sort
<cjcj>
not that i can track down; data gets passed in to a job and then the job goes off
mikecmpbll has quit [Ping timeout: 255 seconds]
djbkd has quit [Remote host closed the connection]
<soahccc>
sounds weird to me since each object is generally thread safe unless you try to use it in several threads in which you can get race conditions. But without some code it's hard to tell... Threads can be bitchy
djbkd has joined #ruby-lang
Nilium_ has joined #ruby-lang
cjcj has quit [Ping timeout: 246 seconds]
vpretzel has quit [Remote host closed the connection]
theother1tupidgu has joined #ruby-lang
stardiviner has joined #ruby-lang
thoolihan has quit [Ping timeout: 244 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
thoolihan has joined #ruby-lang
jimbach has joined #ruby-lang
Nilium_ has quit [Quit: <kristin> Cower is like... I dunno. sometimes he seems senile and other times he seems like a middle schooler.]
vpretzel has joined #ruby-lang
thoolihan has quit [Ping timeout: 258 seconds]
NoNMaDDeN has joined #ruby-lang
yfeldblum has quit [Remote host closed the connection]
NoNMaDDeN has quit [Remote host closed the connection]
jimbach has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby-lang
thoolihan has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
Guest14357 has joined #ruby-lang
Guest14357 has left #ruby-lang [#ruby-lang]
NoNMaDDeN has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby-lang
NoNMaDDeN has quit [Remote host closed the connection]
vpretzel has quit [Remote host closed the connection]
snsei has joined #ruby-lang
vpretzel has joined #ruby-lang
snsei has quit [Ping timeout: 258 seconds]
snsei has joined #ruby-lang
djbkd has quit [Remote host closed the connection]
emmesswhy has joined #ruby-lang
Lewix has joined #ruby-lang
emmesswhy has quit [Client Quit]
emmesswhy has joined #ruby-lang
nertzy2 has joined #ruby-lang
mistym has joined #ruby-lang
miqui has quit [Remote host closed the connection]
allomov has joined #ruby-lang
thoolihan has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
allomov has quit [Ping timeout: 265 seconds]
thoolihan has joined #ruby-lang
seank_ has quit [Remote host closed the connection]
seank_ has joined #ruby-lang
nathanst_ has quit [Quit: I growing sleepy]
seank_ has quit [Ping timeout: 245 seconds]
nathanstitt has joined #ruby-lang
<womble>
That's a strange definition of "thread safe"
<ohsix>
thread safety is often knowing what happens, not that it is safe to do anything; just what will not work or isn't accounted for
<ohsix>
because typically making something 'safe' by wrapping a mutex around it or whatever just makes it slow
emmesswhy has joined #ruby-lang
<ledestin>
when I head that a component is thread-safe I expect that it can be called from multiple threads w/o problems
<ohsix>
if there's some data structure that is only ever used on one thread, that's a good way to do it
NoNMaDDeN has joined #ruby-lang
NoNMaDDe_ has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 272 seconds]
gix has quit [Ping timeout: 265 seconds]
mattyohe has joined #ruby-lang
emmesswhy has quit [Quit: This computer has gone to sleep]
gix has joined #ruby-lang
koderok has joined #ruby-lang
koderok has quit [Client Quit]
nathanstitt has quit [Quit: I growing sleepy]
thoolihan has quit [Ping timeout: 258 seconds]
pkrnj has quit [Ping timeout: 250 seconds]
nathanstitt has joined #ruby-lang
NoNMaDDeN has joined #ruby-lang
nathanstitt has quit [Remote host closed the connection]
pkrnj has joined #ruby-lang
NoNMaDDe_ has quit [Ping timeout: 256 seconds]
NoNMaDDe_ has joined #ruby-lang
gorsuch has joined #ruby-lang
NoNMaDDeN has quit [Ping timeout: 265 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
nathanstitt has joined #ruby-lang
yfeldblum has joined #ruby-lang
nathanstitt has quit [Quit: I growing sleepy]
pkrnj has quit [Ping timeout: 272 seconds]
slawrence00 has joined #ruby-lang
pkrnj has joined #ruby-lang
RobertBirnie has joined #ruby-lang
sunaku has joined #ruby-lang
snsei has quit [Remote host closed the connection]
Versality has quit [Read error: Connection reset by peer]
Versality has joined #ruby-lang
Blaguvest has quit []
rikkipitt has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
GBrawl has quit [Quit: (null)]
seydar has joined #ruby-lang
<seydar>
i've got a startup script that runs some programs with sudo on my user's path that aren't on root's path. this means that root can't see them. besides just writing the paths explicitly into the startup script or changing root's path, how can i get root to see these paths? startup script: http://pastie.org/9674806
JohnBat26 has joined #ruby-lang
<ledestin>
seydar: why do you want another way?
gjaldon has joined #ruby-lang
<seydar>
ledestin: because it feels very hacky to have a full path to a subdir in my rvm installation
<seydar>
i guess it's the right way for paths that don't change, but if i update my ruby install then i have to update the startup script
<ledestin>
seydar: have a config file
allomov has quit [Remote host closed the connection]
<jhass>
ledestin: tried rvmsudo ?
<ledestin>
but you’ll have to update it too
<ledestin>
jhass: rbenv here
<jhass>
bah, seydar ^, sorry
yfeldblum has joined #ruby-lang
<ledestin>
seydar: make a gem
<ledestin>
in rbenv you only need to include one dir in path
kiddorails has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
snsei has joined #ruby-lang
GBrawl has joined #ruby-lang
seydar has quit [Quit: leaving]
charliesome has joined #ruby-lang
snsei has quit [Remote host closed the connection]
gjaldon has quit [Remote host closed the connection]
gjaldon has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 256 seconds]
araujo has joined #ruby-lang
red_menace has joined #ruby-lang
theotherstupidgu has joined #ruby-lang
SuMo_D has joined #ruby-lang
gjaldon has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
SuMo_D has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
allomov has joined #ruby-lang
yfeldblum has joined #ruby-lang
kiddorai_ has joined #ruby-lang
SuMo_D has joined #ruby-lang
slawrence00 has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
kiddorails has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Ping timeout: 255 seconds]
kiddorai_ has quit [Remote host closed the connection]
NoNMaDDeN has joined #ruby-lang
kiddorails has joined #ruby-lang
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby-lang
ruby-lang016 has joined #ruby-lang
pastuxso has joined #ruby-lang
benlovell has quit [Ping timeout: 244 seconds]
<ruby-lang016>
привет ребят, начал осваивать рельсы) и возникли проблемы с гемами, может кто помочь?
<imperator>
english please
fragamus has quit [Quit: Computer has gone to sleep.]
<ruby-lang016>
okay) i started my ruby way) i am nooby) and now i have problems with webrat gem
<ruby-lang016>
could u help me?
<ruby-lang016>
i cant install it :(
klmlfl has joined #ruby-lang
<apeiros>
ruby-lang016: for somebody to help you, you will have to give actual information about your problem
kiddorails has quit [Ping timeout: 272 seconds]
<ruby-lang016>
no problems!
<ruby-lang016>
i just make a screenshot
<ruby-lang016>
few mins
robbyoconnor has quit [Ping timeout: 272 seconds]
<apeiros>
ruby-lang016: copy & gist the terminal often sufficient (gist: gist.github.com)
<ruby-lang016>
okay just minute
havenwood has joined #ruby-lang
ledestin_ has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
ledestin has quit [Ping timeout: 258 seconds]
ledestin_ is now known as ledestin
dangerousdave has joined #ruby-lang
<ruby-lang016>
wow)
<ruby-lang016>
i using windows
klmlfl has quit []
<ruby-lang016>
i typed in terminal: gem install webrat
GBrawl has quit [Quit: (null)]
<ruby-lang016>
and now i see: FETCHING NOKOGIRI
<ruby-lang016>
few minutes before it was an error on this step
<ruby-lang016>
but nokogiri gem has been downloaded!
<ruby-lang016>
strange :/
rahul_j has joined #ruby-lang
<apeiros>
nokogiri is probably a dependency of webrat
<ruby-lang016>
why here so many people and all of them keeping silence?
<imperator>
most people lurk, and are quiet when others are talking :)
<ruby-lang016>
:D
<ruby-lang016>
when imperator speaks :DD
<ruby-lang016>
wow!
<ruby-lang016>
very strange))
elia has joined #ruby-lang
<ruby-lang016>
Successfully installed 2 gems
<ruby-lang016>
thanks you dear friends! you power made this job)
rahul_j has quit [Quit: rahul_j]
* jhass
wonders where all the ) come from
gorsuch has left #ruby-lang ["ERC Version 5.3 (IRC client for Emacs)"]
<apeiros>
he's probably coming from lisp and has a stash of left-over )'s
RobertBirnie has joined #ruby-lang
ruby-lang016 has quit [Quit: Page closed]
<ledestin>
:)
elia has quit [Quit: Computer has gone to sleep.]
RobertBirnie has quit [Client Quit]
elia has joined #ruby-lang
imperator has quit [Quit: Valete!]
elia has quit [Quit: Computer has gone to sleep.]
fusillicode has joined #ruby-lang
diegoviola has joined #ruby-lang
yfeldblum has joined #ruby-lang
cornerman has quit [Quit: leaving]
postmodern has quit [Quit: Leaving]
fusillicode has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
rikkipitt has quit [Remote host closed the connection]
elia has joined #ruby-lang
rahul_j has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorails has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
rahul_j has quit [Client Quit]
kiddorails has joined #ruby-lang
nathanstitt has joined #ruby-lang
cornerman has joined #ruby-lang
stardiviner has joined #ruby-lang
arrubin has joined #ruby-lang
shinnya has quit [Ping timeout: 260 seconds]
tommylommykins has quit [Remote host closed the connection]
tommylommykins has joined #ruby-lang
fragamus has joined #ruby-lang
SuMo_D has quit [Remote host closed the connection]
kalehv has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
gjaldon_ has joined #ruby-lang
rikkipitt has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
g0bl1n has joined #ruby-lang
Squarepy has joined #ruby-lang
Voker57 has joined #ruby-lang
g0bl1n has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
kiddorai_ has joined #ruby-lang
kiddorails has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby-lang
elia has quit [Quit: Computer has gone to sleep.]
yfeldblum has quit [Ping timeout: 255 seconds]
kalehv has joined #ruby-lang
imperator has joined #ruby-lang
marr has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dangerousdave has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
nertzy2 has joined #ruby-lang
MichD is now known as michd
Squarepy has quit [Quit: Leaving]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby-lang
kiddorails has joined #ruby-lang
kiddorai_ has quit [Ping timeout: 256 seconds]
Versality has quit [Quit: Be back later ...]
Lewix has joined #ruby-lang
AKASkip has joined #ruby-lang
mattyohe has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
kiddorai_ has joined #ruby-lang
Versality has joined #ruby-lang
kiddorails has quit [Ping timeout: 265 seconds]
jordsmi has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 1.0.1]
seydar has joined #ruby-lang
Versality has quit [Client Quit]
Versality has joined #ruby-lang
zz_dlu has quit [Ping timeout: 240 seconds]
Versality has quit [Client Quit]
Versality has joined #ruby-lang
GaelanAintAround has quit [Ping timeout: 260 seconds]
kiddorai_ has quit [Ping timeout: 244 seconds]
Versality has quit [Client Quit]
<seydar>
i have a general linux question. i can't seem to do a basic command like this: root@majoit:~# su - ari -c 'll'
Versality has joined #ruby-lang
<ericwood>
why not?
<seydar>
great question: it works if i just do `su - ari` and type `ll` myself (so the interactive method works), but the noninteractive method (the line above or via heredoc) fails because it can't find the command `ll`
<ericwood>
ll is an alias via bash
<ericwood>
I'm not sure if the non-interactive mode bothers running bash; it depends on how that user is set up
<ericwood>
ll == ls -al on most distros
<ericwood>
so just use ls -al instead :)
kiddorails has joined #ruby-lang
<ericwood>
okay going to wipe my computer, see y'all on the other side!
yfeldblum has joined #ruby-lang
benlovell has joined #ruby-lang
nertzy2 has joined #ruby-lang
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 244 seconds]
benlovell has quit [Ping timeout: 244 seconds]
godd2 has joined #ruby-lang
diegoviola has joined #ruby-lang
<womble>
seydar: To add to what ericwood said, when you run a command directly via 'su', not all of the bash startup scripts get run (.bashrc gets run, .bash_profile doesn't). If the 'll' alias is defined in .bash_profile, then it won't be available.
<seydar>
ericwood: well ll is just a test case. i'm trying to run a gem installed via rvm
<seydar>
womble: thank you, i'll see if sourcing other files fixes the problem.
oleo has quit [Ping timeout: 240 seconds]
oleo has joined #ruby-lang
nertzy2 has quit [Quit: This computer has gone to sleep]
sunaku has joined #ruby-lang
ledestin_ has joined #ruby-lang
ledestin has quit [Ping timeout: 260 seconds]
ledestin_ is now known as ledestin
<womble>
seydar: Well, the other option is to move the ll alias to .bashrc
<womble>
Hmm, actually, that might not work... an su command probably doesn't count as 'interactive'
ta has joined #ruby-lang
setmeaway has joined #ruby-lang
cornerma1 has joined #ruby-lang
<seydar>
womble: holy shit i think i got it. had to source an extra rvm file
Versality_ has joined #ruby-lang
Versality has quit [Read error: Connection reset by peer]
<seydar>
THEY CALL ME SEYDAR, EXEMPLAR OF /ETC/
<seydar>
SULTAN SUPERIOR OF STARTUP SCRIPTS
<seydar>
LORD OF LINUX
<seydar>
USURPER OF UBUNTU
cornerman has quit [Ping timeout: 255 seconds]
cornerma1 is now known as cornerman
<seydar>
i have just leveled up my sysadmin skill
<jhass>
seydar: look into rvmsudo instead
<seydar>
jhass: the issue is that it is all run as root, and rvmsudo doesn't exist for me as a system-wide install
seydar has quit [Quit: leaving]
havenwood has quit [Remote host closed the connection]
hramrach_ has quit [Write error: Connection reset by peer]
j4cknewt has joined #ruby-lang
yfeldblum has joined #ruby-lang
yfeldblum has quit [Ping timeout: 256 seconds]
NoNMaDDeN has quit [Remote host closed the connection]
kiddorails has quit [Remote host closed the connection]
araujo has quit [Ping timeout: 255 seconds]
robbyoconnor has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
<yorickpeterse>
did somebody mention systemd?
<jhass>
that mistake has been made, yes
araujo has joined #ruby-lang
<imperator>
lol
<jhass>
it's on the editor level for me now really. Too many people that just can't shut up and just stick to what they prefer
<imperator>
i don't have an opinion on it one way or another
araujo has quit [Excess Flood]
<whitequark>
jhass: the issue is that there is hardly a choice. udev is a part of systemd now. dbus probably going to be one. etc.
araujo has joined #ruby-lang
<jhass>
whitequark: I'm sure you'll always find a distro that gives you that choice. If there isn't and it's really sooo bad, it's time you built your own
ur5us has quit [Remote host closed the connection]
<whitequark>
jhass: how about not forcing it on me in the first place
<jhass>
nobody is
benlovell has joined #ruby-lang
<whitequark>
yeah, right.
yfeldblum has joined #ruby-lang
<matti>
;]
robbyoconnor has quit [Quit: Konversation terminated!]
benlovell has quit [Ping timeout: 255 seconds]
robbyoconnor has joined #ruby-lang
stevedocious has joined #ruby-lang
<imperator>
solaris has SMF, no?
<imperator>
eh, maybe we should talk about something else ;)
<imperator>
like, why a pure ruby implementation of zlib is 100x slower than th C version, and what can we do about it?
<jhass>
don't use ruby
<whitequark>
or use jruby
<jhass>
finish crystal, create a nice library for writing ruby exts in it and port that implementation to it by adding the two type declarations it can't interfer
stevedocious has left #ruby-lang [#ruby-lang]
<imperator>
what's crystal?
<whitequark>
a ruby-like language with global type inference.