<havenwood>
bougyman: What's your screener screening for?
ghr has quit [Ping timeout: 245 seconds]
<bougyman>
havenwood: we worked with them on the questions.
<bougyman>
a bit of ruby, a bit of ecma, a bunch of general programming and methodology questions.
<baweaver>
bougyman: What levels are you looking for?
<baweaver>
Might know a few looking to get out there.
n008f4g_ has joined #ruby
<bougyman>
baweaver: if so send em my way
deric_skibotn has quit [Ping timeout: 246 seconds]
<bougyman>
tj@rubyists.com or tj@geoforce.com, either one
<baweaver>
Juniors in terms of ruby.
Stany has joined #ruby
<bougyman>
that's ok
<bougyman>
if they contact me they don't have to go through the screener.
bronson has quit [Remote host closed the connection]
<bougyman>
so they'll see diff questions.
leat2 has quit [Remote host closed the connection]
<bougyman>
we have some scala, some java, a few other lingos now added to our infra so it'd be nice to have more polymath.
<baweaver>
The one I know right now that's looking has already worked as an analyst and is looking to get into a full engineering role. Already has C++ chops
Matadoer_ is now known as Matadoer
<bougyman>
but they've got 8 years of legacy rails we're breaking apart so knowing at least the basics of ruby is necessary, too
<baweaver>
That, and he used to make a mean text rpg in high school on the TI-83
pontiki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bougyman>
so long as he's not a Visual Studio C++ guy, i'd be interested to talk to him
_blizzy_ has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
michael_mbp has joined #ruby
Fooster has quit [Ping timeout: 256 seconds]
mrmargolis has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
fujimura has joined #ruby
Brock is now known as awwaiid
djbkd has quit [Remote host closed the connection]
serivichi has quit [Ping timeout: 265 seconds]
hdev1 has quit [Remote host closed the connection]
hdev1 has joined #ruby
djbkd has joined #ruby
bemehow has joined #ruby
Cort3z has quit [Ping timeout: 256 seconds]
fujimura has quit [Ping timeout: 272 seconds]
justintv90 has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
nfk|laptop has quit [Quit: yawn]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vikaton has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
AbinoamJr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
robustus has joined #ruby
northfurr has quit [Quit: northfurr]
<bemehow>
hello everyone. I'm stuck with old-style rspec codebase and trying to mock the writes to a file to make sure it get's the expected data. I'm definitely not experienced with it. Can someone take a look? trying to use expectation on the file double to expect receiving :write but the data seems never get passed http://pastebin.com/KJHfU2kT
leat2 has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
leat2 has joined #ruby
knight101 has joined #ruby
edwardly has joined #ruby
edwardly has joined #ruby
senayar has quit [Ping timeout: 272 seconds]
zotherstupidguy has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
ruby-lang662 has quit [Ping timeout: 246 seconds]
Musashi007 has joined #ruby
Yzguy has joined #ruby
tkuchiki has joined #ruby
justintv90 has joined #ruby
edwardly has quit [Ping timeout: 252 seconds]
Papierkorb has quit [Quit: ArchLinux completes an endless loop faster than any other distro!]
fujimura has joined #ruby
jhn has joined #ruby
Ariadeno_ has quit [Quit: leaving]
Ariadeno has joined #ruby
freerobby has joined #ruby
justintv90 has quit [Ping timeout: 255 seconds]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
blt_ has joined #ruby
rushed has joined #ruby
fujimura has quit [Ping timeout: 276 seconds]
<knight101>
I'm having a little trouble searching by name on a test I'm trying to write in Ruby + Selenium. While I've gotten find_elements to find the actual element I want, I don't know how to tell Selenium to click that specific element. Any help would be appreciated.
zotherstupidguy has quit [Ping timeout: 264 seconds]
zotherstupidguy has joined #ruby
blt_ has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
Fooster has joined #ruby
yqt has quit [Ping timeout: 255 seconds]
bogdanteleaga has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
chipotle has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
justintv90 has joined #ruby
hdev1 has quit [Ping timeout: 264 seconds]
bkxd has quit [Ping timeout: 256 seconds]
rushed has quit [Quit: rushed]
RegulationD has quit [Ping timeout: 256 seconds]
lolmaus_ has quit [Quit: Konversation terminated!]
charliesome has joined #ruby
jottr_ has joined #ruby
j4cknewt has quit [Remote host closed the connection]
bogdanteleaga has joined #ruby
jottr has quit [Ping timeout: 265 seconds]
michael_mbp has quit [Excess Flood]
michael_mbp has joined #ruby
justintv90 has quit [Ping timeout: 256 seconds]
govg has quit [Quit: leaving]
robbyoconnor has joined #ruby
aspiers has quit [Ping timeout: 276 seconds]
Rodya_ has joined #ruby
edwardly has quit [Quit: ??????????]
nateberkope has quit [Quit: Leaving...]
towski_ has joined #ruby
SouL_|_ has quit [Ping timeout: 246 seconds]
atomical has joined #ruby
mrmargolis has quit [Remote host closed the connection]
Rodya_ has quit [Ping timeout: 252 seconds]
casadei has joined #ruby
towski_ has quit [Remote host closed the connection]
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
ohaibbq has joined #ruby
mberk has joined #ruby
Cort3z has joined #ruby
hdev1 has joined #ruby
fujimura has joined #ruby
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fooster has quit [Ping timeout: 245 seconds]
bemehow has joined #ruby
davedev2_ has joined #ruby
robbyoconnor has quit [Remote host closed the connection]
ogpastaling has quit [Remote host closed the connection]
ogpastaling has joined #ruby
war_pigs_ has joined #ruby
meadhikari has joined #ruby
war_pigs_ is now known as war_pigs
<shevy>
oh damn
<shevy>
Gregory Brown is no longer actively maintaining prawn
willharr_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
<sevenseacat>
shevy: so who is?
Torsten` has joined #ruby
mary5030 has quit [Remote host closed the connection]
<pontiki>
maybe he should launch another kickstarter
<sevenseacat>
"another"?
j4cknewt has quit [Remote host closed the connection]
<sevenseacat>
ohhh wait I know who that is
Ariadeno has quit [Quit: leaving]
<sevenseacat>
thats the practicing ruby guy
<shevy>
the github readme says Evan Sharp (PacketMonkey) and Alexander Mankuta (cheba); I don't know them, not saying anything good or bad. I just remember that the identity of most projects tends to change with different people
<zotherstupidguy>
if only he adds some styling, i find ryan's easer to read
musashi1 has joined #ruby
<jesterfraud>
shevy, is prawn truly recommendable over wkhtmltopdf based methods for generating PDFs?
gianlucadv has joined #ruby
<Ox0dea>
Negative.
<shevy>
I think prawn is quite ok
bluOxigen has joined #ruby
TommyTheKid has joined #ruby
_blizzy_ has joined #ruby
metallicrwr has joined #ruby
zotherstupidguy has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
aganov has joined #ruby
j4cknewt has joined #ruby
zotherstupidguy has joined #ruby
adefa has joined #ruby
Torsten` has joined #ruby
j4cknewt has quit [Remote host closed the connection]
Spami has joined #ruby
Tamae has joined #ruby
yardenbar has joined #ruby
<jesterfraud>
then again, wkhtmltopdf had me beating my head against a wall because the header and footer both rendered in quirks mode when they weren't proper HTML documents, but that caused the footer to render, and not the header.
Stany has quit [Ping timeout: 276 seconds]
kies has joined #ruby
Jandre has joined #ruby
adefa has quit [Ping timeout: 246 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stoogenmeyer has joined #ruby
Torsten` has quit [Ping timeout: 244 seconds]
Jandre is now known as Guest72084
<sevenseacat>
I've had really obscure bugs with wkhtmltopdf, like the time it inherited opacity on images from a div border set far far away
<sevenseacat>
(and only on some images)
<sevenseacat>
(and images that werent inside the div with the opacity set)
<sevenseacat>
that took a good few days to figure out
_blizzy_ has quit [Max SendQ exceeded]
6JTABAN40 has quit [Ping timeout: 252 seconds]
duderonomy has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
casadei has quit [Remote host closed the connection]
<Ox0dea>
Aeyrix: Not all languages are programming languages.
aapole has joined #ruby
chinmay_dd has quit []
<wasamasa>
lol
<Aeyrix>
Ox0dea: I'll take "what is a joke" for $500, Jane.
IanVorn has joined #ruby
<shevy>
Aeyrix not sure... ancient bytecode... the ghost in the shell... the inner matrix of the machine code universe
polysics_ has quit [Remote host closed the connection]
<Aeyrix>
lmao
IanVorn has quit [Max SendQ exceeded]
<shevy>
I remember the old Cthulhu RPG
polysics has joined #ruby
IanVorn has joined #ruby
<shevy>
it was so difficult that the chars tended to die so quickly that you could never really build up any character for a longer while :)
<bnagy>
that would be Azathoth, you're mixing up your Elder Gods and Outer Gods, shevy
<shevy>
haha
duderonomy has joined #ruby
war_pigs has joined #ruby
araujo has joined #ruby
araujo has joined #ruby
war_pigs has quit [Max SendQ exceeded]
j4cknewt has joined #ruby
vdamewood has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
polysics has quit [Ping timeout: 252 seconds]
msnyon has quit [Ping timeout: 276 seconds]
Torsten` has joined #ruby
futilegames has joined #ruby
sandelius has joined #ruby
riotjones has joined #ruby
war_pigs has joined #ruby
j4cknewt has quit [Ping timeout: 256 seconds]
mc_fail_ has quit [Read error: Connection reset by peer]
IanVorn has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tvw has joined #ruby
Torsten` has quit [Ping timeout: 255 seconds]
IanVorn has joined #ruby
futilegames has quit [Quit: futilegames]
allomov has quit [Remote host closed the connection]
gix has quit [Ping timeout: 264 seconds]
<certainty>
so shevy what are you going to do today?
<flughafen>
ahoy
mc_fail has joined #ruby
IanVorn has quit [Client Quit]
vire has joined #ruby
ohaibbq has quit [Remote host closed the connection]
balazs has joined #ruby
ndrei has joined #ruby
houhoulis has quit [Remote host closed the connection]
datanoise has quit [Ping timeout: 256 seconds]
ahmetkapikiran has joined #ruby
jgt1 has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
troulouliou_dev has joined #ruby
gix has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
balazs has quit [Ping timeout: 246 seconds]
vire has quit [Ping timeout: 265 seconds]
mike___1234 has joined #ruby
ledestin has joined #ruby
ahmetkapikiran has quit [Client Quit]
bkxd has quit [Ping timeout: 272 seconds]
bkxd has joined #ruby
Torsten` has joined #ruby
Guest24 is now known as lele
gagrio has joined #ruby
techsethi has quit [Remote host closed the connection]
Torsten` has quit [Ping timeout: 245 seconds]
<certainty>
flughafen: moin
GriffinHeart has quit [Remote host closed the connection]
meadhikari has joined #ruby
bruno- has joined #ruby
stoogenmeyer_ has joined #ruby
Ox0dea has left #ruby ["WeeChat 1.3-dev"]
gagrio has quit [Ping timeout: 265 seconds]
<flughafen>
moin sevenseacat certainty
allenn has joined #ruby
allenn has joined #ruby
<sevenseacat>
guten tag
stoogenmeyer has quit [Ping timeout: 252 seconds]
krz has quit [Quit: WeeChat 1.0.1]
<Aeyrix>
hhhh
ahmetkapikiran has joined #ruby
zotherstupidguy has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
bruno- has quit [Ping timeout: 255 seconds]
lkba has joined #ruby
djbkd has quit [Quit: Leaving...]
fabrice31 has joined #ruby
pyo_ has joined #ruby
vire has joined #ruby
Pathfinder has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
<shevy>
certainty I have lab work for 4 hours, starting in 3 hours, about gene expression analysis; I think today it is isolation of RNA for qPCR tomorrow or something
Scroff has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy>
it's too hot to want to stand in a lab
Torsten` has joined #ruby
polysics has joined #ruby
Xeago has joined #ruby
lkba_ has quit [Ping timeout: 256 seconds]
_seanc_ has quit [Quit: _seanc_]
zipace has joined #ruby
zipace has joined #ruby
arup_r has joined #ruby
DEA7TH has joined #ruby
Macaveli has joined #ruby
ghr has joined #ruby
Scroff has quit [Remote host closed the connection]
gagrio has joined #ruby
Forgetful_Lion has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
Scroff has joined #ruby
Scroff has quit [Remote host closed the connection]
allomov has joined #ruby
gauke has joined #ruby
Rollabunna has joined #ruby
yaw has joined #ruby
ghr has quit [Ping timeout: 258 seconds]
dhjondoh has joined #ruby
towski_ has joined #ruby
greenbagels has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
GriffinHeart has joined #ruby
oo_ has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 258 seconds]
andikr has joined #ruby
meadhikari has quit [Quit: This computer has gone to sleep]
revath has joined #ruby
quimrstorres has joined #ruby
meadhikari has joined #ruby
krz has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
riotjones has quit [Quit: Leaving...]
fabrice31 has quit [Remote host closed the connection]
Torsten` has joined #ruby
fabrice31 has joined #ruby
meadhikari has quit [Client Quit]
Filete has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<certainty>
shevy: confess! you're making creating superhumans there
hanmac has quit [Ping timeout: 256 seconds]
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
metallicrwr has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 252 seconds]
krz has quit [Read error: Connection reset by peer]
GPrime has joined #ruby
krz has joined #ruby
balazs_ has quit [Ping timeout: 265 seconds]
<certainty>
-making
bkxd has quit [Ping timeout: 250 seconds]
sandstrom has joined #ruby
bkxd_ has joined #ruby
olistik has joined #ruby
nhhagen has joined #ruby
meadhikari has joined #ruby
oo_ has joined #ruby
towski_ has quit [Remote host closed the connection]
lkba_ has joined #ruby
Torsten` has quit [Ping timeout: 252 seconds]
affenhoden has quit [Quit: leaving]
olistik has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
<shevy>
nah
<shevy>
just following boring protocols
<shevy>
it's like cooking
<shevy>
except you don't eat up with being able to eat anything meaningful :(
<certainty>
you cook new people
meadhikari has quit [Client Quit]
lkba_ has quit [Client Quit]
bemehow has quit [Remote host closed the connection]
devyn_ has joined #ruby
towski_ has joined #ruby
alex88 has joined #ruby
lkba has quit [Ping timeout: 258 seconds]
lkba_ has joined #ruby
<certainty>
shevy: so you don't do anything meaningful?
<shevy>
yup
hubcaps has quit [Ping timeout: 245 seconds]
<certainty>
that's sad :(
olistik has joined #ruby
<shevy>
yup!
devyn has quit [Ping timeout: 264 seconds]
vdamewood has quit [Quit: Life beckons.]
<noethics>
implying you do
<certainty>
or that i can relate
<certainty>
because i don't as well
<noethics>
o
anisha has joined #ruby
revath has quit [Quit: Leaving.]
<shevy>
noethics is without words
fella5s has joined #ruby
revath has joined #ruby
<shevy>
he now has only single letters
<noethics>
words are hard
RegulationD has joined #ruby
baweaver has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
hanmac has joined #ruby
railsraider has joined #ruby
wldcordeiro has joined #ruby
Torsten` has joined #ruby
thelastinuit has joined #ruby
towski_ has quit [Remote host closed the connection]
exadeci has joined #ruby
balazs has joined #ruby
sinkensabe has quit [Remote host closed the connection]
olistik has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rdark has joined #ruby
Torsten` has joined #ruby
krz has joined #ruby
selu has joined #ruby
selu has quit [Client Quit]
Torsten` has quit [Ping timeout: 264 seconds]
lkba has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
nhhagen has joined #ruby
blue_deref has joined #ruby
marr has joined #ruby
c0m0 has joined #ruby
lkba_ has quit [Ping timeout: 258 seconds]
Pathfinder has quit [Ping timeout: 265 seconds]
olistik has joined #ruby
rbowlby has quit [Remote host closed the connection]
revath has quit [Quit: Leaving.]
nhhagen has quit [Ping timeout: 250 seconds]
revath has joined #ruby
terlar has joined #ruby
Guest72084 has quit [Ping timeout: 272 seconds]
spider-mario has quit [Read error: Connection reset by peer]
khebbie has joined #ruby
Torsten` has joined #ruby
CloCkWeRX has joined #ruby
Pathfinder has joined #ruby
OrbitalKitten has joined #ruby
bruno- has joined #ruby
<maloik>
random irc question, back in the day when I still used a GUI for irc there was a way to see someone's idle time (it was called extwhois i believe) - is there an irssi equivalent?
datanoise has quit [Ping timeout: 258 seconds]
<ljarvis>
/whois ? :D
<maloik>
nah that doesnt do it
kaspergrubbe has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
<ljarvis>
it depends on the server
<ljarvis>
whois would do it though
<ljarvis>
ah wait
<maloik>
just found it though, apparently if you use the nickname twice it works
<ljarvis>
type the name twice
<ljarvis>
:P
<maloik>
:D
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<apeiros>
idle time is per server. whois with nick twice will query the server of the user. yes, irc is a ridiculous protocol.
<maloik>
haha, sure is
<apeiros>
and I think nick twice is even nonstandard
C1V0 has joined #ruby
<apeiros>
i.e. standard would be to specify the server you want to query and then you'd have to query the user's server
Xeago_ has joined #ruby
bruno- has quit [Ping timeout: 252 seconds]
<apeiros>
moin Xeago
revath has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Ping timeout: 252 seconds]
revath has joined #ruby
ponga has joined #ruby
Pathfinder has quit [Ping timeout: 276 seconds]
zotherstupidguy has joined #ruby
rubie has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 276 seconds]
<livcd>
what are some of the advanced ruby patterns one should know ?
aapole has quit [Ping timeout: 276 seconds]
axl_ has joined #ruby
<jhass>
that's kinda vague
<jhass>
singleton classes are helpful to grok I guess
<apeiros>
I've heard lots of good things about them and they seem to cover such topics. but I haven't watched them myself, so can't make a qualified statement.
Torsten` has joined #ruby
mercwithamouth has joined #ruby
<flughafen>
holy crap, anybody here using phantomjs?
<sevenseacat>
yes
<shevy>
the phantomcat
<certainty>
fan tomcat?
revath has quit [Quit: Leaving.]
<flughafen>
sevenseacat: we're using cucumber/capybara/poltergeist, and it seems like it's still trying to contact selenium for taking a snapshot... we use render_base64 and embed it in the html
revath has joined #ruby
<sevenseacat>
certainty: it gets the job done. most of the time.
IanVorn has joined #ruby
allomov has quit [Remote host closed the connection]
IanVorn has quit [Max SendQ exceeded]
DaniG2k has joined #ruby
bkxd has joined #ruby
IanVorn has joined #ruby
Torsten` has quit [Ping timeout: 272 seconds]
intinig has joined #ruby
<zotherstupidguy>
["val","val2"] is not equal ["val2","val"] , this is bugging me in tests, how can check if only the values exist in there but nothing more
<flughafen>
undefined method `render_base64' for #<Capybara::Selenium::Driver:0x00000000f50eb0> (NoMethodError)
<sevenseacat>
both test harnesses provide a way of matching arrays, regardless of order.
<tbuehlmann>
zotherstupidguy, what testing framework do you use?
<flughafen>
actualyl that fails for when we aren't using phantomjs now
<zotherstupidguy>
minitest must_equal is faling me
codecop has quit [Remote host closed the connection]
blue_deref has quit [Quit: bbn]
unshadow has joined #ruby
dgutierrez1287 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
Yiota has joined #ruby
Yiota has quit [Client Quit]
SebastianThorn has joined #ruby
quimrstorres has joined #ruby
aapole has joined #ruby
dEPy has joined #ruby
RegulationD has joined #ruby
dgutierrez1287 has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
agent_white has joined #ruby
<zotherstupidguy>
assert_match doesnt seem to do the trick
<zotherstupidguy>
Expected ["usera", "userb"] to match ["userb", "usera"].
ahmetkapikiran has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
<zotherstupidguy>
however assert only passes the test!
mikecmpbll has joined #ruby
mister_solo has joined #ruby
ahmetkapikiran has quit [Client Quit]
<sevenseacat>
ugh, dont tell me =~ for matching arrays is a rspec-ism
RegulationD has quit [Ping timeout: 272 seconds]
Torsten` has joined #ruby
<zotherstupidguy>
nono
<flughafen>
sevenseacat: sorry
CloCkWeRX has quit [Ping timeout: 250 seconds]
fsvehla has joined #ruby
Torsten` has quit [Ping timeout: 246 seconds]
rbowlby has joined #ruby
Rodya_ has joined #ruby
stamina has joined #ruby
mrmargolis has joined #ruby
Rodya_ has quit [Ping timeout: 250 seconds]
n008f4g_ has quit [Ping timeout: 245 seconds]
terlar has quit [Quit: WeeChat 1.2]
balazs has joined #ruby
CloCkWeRX has joined #ruby
mrmargolis has quit [Ping timeout: 245 seconds]
al2o3-cr has quit [Quit: the quieter you become, the more you are able to hear]
<apeiros>
sevenseacat: yupp. =~ in ruby core is Object#=~, which is always nil
<sevenseacat>
blargh.
<sevenseacat>
sorry bout that.
<sevenseacat>
thats nasty.
Torsten` has joined #ruby
balazs has quit [Ping timeout: 276 seconds]
<sevenseacat>
(on rspec's part)
<apeiros>
it's in that general direction why I can't warm up to rspec.
al2o3-cr has joined #ruby
<sevenseacat>
theyve probably removed it as part of the no-monkey-patching stuff, but still
<sevenseacat>
they have a matcher for it as well - match_array
<apeiros>
(mind you - I have no issues with people using rspec)
<apeiros>
dunno, I prefer my longer winded unordered_equal over the misunderstandable match
ndrei has joined #ruby
livathinos has joined #ruby
Torsten` has quit [Ping timeout: 245 seconds]
rbowlby has quit [Remote host closed the connection]
rubie has joined #ruby
timonv has joined #ruby
skade has joined #ruby
atom_ has joined #ruby
postmodern has quit [Quit: Leaving]
CloCkWeRX has quit [Ping timeout: 264 seconds]
futilegames has joined #ruby
bin_005 has quit [Ping timeout: 244 seconds]
rubie has quit [Ping timeout: 265 seconds]
SOLDIERz has quit [Ping timeout: 264 seconds]
strcmp1 has joined #ruby
bin_005 has joined #ruby
strcmp1 has left #ruby ["Leaving"]
ndrei has quit [Remote host closed the connection]
ndrei has joined #ruby
CustosLimen has quit [Read error: Connection timed out]
Torsten` has joined #ruby
ur5us has joined #ruby
bruno- has joined #ruby
intinig has joined #ruby
sevensea_ has joined #ruby
sevenseacat has quit [Ping timeout: 255 seconds]
CustosLimen has joined #ruby
pepperpot has joined #ruby
Torsten` has quit [Ping timeout: 264 seconds]
j4cknewt has joined #ruby
sevensea_ is now known as sevenseacat
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pepperpot>
Download either SEO Analyzer full script, Website Value Calvulator Full Script, or Ajax Star Reviews script, all fully tested and working, download them for your website, you're welcome! https://www.criosphinx.net/forum/forumdisplay.php?fid=20
pepperpot has quit [Client Quit]
al2o3-cr has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
fabrice31_ has joined #ruby
ta has quit [Remote host closed the connection]
mister_s_ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
livathinos has quit []
CloCkWeRX has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
mister_solo has quit [Ping timeout: 265 seconds]
atom_ has quit [Ping timeout: 246 seconds]
mhib has joined #ruby
<al2o3-cr>
whats the difference between undef_method and remove_method?
krz has quit [Ping timeout: 265 seconds]
lkba_ has joined #ruby
Zai00 has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Torsten` has joined #ruby
krz has joined #ruby
lkba has quit [Ping timeout: 244 seconds]
mrsolo has quit [Quit: This computer has gone to sleep]
unshadow has quit [Ping timeout: 264 seconds]
krz has quit [Read error: Connection reset by peer]
krz has joined #ruby
sameerynho has quit [Quit: Leaving]
Rollabunna has joined #ruby
Torsten` has quit [Ping timeout: 250 seconds]
n008f4g_ has joined #ruby
A205B064 has quit [Ping timeout: 256 seconds]
vondruch has joined #ruby
meadhikari has joined #ruby
<wnd>
tfm says remove_method only modifies immediate class, undef_method also goes to parent(s)
Rollabunna has quit [Client Quit]
grzywacz has joined #ruby
czj has joined #ruby
unshadow has joined #ruby
<al2o3-cr>
wnd: ah that would explain the confusion
Rickmasta has joined #ruby
czj has left #ruby [#ruby]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ahmetkapikiran has joined #ruby
Pathfinder has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 245 seconds]
meadhikari has quit [Quit: This computer has gone to sleep]
Torsten` has joined #ruby
chussenot has quit [Quit: chussenot]
allomov has joined #ruby
phale has joined #ruby
<phale>
hello rubyists
aapole has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
Xeago has joined #ruby
Hirzu has joined #ruby
phale has left #ruby ["Leaving"]
Torsten` has quit [Ping timeout: 255 seconds]
ahmetkapikiran has joined #ruby
chussenot has quit [Client Quit]
noethics has quit [Remote host closed the connection]
Hirzu_ has joined #ruby
bin_005 has quit [Ping timeout: 265 seconds]
dhjondoh has quit [Ping timeout: 265 seconds]
axl__ has joined #ruby
axl_ has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
Hirzu has quit [Ping timeout: 246 seconds]
duncannz has quit [Ping timeout: 252 seconds]
oo_ has quit [Ping timeout: 256 seconds]
Hirzu_ has quit [Quit: Leaving...]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
OrbitalKitten has joined #ruby
dhjondoh has joined #ruby
tsujp has quit [Quit: tsujp is snoozing]
poguez_ has quit [Quit: Connection closed for inactivity]
chthon has joined #ruby
datanoise has joined #ruby
olistik has quit [Remote host closed the connection]
barkerd427 is now known as zz_barkerd427
adefa has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
CloCkWeRX has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rodfersou has joined #ruby
thelastinuit has joined #ruby
benlovell has joined #ruby
adefa has quit [Ping timeout: 258 seconds]
furoido has quit [Quit: furoido]
SouL_|_ has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
banister has joined #ruby
Fooster has joined #ruby
futilegames has quit [Quit: futilegames]
SouL_|_ has joined #ruby
Pathfinder has joined #ruby
noethics has joined #ruby
sandelius has joined #ruby
skade has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
kerunaru has quit [Remote host closed the connection]
RegulationD has joined #ruby
dEPy has quit [Quit: (null)]
ur5us has quit [Remote host closed the connection]
<imperator>
any oauth2 users here? having trouble understanding the client credentials grant approach
nedp_ has quit [Remote host closed the connection]
<Chromium2222>
havenwood is this a hard language? i only know PHP so i wanna work my way up lol
agent_white has quit [Quit: gngt]
Xeago has quit [Remote host closed the connection]
mdz_ has joined #ruby
tvw has joined #ruby
hinbody has joined #ruby
jas02_ has joined #ruby
CloCkWeRX has left #ruby [#ruby]
ruby-lang216 has quit [Ping timeout: 246 seconds]
j4cknewt has quit [Remote host closed the connection]
AhabsBeard has joined #ruby
<wnd>
Personally I think Ruby is one of the easiest and nicest languages around. Easiest not because it allows anyone to do anything, but rather because things tend to be the way I expect them to be.
enebo has joined #ruby
Chromium2222 is now known as markturner
markturner is now known as MarkTurner
<wnd>
also, I think it's worth mentioning that I hated object oriented languages before I came across Ruby
scripore has quit [Quit: This computer has gone to sleep]
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
<MarkTurner>
object orientated?
<ljarvis>
zzak: ZOMG
mrmargolis has joined #ruby
anisha has joined #ruby
symm- has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
chussenot has quit [Quit: chussenot]
mdz_ has quit [Remote host closed the connection]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
workmad3 has quit [Ping timeout: 252 seconds]
MarkTurner has quit [Quit: Leaving]
aspiers has joined #ruby
MarkTurner has joined #ruby
war_pigs has joined #ruby
workmad3 has joined #ruby
dhjondoh has quit [Quit: dhjondoh]
Xeago has joined #ruby
dhjondoh has joined #ruby
war_pigs has quit [Max SendQ exceeded]
gagrio has joined #ruby
__chris has joined #ruby
nonparfumee has joined #ruby
lavros has joined #ruby
vdamewood has quit [Quit: Life beckons.]
<MarkTurner>
I looked on website it said i should install RVM or rbenv
<MarkTurner>
which?
<Aria>
One of them!
<bnagy>
neither!
<Aria>
Or that.
dopie has joined #ruby
axilla has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
gagrio has quit [Ping timeout: 265 seconds]
<havenwood>
MarkTurner: Do you want to switch between Rubies or just use one? What OS/distro are you on?
CustosLimen has quit [Ping timeout: 244 seconds]
<bnagy>
so, genuine question, I thought the only real reason to use rvm instead of something lighter was gemsets
<bnagy>
but don't all the kids use bundler now?
caseypatrickdris has joined #ruby
<apeiros>
bnagy: I never used gemsets
livathinos has joined #ruby
<adaedra>
bnagy: those are different things
<bnagy>
as in what's the remaining rvm proposition
<apeiros>
I used rvm because it was the first (afaik), and I keep using it because it so far didn't disappoint me
<havenwood>
bnagy: RVM has patches to get older Rubies installed on older systems, etc.
cmisenas has joined #ruby
failshell has joined #ruby
Xeago_ has joined #ruby
daynets has quit [Quit: Leaving.]
<bnagy>
not incredibly compelling :/
<apeiros>
iow: in order to switch away from RVM, I'd either need a value proposition of other toolchains, or rvm would have to disappoint me somehow.
balazs has joined #ruby
<bnagy>
apeiros: yeah I get inertia. rbenv was fine for me when I went chruby
<apeiros>
by now, I find "works, and has worked for years" an incredibly compelling argument
<havenwood>
bnagy: RVM even supports using chruby as the switcher, since it considers its primary job as installing.
<bnagy>
o_0
dopie has quit [Client Quit]
<apeiros>
there's so much shit which randomly breaks over time…
paulcsmith has joined #ruby
<bnagy>
wow, that's a shift
ndrei has quit [Ping timeout: 255 seconds]
xenog has quit [Quit: Leaving.]
<bnagy>
tbh it was mainly their switching approach I hated
<havenwood>
bnagy: You have to enable it, but yeah it ships with support for chruby.
<bnagy>
and the old installation recommendation :)
zz_Outlastsheep is now known as Outlastsheep
xenog has joined #ruby
Xeago has quit [Ping timeout: 272 seconds]
xenog is now known as xenog_
xenog_ is now known as xenog__
<havenwood>
bnagy: RVM2 may just default to chruby, we'll see.
tsujp has quit [Quit: tsujp is snoozing]
mary5030 has joined #ruby
mhoungbo has joined #ruby
mhoungbo_ has joined #ruby
mhoungbo_ has quit [Client Quit]
xenog__ is now known as xenog
mary5030 has quit [Remote host closed the connection]
<bnagy>
to be fair I haven't used ruby-install for a while but I never found it perfect
balazs has quit [Ping timeout: 244 seconds]
<bnagy>
mostly for bleeding versions
<ddv>
bnagy: get off my lawn.
<havenwood>
bnagy: Yeah, not perfect but better than ruby-build. :P
<havenwood>
bnagy: Getting better though! :)
<bnagy>
but I think the hand hold installer is not one of the things I need
<ericwood>
I have never gotten ruby-build to work :\
<bnagy>
which is not something that can be said of every user
<havenwood>
bnagy: indeed
<ericwood>
and ruby-install is weird for me with JRuby but that's probably my fault
fujimura has joined #ruby
mary5030 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
<havenwood>
ericwood: What did you run into with JRuby?
<ericwood>
I can't remember :(
<ericwood>
it's been a while
iamninja has joined #ruby
Soda has joined #ruby
<MarkTurner>
@havenwood I'm on Mac OSX. What do u mean by switching between Rubies? lol
<bnagy>
building jruby from source has always been .. o_0
<bnagy>
now they're shipping regular binaries so it's all good
<ericwood>
I always just snagged the binary
coderhs has joined #ruby
<adaedra>
MarkTurner: have multiple ruby installs (different versions/engines) and being able to choose which one you work with
<havenwood>
MarkTurner: Say you have three projects, one each on Ruby 2.0, 2.1 and 2.2. If you don't need more than one version or implementation of Ruby you don't need to switch.
<Aria>
level-geospatial Geospatial indexing for leveldb
<bnagy>
ericwood: you know what they say - Once You Go Maven...
<Aria>
er.
<ddv>
MarkTurner: brew install chruby
<Aria>
Wrong window
<bnagy>
you drink to forget and then burn your computer and leave the country
* adaedra
throws Aria through the window
caseypatrickdris has quit [Read error: Connection reset by peer]
<adaedra>
now, was it the good window?
<MarkTurner>
Why would i want multiple versions of Ruby?
<adaedra>
:p
* Aria
climbs back in and puts adaedra on the timeout couch for inappropriate physical contact.
<havenwood>
ddv: OS X ships with Ruby, so you already have it. If you just want to get the latest Ruby (and are a brew user) you can: brew install ruby
<Aria>
MarkTurner: testing, upgrade path
<adaedra>
MarkTurner: different projects with different requirements, tests, fun
caseypatrickdris has joined #ruby
<adaedra>
Aria: D:
<ddv>
havenwood: why are you explaining this to me?
CustosLimen has joined #ruby
fujimura has quit [Ping timeout: 255 seconds]
chussenot has joined #ruby
<havenwood>
ddv: Dunno, haven't had coffee. WHO ARE YOU? WHAT'S HAPPENING?
<MarkTurner>
so brew install ruby into terminal?
<havenwood>
MarkTurner: ^ my explanation to ddv was tab-fail, meant for you. >.>
<havenwood>
MarkTurner: Are you a Homebrew user?
<ddv>
havenwood: took you a long time to realize that
<havenwood>
ddv: Just hitting tab, not looking. Thought last tell was from MarkTurner. I *really* haven't had coffee. Going to fix that!
<MarkTurner>
no :/
<havenwood>
MarkTurner: If you'd like to be, you can find the install script here: http://brew.sh/
<adaedra>
MarkTurner: last OS X has ruby 2.0 iirc, so you can work with that.
<MarkTurner>
@adedra i might as well be on the latest version lol
<adaedra>
ruby 2.0.0p481, to be exact.
<MarkTurner>
@havenwood ty got it
axl_ has joined #ruby
<MarkTurner>
so is brew a package manager?
<adaedra>
yes
<adaedra>
it can install packages, and if needed compile them from source
<ddv>
MarkTurner: home come you don't know brew?
<ddv>
how*
<MarkTurner>
im a noob lol
<havenwood>
MarkTurner: While Homebrew is most popular, OS X has support for other package managers, like MacPorts, Fink and now pkgsrc too.
atm0sph has joined #ruby
<MarkTurner>
ty @havenwood
<adaedra>
Just don't mix them D:
snophey has joined #ruby
<Aria>
Indeed.
<MarkTurner>
so im on ruby 2.2.2 now
<ddv>
forget about the other package managers tho
<adaedra>
welcome to the future
<MarkTurner>
is that all i need? i just run my programs in terminal?
ahmetkapikiran has joined #ruby
<adaedra>
ah no, 2.2.2 is present, sorry
<Aria>
Indeed.
<havenwood>
adaedra: I'm using pkgsrc alongside brew at the moment with macports installed but disabled. :O
<Aria>
Run things in the terminal; as daemons if you like.
<Aria>
You can write gui apps, but that's a bit trickier.
<adaedra>
havenwood: D:
<MarkTurner>
i dont think ill be writting gui apps any time soon lol
<havenwood>
adaedra: pkgsrc and brew actually play pretty nice
<adaedra>
Ruby tools for GUI are not really good imo
NeverDie has joined #ruby
<atm0sph>
ruby has too improve
<ddv>
write a webapp
<ericwood>
the latest iteration of Shoes is surprisingly good, but if you want to write big GUI apps Ruby isn't really recommended
<Aria>
<3 Shoes.
<ericwood>
it runs on JRuby now and is fairly great
<havenwood>
hanmac: Grant us your bindings that we might GUI!
<atm0sph>
ericwood it must be well known among folks
<Darkwater>
did someone mention 'bindings' and 'GUI' in the same sentence here in #ruby?
<Darkwater>
I must know more!
bmurt has joined #ruby
<MarkTurner>
so is there a better compiler than terminal?
<adaedra>
compiler?
<atm0sph>
me too
mercwithamouth has quit [Ping timeout: 256 seconds]
<Darkwater>
a terminal isn't a compiler lol
<adaedra>
Terminal is not a compiler, and there's not really compilers for ruby
<Aria>
MarkTurner: That's not quite the question you want to ask. The terminal just displays the output of the program; the ruby executable ~interprets your program.
<MarkTurner>
sorry yeah i didnt mean that lol
griffindy has joined #ruby
<atm0sph>
theres interpreter
<hanmac1>
>> require "date"; "This ruby is %d days old." % (Date.today - Date.parse(RUBY_RELEASE_DATE))
<adaedra>
If you're speaking about environment, and that you would prefer IDEs to work, there are things like RubyMine, Eclipse or NetBeans that can do that, but ruby folks seems to usually stick to terminal + text editor, MarkTurner
nateberkopec has joined #ruby
<havenwood>
MarkTurner: OS X primarily uses Clang but you can grab a recent GCC with brew: brew install gcc
<Aria>
MarkTurner: you can run things in an editor with a debugger, and it may integrate the output, or you can run them headless. Lots of options. But being familiar with the terminal and command line does give you a lot of power. Most things fall down to that, since we can communicate commands in text much more easily than a GUI, and the tools compose better so there's less being locked into one particular tool.
<hanmac1>
Darkwater: the ruby on my systems are daily-build ;P
Xeago_ has quit [Remote host closed the connection]
bruno- has joined #ruby
<havenwood>
hanmac1: I use more of a fortnight-build.
Xeago has joined #ruby
<MarkTurner>
i get ya
<MarkTurner>
ty guys
NeverDie has quit [Client Quit]
<adaedra>
and girls
<MarkTurner>
ill get learning then
<MarkTurner>
and girls sorry
<adaedra>
:)
<havenwood>
MarkTurner: Yell if you have Ruby questions.
<MarkTurner>
Will do havenwood they may be annoying noob ones tho lol
yqt has quit [Ping timeout: 264 seconds]
<adaedra>
There are no stupid questions
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<MarkTurner>
i did just ask about compilers and terminal..... pretty stupid lol
<wmoxam>
"Is this a stupid question?"
<wmoxam>
^^ Yes ;)
<atm0sph>
no
<Darkwater>
by the way, MarkTurner, I've been using ruby for one or two months now, and I rarely write terminal programs with them
<Darkwater>
terminal program as in a program with it's interface in a terminal
<Aria>
It was a pretty good question. It just didn't have much background informing it.
d10n-work has quit [Quit: Connection closed for inactivity]
<Darkwater>
though I test them using a terminal since that's imo the easiest way in early stages
NeverDie has joined #ruby
jas02 has joined #ruby
<tenspeed705>
Hey Guys, I am trying to use Mechanize to automate a daily task. I need to click a button in a form, but the HTML has no name attribute, Any way I can get around this?
Macaveli has joined #ruby
jas02_ has quit [Ping timeout: 250 seconds]
<Darkwater>
anyway most are either websites or tools that contribute to my desktop environment
<wasamasa>
tenspeed705: if it's always the nth child in locatable surroundings...
mc_fail has joined #ruby
CloCkWeRX has joined #ruby
<tenspeed705>
wasamasa: I don't quite get what you mean?
<atm0sph>
is there any way to make ios app on ruby which is free
mary5030_ has joined #ruby
<wasamasa>
tenspeed705: the DOM is a tree
Langlands has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bootstrappm has joined #ruby
<wasamasa>
tenspeed705: trees consist of nodes consist of nodes...
Pathfinder has quit [Remote host closed the connection]
arup_r has quit []
Penhead86 has joined #ruby
<tenspeed705>
wasamasa: I get that, I don't see a way around it though
<atm0sph>
is there any way to make ios app on ruby which is free?
scripore has joined #ruby
<wasamasa>
tenspeed705: the children of a node can be accessed by their index
<ljarvis>
no im writing a vitual machine for a new lang
symbol has joined #ruby
<havenwood>
ljarvis: i was debating whether you meant os or lang vm
<adaedra>
ljarvis: rm -rf for quick development ;)
<ljarvis>
well, rewriting
bruno- has quit [Ping timeout: 256 seconds]
<maloik>
<insert homer backing into hedge gif>
<ljarvis>
havenwood: i guess in the context of that question i have taken the easy way out
ogpastaling has joined #ruby
<ljarvis>
maloik: GET BACK HERE
mercwithamouth has joined #ruby
bruno- has joined #ruby
<havenwood>
ljarvis: well, debating between my os as in the one you're using and my vm as in the one you're writing
<havenwood>
nvm
<ljarvis>
it's all hand-written so it's easy to follow
<ljarvis>
well, the first half of that statement is true
Papierkorb has joined #ruby
gamename has joined #ruby
ndrei has quit [Ping timeout: 255 seconds]
AhabsBeard has quit []
n1x has quit [Max SendQ exceeded]
Rodya_ has joined #ruby
<maloik>
handwritten on a napkin?
<adaedra>
“The international standard ISO 8601 for representation of dates and times, states that Monday is the first day of the week.”
ndrei has joined #ruby
<ljarvis>
maloik: :D
doctorly has joined #ruby
tacit7` has joined #ruby
<havenwood>
adaedra: But... Ruby says!
ogpastaling has quit [Read error: Connection reset by peer]
<adaedra>
havenwood: it's okay
revath has quit [Read error: Connection reset by peer]
ogpastaling has joined #ruby
pwattstbd has joined #ruby
<adaedra>
you'll learn to order the days, then to not put the day between the month and the year, then using metric system, and all of those will be good.
mercwithamouth has quit [Ping timeout: 265 seconds]
<adaedra>
:)
revath has joined #ruby
<havenwood>
adaedra: Actually RFC2822 specifies Mon first. That might be one to fix for Ruby 3.0. :O
Agoldfish has joined #ruby
Xeago has joined #ruby
<adaedra>
May be based on USA 'standard'
daynets has joined #ruby
* havenwood
goes back to using ddate
bkxd has quit [Ping timeout: 244 seconds]
<adaedra>
and b/c backward compatibility, it may never change :(
pyo_ has quit []
<adaedra>
The map of first day of weeks depending on the country is interesting
micmus has joined #ruby
AhabsBeard has joined #ruby
Zai00 has joined #ruby
fabrice31_ has joined #ruby
Rodya_ has quit [Ping timeout: 276 seconds]
marr has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
<apeiros>
adaedra: I wonder about the map for days which are considered "week-end"
tacit7` has quit [Ping timeout: 255 seconds]
<apeiros>
and how it correlates with that first-day-of-week map :)
<adaedra>
I think I saw one
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra>
there's two maps, the first day of week, and the holidays
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
<apeiros>
doesn't really fit
Spami has joined #ruby
kobain has joined #ruby
mc_fail has quit [Ping timeout: 264 seconds]
<adaedra>
?
<apeiros>
many countries don't just have sunday or saturday, but sunday + saturday. and those are labeled "week-end"
fabrice31_ has quit [Remote host closed the connection]
dblessing has quit [Read error: Connection reset by peer]
<apeiros>
and my beef with that is when a country starts the week with sunday, but calls saturday+sunday "week-end". i.e., how can it be the end if it's the start?
sevenseacat has quit [Quit: Me dun like you no more.]
Xeago has joined #ruby
<ljarvis>
where is yorick when you need him
Limix has joined #ruby
<adaedra>
who's yorick?
yoongkang has joined #ruby
<ljarvis>
:o
<bnagy>
a man of infinite jest
<ljarvis>
some say he only comes out at night
<ljarvis>
others say he is simply a myth
<apeiros>
adaedra: I like the cat-formatted date
<adaedra>
:D
hdev1 has joined #ruby
<ljarvis>
we know him as sir-rant-a-lot
<apeiros>
and mr. mongogoaway
<adaedra>
wow, 1988
<ljarvis>
mr activescale
<adaedra>
I see
baweaver has joined #ruby
commondream has quit [Remote host closed the connection]
adefa has joined #ruby
* adaedra
is happy than the french revolutionary calendar didn't last long
ixti has quit [Ping timeout: 255 seconds]
mercwithamouth has joined #ruby
MarkTurner has joined #ruby
rcvalle has joined #ruby
grzywacz has quit [Ping timeout: 256 seconds]
centrx has joined #ruby
<bnagy>
it kept truncating the dates
NeverDie has quit [Quit: I'm off to sleep. ZZZzzz…]
Azure has quit [Ping timeout: 272 seconds]
fujimura has joined #ruby
Xeago has quit [Remote host closed the connection]
railsraider has quit [Quit: railsraider]
shock_one has joined #ruby
<shock_one>
Hi. Isn't the super class body executed before inheritance? I expected B to have param set, but it's nil. And how would I fix it without repeating the remember_param call in B? https://gist.github.com/shockone/efc20af9a5cd599b9971
<adaedra>
bnagy: :D
NeverDie has joined #ruby
kith_ is now known as kith
armyriad has quit [Ping timeout: 256 seconds]
armyriad has joined #ruby
fujimura has quit [Ping timeout: 265 seconds]
naftilos76 has quit [Remote host closed the connection]
mister_solo has joined #ruby
[H]unt3r has joined #ruby
gsd_ has joined #ruby
ixti has joined #ruby
gauke has quit [Quit: gauke]
rushed has quit [Quit: rushed]
chussenot has quit [Quit: chussenot]
balazs has joined #ruby
jpfuentes2 has joined #ruby
_ht has quit [Remote host closed the connection]
pdoherty has joined #ruby
_ht has joined #ruby
speakingcode has joined #ruby
bootstrappm has joined #ruby
Xeago has joined #ruby
doctorly has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
Xeago has quit [Remote host closed the connection]
<shock_one>
OK, the body is executed only once, and the value is stored in the instance of Class called A. That's why it wasn't present in B. Using a class variable I fixed the issue.
grzywacz has joined #ruby
gagrio has joined #ruby
balazs has quit [Ping timeout: 245 seconds]
chussenot has joined #ruby
edwinvdgraaf has quit [Ping timeout: 276 seconds]
baweaver has quit [Remote host closed the connection]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aapole has quit [Ping timeout: 255 seconds]
skade has joined #ruby
<Penhead86>
Howdy yall
Hounddog has quit [Read error: Connection reset by peer]
tacit7 has joined #ruby
<adaedra>
Hi
musgravejw has joined #ruby
tacit7 has quit [Client Quit]
lele|w has joined #ruby
mberk has quit []
<jhass>
shock_one: the class body is executed as the file is loaded
pandaant has joined #ruby
<shock_one>
jhass: yes, I just had a moment of a disbelieve. :)
Macaveli has joined #ruby
stoogenmeyer__ has quit [Ping timeout: 264 seconds]
commondream has joined #ruby
vikaton has joined #ruby
cmisenas has quit [Ping timeout: 265 seconds]
mase-chatter has joined #ruby
livathinos has quit []
bronson has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
alex88 has quit []
nhhagen has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
dopie has quit [Quit: This computer has gone to sleep]
mdz_ has joined #ruby
chinmay_dd has joined #ruby
baweaver has joined #ruby
fedexo has joined #ruby
hdev1 has quit [Ping timeout: 245 seconds]
andikr has quit [Read error: Connection reset by peer]
skade has quit [Read error: Connection reset by peer]
bMalum_ has joined #ruby
skade has joined #ruby
mrsolo has joined #ruby
spider-mario has joined #ruby
nhhagen has quit []
bMalum has quit [Ping timeout: 264 seconds]
bMalum_ is now known as bMalum
lele|w has quit [Ping timeout: 272 seconds]
jacor has quit [Read error: Connection reset by peer]
jacor has joined #ruby
allenn has quit [Ping timeout: 245 seconds]
mike_bueti has joined #ruby
apt-get_ has quit [Remote host closed the connection]
lele|w has joined #ruby
hdev1 has joined #ruby
bricker has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
Filete has joined #ruby
doctorly has quit [Ping timeout: 258 seconds]
GMka has joined #ruby
baweaver has quit [Remote host closed the connection]
tsujp has joined #ruby
GMka has quit [Max SendQ exceeded]
cmisenas has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
musgravejw has quit [Quit: Leaving]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
ogpastaling has quit [Remote host closed the connection]
paulcsmith has joined #ruby
__butch__ has joined #ruby
mistermocha has joined #ruby
Lucky__ has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
skade has quit [Quit: Computer has gone to sleep.]
dopie has joined #ruby
nettoweb has joined #ruby
websoftwarez has quit [Quit: Leaving]
ogpastaling has joined #ruby
rdar has joined #ruby
doctorly has joined #ruby
mistermocha has quit [Remote host closed the connection]
pepperbreath1 has joined #ruby
atm0sphere has joined #ruby
mistermocha has joined #ruby
GnuYawk has joined #ruby
GnuYawk has quit [Changing host]
GnuYawk has joined #ruby
edwinvdgraaf has joined #ruby
GMka has joined #ruby
GMka has quit [Max SendQ exceeded]
mrsolo has quit [Quit: This computer has gone to sleep]
Penhead86 has left #ruby [#ruby]
<atm0sphere>
is there any way to devlop ios app free like rubotos
<jhass>
doesn't apple charge $100 a year for the ability?
<izzol>
I have an issue with my code :( I'm trying to unzip the file using 'zip' gem but I'm getting the error: `initialize': No such file or directory @ rb_sysopen - _rels/.rels (Errno::ENOENT).
<izzol>
The file is docx.
<atm0sphere>
ya they charge
<jhass>
then the answer is no I guess
pepperbreath has quit [Ping timeout: 246 seconds]
<atm0sphere>
but m talking about ruby motion
<jhass>
izzol: sounds like you didn't specify the right path to your file
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cmisenas has quit [Ping timeout: 250 seconds]
GMkaR has joined #ruby
dfockler has joined #ruby
GMkaR has quit [Max SendQ exceeded]
TinkerTyper has quit [Quit: ZNC restarting...]
ESpiney has quit [Ping timeout: 276 seconds]
n008f4g_ has joined #ruby
<izzol>
jhass: let me try ;-)
finisherr has joined #ruby
cmisenas has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
Spami has quit [Quit: This computer has gone to sleep]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
yeticry has quit [Ping timeout: 265 seconds]
paulcsmith has joined #ruby
GMkaR has joined #ruby
yeticry has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<dreinull75>
before I start tinkering, I have image data as a blob in a db. I assume it's jpeg data. What's the easiest way to work with that data? Write to file and read it?
caseypatrickdris has quit [Read error: Connection reset by peer]
<leeyaa>
trying to install barkeep, maybe someone has heard of it (not very good with ruby apps) and for some reason it fails with this error http://paste.ubuntu.com/11652559/
<leeyaa>
any idea what the problem might be ?
snophey has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
GMkaR has joined #ruby
GMkaR has quit [Max SendQ exceeded]
<jhass>
leeyaa: what's your output of the locale command?
<leeyaa>
havenwood: so that should be resolveable or what ?
<havenwood>
leeyaa: Did you delete or change the contents of environment.rb?
geggam has joined #ruby
mcpierce has quit [Ping timeout: 256 seconds]
<leeyaa>
i did change some yeag
<leeyaa>
unicorn variables
geggam has quit [Max SendQ exceeded]
ndrei has joined #ruby
<havenwood>
leeyaa: Look for the line I linked ^
balazs has quit [Ping timeout: 256 seconds]
geggam has joined #ruby
baweaver has joined #ruby
fgo has quit [Ping timeout: 265 seconds]
mister_solo has quit [Ping timeout: 246 seconds]
ferr has joined #ruby
caseypatrickdris has quit [Read error: Connection reset by peer]
ndrei_ has quit [Ping timeout: 265 seconds]
caseypatrickdris has joined #ruby
slackbotgz has quit [Remote host closed the connection]
slackbotgz has joined #ruby
mcpierce has joined #ruby
hdev1 has quit [Ping timeout: 252 seconds]
mister_solo has joined #ruby
AhabsBeard has quit []
<leeyaa>
havenwood: hm looks like i dont have ruby-oath2
<leeyaa>
thanks for the help
__chris has joined #ruby
axl__ has quit [Ping timeout: 245 seconds]
stoogenmeyer__ has joined #ruby
<havenwood>
leeyaa: you're welcome
<leeyaa>
i think ill kill some developer tomorrow
<leeyaa>
who the hell uses barkeep anyway
mister_solo has quit [Ping timeout: 264 seconds]
jgt1 has quit [Ping timeout: 264 seconds]
<miah>
i havent; but i would.
<jhass>
ffs microsoft
<jhass>
rejecting mail from my server
<jhass>
sorry, I should head to our new OT channel
<havenwood>
?ot
<ruboto>
this seems to be off-topic. please move your discussion to #ruby-offtopic, to keep this channel free for ruby related problems. Thanks!
beneggett has quit [Read error: Connection reset by peer]
<havenwood>
;)
beneggett has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
mrmargolis has joined #ruby
<leeyaa>
havenwood: still fails ;p
kevkev has quit [Quit: (null)]
d5sx43 has joined #ruby
djbkd has quit [Remote host closed the connection]
yardenbar has joined #ruby
mrmargol_ has quit [Ping timeout: 258 seconds]
fschuindt has joined #ruby
<miah>
try passing --env <environment> to your unicorn command
<fschuindt>
Guys, I am having trouble with a string like "\u0000I\u0000N\u0000S...". How can I convert it back to the normal? It prints "INSERT" but in the code is different from "INSERT" cause its like "\u0000I\u0000N\u0000S...". Any help?
doertedev has quit [Quit: Lost terminal]
<jhass>
you got a 0-byte every other char? oO
<jhass>
where do you get your input from...
kinduff has quit [Ping timeout: 255 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
<fschuindt>
jhass: Is that with me?
andikr has joined #ruby
djbkd has joined #ruby
GMkaE has joined #ruby
GMkaE has quit [Max SendQ exceeded]
<jhass>
yes
djbkd has quit [Read error: Connection reset by peer]
nickfausnight has joined #ruby
djbkd has joined #ruby
<fschuindt>
jhass: I dont understand what you mean by 0-byte every other char. But my input is by reading a .sql file. Hehe
<apeiros>
both are in the unicode family, though. but not sure
<eam>
I think it's similar with a few differences
<dfockler>
is there an IETF RFC for a unicode api?
twistedpixels has joined #ruby
<fschuindt>
oh hell, I am really confused hahaha
caseypat_ has joined #ruby
baweaver has quit [Remote host closed the connection]
joaomdmoura has joined #ruby
<havenwood>
fschuindt: you have a primordial ancestor of utf-16 before it started emerging from the ooze
EllisTAA has joined #ruby
GriffinHeart has quit [Ping timeout: 250 seconds]
<fschuindt>
havenwood: that don't sounds good :x
<apeiros>
"UTF-16, an extension of UCS-2" from that wp article
joaomdmoura has quit [Read error: Connection reset by peer]
joaomdmoura_ has joined #ruby
joaomdmoura_ has quit [Client Quit]
sleungcy has joined #ruby
<fschuindt>
how can I convert it? Like line.encode!('UTF-8', 'UTF-16')
<apeiros>
so I'd say ucs2 is a subset of utf16, which would mean you can just treat it as utf16
<apeiros>
don't forget to use the right endian
ldnunes has quit [Ping timeout: 265 seconds]
symm- has joined #ruby
joaomdmoura has joined #ruby
<jhass>
fschuindt: uhm, is running iconv or enconv to convert it externaly an option for you? I don't see something in the ruby supported encodings
d5sx43 has quit [Quit: Leaving...]
bin_005 has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
<fschuindt>
jhass: I don't know, let me check the encoding options for the dump exportation
<apeiros>
jhass: as said, can just use utf-16
kinduff has joined #ruby
<jhass>
that'd be good option too
<jhass>
apeiros: oh? mh
<apeiros>
all ucs-2 is valid utf-16 from what I can find
<apeiros>
just don't forget BE/LE
<jhass>
I'd still export it to UTF-8 instead if that's an option
<apeiros>
sure
<apeiros>
anything utf is better
<apeiros>
ucs is obsolete
elev has joined #ruby
<fschuindt>
apeiros: Can you show me a ruby command doing this convertion in a foo string?
<apeiros>
foo.encode(from, to)
<fschuindt>
nice
<jhass>
fschuindt: or better yet stick it into your Foo.new/open call
<fschuindt>
Will check the exportations options too
<apeiros>
if you've read the data properly, just foo.encode(to), because the from encoding is already set on the string.
elev is now known as master44
hdev1 has joined #ruby
<apeiros>
(you can read it using foo.encoding)
baroquebobcat has quit [Quit: baroquebobcat]
<jhass>
encoding: "UTF-16LE"
ndrei has joined #ruby
<jhass>
or whatever "reversed in pairs" means
edwinvdgraaf has joined #ruby
clone123 has joined #ruby
<apeiros>
remember that foo.encoding only tells you what you told ruby the encoding of the string is supposed to be
<apeiros>
it does NOT (and can't) figure out which encoding a random chunk of bytes has
khebbie has joined #ruby
baroquebobcat has joined #ruby
<jhass>
apeiros: how's that article going that you could've linked instead btw? :P
<apeiros>
(and "you told" can be indirect via Encoding.default_external, encoding comment etc.)
clone123 has left #ruby [#ruby]
<apeiros>
jhass: waiting for more articles to join. but I don't see when I get around writing them :-|
<apeiros>
maybe I'll push it up lonely as it is.
<jhass>
yeah, see no reason not to
<apeiros>
back to watching wwdc now :-p
chussenot has joined #ruby
<jhass>
hf
_seanc_ has joined #ruby
lkba has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
<jhass>
fschuindt: so, if you can export as UTF-8, do that by all means, else stick encoding: "UTF-16LE" (or BE, I still don't know) into your File.new call and get rid of all that .ecnode! mess
<master44>
What is a superclass and when can I use it?
<jhass>
master44: if you have class A < B, B is the superclass of A
<fschuindt>
jhass: Cool. The exportations options only talks about ANSI e Unicode.
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass>
"yeah, we know it's wrong, but we told everybody it's a thing so we stick to it"
anaeem1_ has joined #ruby
<fschuindt>
jhass: LOL, and I will stick with the Unicode shit.
dumdedum has quit [Ping timeout: 256 seconds]
geggam has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
<master44>
;P
gauke has quit [Quit: gauke]
<jhass>
notice the subtle "at least on Western/U.S. systems" on that SO answer
<jhass>
ANSI = whatever your system encoding might be
x1337807x has joined #ruby
<fschuindt>
jhass: Do you believe thats all Microsoft fault? I work to a company thar works to a state bank (named Banese). They are all microsoft, servers, computers, notebooks, every shit is microsoft. And guess what, I am Rails developer, lol.
d5sx43 has joined #ruby
Miphix has quit [Quit: Leaving]
<jhass>
you have my condolences
<fschuindt>
ty
Limix has quit [Quit: Limix]
khebbie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
and yes it's microsoft's fault because they can't admit their mistakes and keep "backwards compatibility" for the most silly things
<jhass>
see I'm not saying nobody else made mistakes, but most of them at least get their shit together afterwards
Rodya_ has joined #ruby
allomov has joined #ruby
Rixius has quit [Ping timeout: 250 seconds]
mercwithamouth has quit [Ping timeout: 265 seconds]
<fschuindt>
jhass: yes, sure
djbkd has quit [Remote host closed the connection]
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
anyway, gotta head to the grocery, as said try specifying UTF-16LE or UTF-16BE on the File.new/open call and get rid of the encode! calls
edwinvdgraaf has quit [Remote host closed the connection]
Filete has joined #ruby
djbkd has joined #ruby
caseypatrickdris has quit [Ping timeout: 265 seconds]
cmisenas has joined #ruby
<fschuindt>
jhass: I got: ASCII incompatible encoding needs binmode (ArgumentError)
<fschuindt>
think I will export to ASCI in the MS tool, do you think that gonna work?
yardenbar has quit [Quit: Leaving]
ebbflowgo has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
aaeron has joined #ruby
snockerton1 has quit [Quit: Leaving.]
ghanima has joined #ruby
<ghanima>
hello all
CustosLimen has quit [Ping timeout: 258 seconds]
<ghanima>
the format of the file is as follows
mase-chatter has quit [Quit: Leaving]
<ghanima>
I have file that someone provided me that was originally suppose to be csv but was incomplete
dalafa has quit [Ping timeout: 258 seconds]
<ghanima>
"name=\"Zygmunt, Kenneth H, DPM\", address=\"552 S Washington St Ste 116 Naperville, IL 60540\", phone=\"(630)983-5694\", Other Languages Spoken=\" None\", NPI=\" 1154325074\", Board Certified=[\"Podiatry\"], Education=\" Illinois College Of Podiatric Medicine\", Residency=\" University of Illinois\", Graduation Date=\" 05/31/1981\", Provider Specialty=\" Podiatry\", Hospital Affiliations=\" Edward Hospital\", State=\
arup_r has joined #ruby
<ghanima>
basically what I want to do is create a hash for every string connected via = sign
marr has quit [Ping timeout: 246 seconds]
<master44>
y
djbkd has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
aotg has quit [Ping timeout: 272 seconds]
tekacs has quit [Ping timeout: 272 seconds]
allomov has quit [Remote host closed the connection]
<havenwood>
Asemace: ^ the link is also in the channel topic if you want to find it again.
balazs has joined #ruby
allomov has joined #ruby
chussenot has quit [Quit: chussenot]
sankaber has quit [Ping timeout: 272 seconds]
<Asemace>
ok, got it, thanks
byprdct has joined #ruby
_seanc_ has quit [Quit: _seanc_]
<master44>
when can I use the ===
fschuindt has quit [Ping timeout: 255 seconds]
byprdct has quit [Max SendQ exceeded]
<Asemace>
got banned on efnet from several channels, althow i wasnt insulting Single persons, think gotta kinda mentallity difference, therefore im asking
ogpastal_ has quit [Remote host closed the connection]
<master44>
ok
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/2015051400]]
<arnie56>
[1, 2].cycle(1) gives me 1 each time , i want first given 1 then 2 then 1 then 2 back
anaeem1_ has quit [Remote host closed the connection]
<jhass>
arnie56: see above?
<jhass>
havenwood: how can you remember all these..
<havenwood>
jhass: how can you..
anaeem1 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
<havenwood>
jhass: the docs help ;)
anaeem1 has joined #ruby
<arnie56>
thanks, i am even looking at a switch statement which gives out 1 string
<arnie56>
and then another
<havenwood>
arnie56: Show us what you have so far?
<arnie56>
and switches between them
<havenwood>
?gist arnie56
<ruboto>
arnie56, https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<arnie56>
i have nothing really :D i just wanted to know this before i begin
fschuindt has joined #ruby
chinmay_dd has quit []
<jhass>
I sense xy
<jhass>
?xy
<ruboto>
it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
Musashi007 has joined #ruby
snockerton has joined #ruby
deric_skibotn has quit [Ping timeout: 256 seconds]
fschuindt has quit [Client Quit]
<havenwood>
arnie56: Just to confirm you get what we've already said, in irb you might try: one_two = [1, 2].cycle # then check `one_two.size` and a few `one_two.next`s.
anaeem1 has quit [Remote host closed the connection]
moretti has joined #ruby
queequeg1 has quit [Quit: leaving]
<arnie56>
thank you
anaeem1 has joined #ruby
railsraider has quit [Quit: railsraider]
plashchynski has joined #ruby
queequeg1 has joined #ruby
djbkd has quit [Remote host closed the connection]
zz_barkerd427 is now known as barkerd427
<havenwood>
arnie56: From Pry: ls one_two
joaomdmoura has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood>
Ahem, I mean: 1.upto 5, &Kernel.public_method(:puts)
Iskarlar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
icarus has joined #ruby
<Sou|cutter>
jhass: thanks!
railsraider has joined #ruby
freerobby has quit [Quit: Leaving.]
mister_solo has quit [Ping timeout: 245 seconds]
EllisTAA has quit [Quit: EllisTAA]
Kricir has quit []
freerobby has joined #ruby
<firevolt>
I have a file that when I do File.readlines('file.ext') spits out an array of strings that look like this: "|\t\u0003 0.Gan`*.+^IJET\\O@GC<'PAMF.?\n" any idea what I can do to make this readable?
dopie has joined #ruby
ereslibre has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 256 seconds]
kinduff has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
Iskarlar has joined #ruby
shock_one has quit [Remote host closed the connection]
<firevolt>
If I open it in sublime I get lines that look like this: "7c09 0320 302e 4761 6e60 2a2e 2b5e 494a"
<Gnar>
you read the rules fag
<havenwood>
!mute Gnar
<Gnar>
owned
dopie has quit [Quit: This computer has gone to sleep]
xenog has quit [Quit: Leaving.]
<havenwood>
!ban Gnar !T 1d
Gnar was kicked from #ruby by ChanServ [User is banned from this channel]
Palmer11 has joined #ruby
mrmargolis has quit [Remote host closed the connection]
mrmargolis has joined #ruby
blackmesa has quit [Ping timeout: 265 seconds]
Maxed has joined #ruby
aapole has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jgt1 has joined #ruby
sandstrom has joined #ruby
tvw has quit [Remote host closed the connection]
shock_one has joined #ruby
_seanc_ has joined #ruby
bosnia has quit [Ping timeout: 255 seconds]
gamename has quit [Remote host closed the connection]
bantic has quit [Quit: bantic]
deric_skibotn has joined #ruby
gamename has joined #ruby
doctorly has quit [Ping timeout: 265 seconds]
jenrzzz has joined #ruby
<theRoUS>
basic tcp question: i'm trying to interact with a service (mklivestatus) via a TCPSocket. i write my query with @sock.puts('string'), and i'm able to read the response -- but thereafter it behaves as though it's at eof. i can write more, but never read any more.
bigkevmcd has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Rodya_ has joined #ruby
<havenn>
dfockler: That interoperates performantly with other langs including Java, though Graal VM instead of JVM.
whippythellama has quit [Quit: whippythellama]
x1337807x has joined #ruby
<dfockler>
pretty soon, no body will actually care about what processor they are running
kies has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
<eam>
they already don't
GGMethos has quit [Ping timeout: 256 seconds]
<dfockler>
memory and cpu are like water and electricity
<Jamo>
I'm trying to calculate a hash of uploaded file, it appears that the hash is always changing, even though the submitted file is always generated the seme way. This is how I try to calculate the hash `Digest::SHA256.file(@req['file'][:tempfile].path).hexdigest`
centrx has joined #ruby
havenn is now known as havenwood
bronson has joined #ruby
<eam>
jamo: looks like you're hashing the filename, not the file contents?
Scroff has quit [Read error: Connection reset by peer]
<eam>
if it's a tempfile, I presume the name will change regularly
<Jamo>
and kinda assumed this .file would have read the contents of a file
<eam>
oh sorry, I didn't see ow known as
<eam>
er
<eam>
didn't see SHA256.file
<eam>
jamo: have you checked the actual file contents?
Rodya_ has quit [Ping timeout: 258 seconds]
greenbagels has quit [Client Quit]
greenbagels has joined #ruby
finisherr has joined #ruby
<shevy>
what is the proper way to denote a ruby writer method for :foo - would it be ".foo()=" or would it be ".foo() =" I am wondering whether I should use a space; I need to document some things, hence why I wonder
<Jamo>
nope, since the file gets deleted right after the request is completed. maybe I'll try copying it somewhere for closer inspection
hedgecore has quit [Ping timeout: 244 seconds]
enebo has quit [Quit: enebo]
<eam>
jamo: another thing to consider is whether the file is being written to while you're checksumming it
deric_skibotn has joined #ruby
<Jamo>
umm, I'm using rack, so I would have hoped that the file would have been uploaded/written before the app can access the tempfile.
Scroff has quit [Ping timeout: 256 seconds]
joaomdmoura has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
<Jamo>
ok, it appears that the file is written successfully before I'm copying it
djbkd has quit [Remote host closed the connection]
fabrice31 has joined #ruby
shock_one has quit [Remote host closed the connection]
GGMethos has joined #ruby
bantic has quit [Quit: bantic]
<Jamo>
ok, the files get different checksums also from terminal (sha256sum) so guess the issue is not the calculating the hash
jackjackdripper has joined #ruby
apofis_ has joined #ruby
mahlon has joined #ruby
dgutierrez1287 has quit [Remote host closed the connection]
djbkd has joined #ruby
apofis has quit [Ping timeout: 255 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
umgrosscol has quit [Remote host closed the connection]
jackjackdripper1 has quit [Ping timeout: 258 seconds]
bgmarx_ has joined #ruby
bricker has joined #ruby
dudedudeman has quit [Ping timeout: 276 seconds]
commondream has joined #ruby
hahuang65 has joined #ruby
shock_on_ has joined #ruby
apofis_ is now known as apofis
bin_005 has quit [Ping timeout: 264 seconds]
commondream has quit [Remote host closed the connection]
commondream has joined #ruby
rdar has quit [Ping timeout: 265 seconds]
bgmarx has quit [Ping timeout: 245 seconds]
djbkd has quit [Remote host closed the connection]
hahuang65 has quit [Client Quit]
agarie has quit []
Mia has quit [Read error: Connection reset by peer]
Mia has joined #ruby
RegulationD has quit [Remote host closed the connection]
apofis_ has joined #ruby
<Darkwater>
is there a way to give a thread a custom name?
apofis has quit [Quit: Leaving]
rubymanCC has joined #ruby
apofis_ is now known as apofis
yfeldblum has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dgutierrez1287 has joined #ruby
jpfuentes2 has quit [Ping timeout: 256 seconds]
sarkyniin has quit [Quit: Quit]
swgillespie has joined #ruby
Filete has joined #ruby
rdar has joined #ruby
rdar has quit [Client Quit]
Eiam has joined #ruby
shock_on_ has quit [Remote host closed the connection]
infinitone has quit [Remote host closed the connection]
<havenwood>
Darkwater: You could use a thread-local variable `:name`.
<Darkwater>
havenwood: I mean for the system
<Darkwater>
threads can have a custom name
rubymanCC has quit [Quit: Page closed]
<havenwood>
Darkwater: For a process?
<havenwood>
oh
<Darkwater>
I think max 15 chars long
<Darkwater>
probably 16 with a terminating nul byte
shock_one has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
mdz_ has joined #ruby
djbkd has joined #ruby
[1]abirazor has joined #ruby
moeSeth has quit [Quit: Connection closed for inactivity]
scripore has quit [Quit: This computer has gone to sleep]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
Darkwater: Just to confirm, you're talking threads not processes here?
<Darkwater>
yeah threads
<Darkwater>
though it might be cool to also do it for processes