<dominikh>
thanks for reminding me to turn off WPS
<dominikh>
"When an enrollee attempts to gain access using a PIN, the registrar reports the validity of the first and second halves of the PIN separately" ← that sounds an awful lot like hollywood style hacking
imajes has quit [Excess Flood]
dankest has joined #ruby-lang
imajes has joined #ruby-lang
<heftig>
just a bit more and it'd be like playing MasterMind!
<dominikh>
:D
banisterfiend has joined #ruby-lang
dnitro has joined #ruby-lang
perryh_away is now known as perryh
yxhvuud has joined #ruby-lang
slyphon has joined #ruby-lang
yxhuvud has quit [Ping timeout: 248 seconds]
perryh is now known as perryh_away
asahi has joined #ruby-lang
diegoviola has quit [Ping timeout: 252 seconds]
andrewhl has quit [Remote host closed the connection]
Boohbah has quit [Ping timeout: 276 seconds]
Boohbah has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
asahi has left #ruby-lang [#ruby-lang]
mattonrails has joined #ruby-lang
perryh_away is now known as perryh
banisterfiend has quit [Remote host closed the connection]
jstemmer has quit [*.net *.split]
ruskie has quit [*.net *.split]
robbyrussell has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
chendo has joined #ruby-lang
mattonrails has quit [Remote host closed the connection]
Kellin has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
jstemmer has joined #ruby-lang
ruskie has joined #ruby-lang
robbyrussell has joined #ruby-lang
TheMoonMaster has joined #ruby-lang
dankest has quit [Quit: Leaving...]
DEac- has quit [Read error: Connection reset by peer]
DEac- has joined #ruby-lang
perryh is now known as perryh_away
chendo has quit [Quit: Computer has gone to sleep.]
perryh_away has quit [Ping timeout: 252 seconds]
ryanf has quit [Ping timeout: 265 seconds]
<Kellin>
Anyone know of a good gem or way to grab ACL information off of a file in Linux with Ruby; RubyACL doesn't appear to be geared toward filesystem ACLs and the File class doesn't have it either.
<bnagy>
I just need a sanity check - I followed the rubygems guide thingy
<bnagy>
in particular if that's the right way to deal with binaries
<bnagy>
and I dunno if I need the shim in lib/
somethinYellow has quit [Ping timeout: 244 seconds]
habib has joined #ruby-lang
voker57 has quit [Remote host closed the connection]
somethin1ellow has quit [Quit: Computer has gone to sleep]
fserb has joined #ruby-lang
diegoviola has joined #ruby-lang
<rue>
You usually should have a lib/gemname.rb, even if you normally just use separate requires
<bnagy>
ok. The main point of the gem is to provide the binary, but I can put a gemname.rb in lib/ anyway
Habib1983 has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
woollyams has joined #ruby-lang
<rue>
If you don’t expect people to ever use it as a library, it doesn’t matter much. You can still use it to require whatever it is you’d require separately, of course
<bnagy>
there's some chance someone might just write the dedup script on the nokogiri lib that parses the music library
<bnagy>
or write something else, who knows
_br_ has quit [Ping timeout: 250 seconds]
tRAS has joined #ruby-lang
fserb has quit [Quit: ttyl]
gix has quit [Ping timeout: 244 seconds]
qwerxy has joined #ruby-lang
zz_wasnotrice is now known as wasnotrice
gix has joined #ruby-lang
naz has joined #ruby-lang
toretore has joined #ruby-lang
fserb has joined #ruby-lang
virunga has joined #ruby-lang
non343 has joined #ruby-lang
_br_ has joined #ruby-lang
qwerxy has quit [Quit: Computer has gone to sleep.]
steeljav has joined #ruby-lang
naz has quit [Ping timeout: 248 seconds]
Kellin has quit [Ping timeout: 246 seconds]
yannis has quit [Read error: Connection timed out]
yannis has joined #ruby-lang
yannis has quit [Client Quit]
<Habib1983>
hallo
<Habib1983>
anyone here?
<Habib1983>
cls
<Habib1983>
clrscr
<Habib1983>
Can anyone try to help me in my code?
habib has left #ruby-lang [#ruby-lang]
<bnagy>
Habib1983: in general, if you have a question, just ask
<bnagy>
if anyone is around and can / wants to help, they will
wasnotrice is now known as zz_wasnotrice
<Habib1983>
thnx. the question is: i'm trying to set pos of cursor in terminal. i've tried it with "Curses"
<Habib1983>
for exaample
<Habib1983>
require 'curses'
<Habib1983>
Curses.setpos(6, 3) # column 6, row 3
<Habib1983>
print "O"
<Habib1983>
and it gives me D:\programming\Ruby193\bin\ruby.exe -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) D:/programming/made_apps/programs/1st.rb
<Habib1983>
Redirection is not supported.
<Habib1983>
Process finished with exit code 1
<bnagy>
why are you trying to run it that way?
<Habib1983>
So How do u set pos of cursor in text mode?
<bnagy>
just ruby 1st.rb
<bnagy>
your script isn't even starting to be run
<Habib1983>
it's rubymine
<Habib1983>
ok i try
M4g1c5t0rM has joined #ruby-lang
<Habib1983>
i ran it ur way and it just prints "O"
<Habib1983>
not seting pos
<Habib1983>
in the left upper corner
<Habib1983>
by the way io'm using windows terminal
<bnagy>
I guessed by your paths
<bnagy>
I can't help with the curses side, never used it
<bnagy>
but at least your script is running now
zz_wasnotrice is now known as wasnotrice
TheHunter_1039 has joined #ruby-lang
<Habib1983>
yeah lol
woollyams has quit [Quit: Computer has gone to sleep.]
<Habib1983>
So can anyone else tell about setting position of cursor in terminal?
<Habib1983>
my task is to run somekind of arkanoid in text mode
steeljav has quit [Quit: leaving]
<bnagy>
I think programming ruby (the free book) has examples for that online
<bnagy>
well, pong, but that's more or less arkanoid rotated 90 degrees
<pbjorklund>
Thanks for the answer yesterday Rue. It's actually quite clear in the docs that I need to pass a negative limit to split, don't know how I missed that one.
<Habib1983>
what is pong?
wasnotrice is now known as zz_wasnotrice
<Habib1983>
ah yeah i know it
<Habib1983>
but is it in text mode?
tomb_ has joined #ruby-lang
<bnagy>
I believe so, otherwise I would have said 'here is something not at all relevant to the conversation we were just having'
zz_wasnotrice is now known as wasnotrice
<Habib1983>
thnx for answers <bnagy>
<bnagy>
np, good luck
fragmachine has joined #ruby-lang
fragmachine has left #ruby-lang [#ruby-lang]
Where_Is_Void has joined #ruby-lang
<Where_Is_Void>
What's the best way to save and retrieve a massive hash?
<Where_Is_Void>
I tried using yaml but loading it takes forever
<bnagy>
don't
<Where_Is_Void>
oh ok haha
<bnagy>
:)
<bnagy>
try tokyocabinet or something maybe
<bnagy>
oklahoma_mixer is a good gem
<bnagy>
and the TC hash db acts just like a hash
<Where_Is_Void>
ok cool I'll have a look at those
<bnagy>
Where_Is_Void: btw, if you really have to serialize, try Marshal or MessagePack
<bnagy>
going to be way faster than YAML
<bnagy>
but if it's a huge hash there are probably other benefits to using an actual KV store
<Where_Is_Void>
the hash is a trie dictionary
<Where_Is_Void>
of words for a game
<bnagy>
why is it so big, then?
<bnagy>
even a full english dictionary is not a hugr trie
<bnagy>
*huge
<Where_Is_Void>
haha I got the stanford list of words and put it in there
<Where_Is_Void>
I can trim it though
<Where_Is_Void>
becuase there are a lot of words that I don;t need in there
<andrewvos>
I have never hated a company so much in my life.
<erikh>
I've gotta call verizon to get my ipad cell stuff sorted
<erikh>
friday night, I waited on hold for an hour, talked to someone for about 25 minutes, they blind transferred me to apple, who told me I needed to talk... to verizon
<erikh>
called verizon back and they were closed.
sepp2k has joined #ruby-lang
Jade has joined #ruby-lang
jd has quit [Ping timeout: 265 seconds]
diegoviola has quit [Quit: leaving]
qwerxy has quit [Quit: Computer has gone to sleep.]
<shevy>
verizon is the reason for wanting to kill people
asahi has left #ruby-lang [#ruby-lang]
Swimming_Bird has joined #ruby-lang
<andrewvos>
OK I got my internet working. The fix? I moved my router. Go to stop immediately thinking it's VirginMedia all the time. I suppose if their service wasn't so shit then I wouldn't though.
<andrewvos>
Got*
<erikh>
what part of diablo are you on now?
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
<rue>
andrewvos: And you laugh when people kick hardware
<rue>
They’re just relocating it
kiddorails has quit [Quit: Leaving]
Criztian has quit [Ping timeout: 245 seconds]
<rue>
Guise, if I want to refer to the 41th row of each column separately for all subsequent rows in excelsheet, meaning that A41 won’t work (because it gets generalized to A42 and so on) and $A41 won’t work because I want A, B, C… do I need to use some stupid RELATIVECELLREF() or other function?
<rue>
Did I mention that spreadsheets are the dumbest thing ever invented in computing?
workmad3 has joined #ruby-lang
deryl has quit [Quit: Leaving]
tomzx has joined #ruby-lang
workmad3 has quit [Ping timeout: 260 seconds]
jperry2 has joined #ruby-lang
jperry2 has quit [Client Quit]
baniseterfiend` has joined #ruby-lang
geekfactor has joined #ruby-lang
naz has quit [Ping timeout: 250 seconds]
Kellin has joined #ruby-lang
naz has joined #ruby-lang
somethinYellow has quit [Quit: Computer has gone to sleep]
joshcheek has joined #ruby-lang
seanstickle has quit [Quit: Nihil sub sole novum]
somethinYellow has joined #ruby-lang
<shevy>
I am sure some things must be worse than spreadsheets
gregf has quit [Quit: WeeChat 0.3.7]
gregf has joined #ruby-lang
savage- has joined #ruby-lang
saLOUt has quit [Quit: Konversation terminated!]
deryldoucette is now known as deryl
thone has joined #ruby-lang
<andrewvos>
erikh: I just killed the butcher and am in some desert land getting murdered every time I try play
tRAS has quit [Quit: Mother, did it need to be so high?]
naz has quit [Ping timeout: 244 seconds]
<andrewvos>
erikh: Actually I did go a bit further
<andrewvos>
erikh: But yeah
tomb_ has joined #ruby-lang
thone_ has quit [Ping timeout: 252 seconds]
<rue>
Diablo gameplay summarized: I’m in a place and there’s stuff
tbuehlmann has joined #ruby-lang
tomb_ has quit [Client Quit]
<shevy>
and you must slay stuff
sora_h is now known as s0ra_h
mistym has joined #ruby-lang
<lianj>
meh, still no mwrc videos on confreaks
rindolf has joined #ruby-lang
cvans has joined #ruby-lang
qwerxy has joined #ruby-lang
virunga has quit [Quit: Sto andando via]
tRAS has joined #ruby-lang
gouthamvel has joined #ruby-lang
rindolf has quit [Disconnected by services]
shlomif has joined #ruby-lang
arooni-mobile has quit [Quit: Leaving]
yfeldblum has joined #ruby-lang
fayimora has quit [Read error: Connection reset by peer]
fayimora_ has joined #ruby-lang
zeba has quit [Ping timeout: 240 seconds]
fayimora_ has quit [Ping timeout: 260 seconds]
zeba has joined #ruby-lang
jtoy has joined #ruby-lang
<shevy>
lianj let's watch teletubbies!
fserb has quit [Quit: ttyl]
tomb_ has joined #ruby-lang
Okasu has left #ruby-lang [#ruby-lang]
qwerxy has quit [Quit: Computer has gone to sleep.]
wallerdev has joined #ruby-lang
<andrewvos>
I want to write a CI tool that is all text file based. I don't want any painful xml configuration, and I only want it to be available in the terminal.
dejongge has joined #ruby-lang
naz has joined #ruby-lang
kain has quit [Quit: Sto andando via]
perryh_away is now known as perryh
krainboltgreene has quit [Quit: krainboltgreene]
perryh is now known as perryh_away
joshcheek has quit [Quit: joshcheek]
joshcheek has joined #ruby-lang
<andrewvos>
Does this sound like a good idea?
<andrewvos>
Someone tell me why I'm being stupid please.
rippa has joined #ruby-lang
<rue>
Because something like that probably exists?
joshcheek has quit [Quit: joshcheek]
<andrewvos>
rue: Not seen anything like that.
<andrewvos>
rue: Have you?
naz has quit [Ping timeout: 245 seconds]
<rue>
Dunno, nothing for Hudson? Or Jenkeenns
<andrewvos>
rue: I hate Hudson/Jenkins so so much.
<andrewvos>
Basically I want the build to be a gem with some useful commands
<andrewvos>
like <gem name> build:latest:tail
<andrewvos>
build:current:tail maybe
<andrewvos>
Maybe I should have said "I want to write a new CI server"
M4g1c5t0rM has quit [Read error: Connection reset by peer]
jstemmer has joined #ruby-lang
<rue>
Maybe you could use Travis
<rking>
How do Hudson, Jenkins, and Travis compare?
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
<rking>
andrewvos: I don't really understand what your problem statement is. You don't like X and Y because of why?
tenderlove has quit [Remote host closed the connection]
<andrewvos>
rking: The user interface in Hudson/Jenkins is basically enough to drive me away.
<rking>
Ahh.
<andrewvos>
rking: I spend a lot of my time fixing builds and creating build configurations.
Weems2 has quit [Ping timeout: 256 seconds]
sepp2k has quit [Ping timeout: 245 seconds]
<rking>
andrewvos: You know about the IRC bots from travis and stuff?
<andrewvos>
And I think that having your entire build script in some textbox on a webpage is insane.
<andrewvos>
rking: I do, but travis is just not going to cut it in the type of companies I work for.
<andrewvos>
Firstly, it only builds public projects.
deadbea7_ has quit [Quit: leaving]
<andrewvos>
(I do think travis is the coolest thing in the world though)
<andrewvos>
But it doesn't really do the stuff you need, like deployment.
<rue>
I’m not sure a CI server should be doing deployment anyway
<andrewvos>
rue: Then what should?
tonesfrommars has joined #ruby-lang
fayimora has joined #ruby-lang
<rking>
andrewvos: I mean, what you want sounds really custom. What work does a CI gem need to do that you're not going to override?
voker57 has quit [Remote host closed the connection]
Weems has joined #ruby-lang
spuk has quit [Changing host]
spuk has joined #ruby-lang
<spuk>
you can write a build script, save it somewhere, and have jenkins run it, instead of having it all in the web app
<deryl>
rue actually it seems to be a move i've noticed. people seem to be moving towards using a PASS on the CI to spawn deployments, and FAIL for notification to the group. we, in rvm, have been doing that. we separate the deployment process (we wait for a PASS to be generated and then it kicks off a separate deploy call), but we do use it for that reason.
<rue>
deryl: Correct
<deryl>
i think we do it the smarter way, having a separate process that does the actual deployment, but i've noticed many are using the PASS to cause the deployment *within* the same process.
<deryl>
i agree with you they should be separate, however, other than its easier to troubleshoot two separate processes, can you give me another reason? (actually interested because the big thing coming back is why shouldn't I if the CI passed)
<deryl>
not being a professional developer (as in working for a dev company) i don't really have an answer for them beyond what i mentioned.
<deryl>
my belief they should be separate is more innate a gut decision. not sure that qualifies as a professional reason not to hehe
<deryl>
and not working professionally, i'm definitely probably missing some additionals in a professional situation that *I* don't run into
gsav has quit [Read error: Connection reset by peer]
<deryl>
or am i asking something that should be readily apparant
fserb has joined #ruby-lang
naz has joined #ruby-lang
gsav has joined #ruby-lang
naz has quit [Quit: switching servers]
naz has joined #ruby-lang
jtoy has quit [Quit: jtoy]
fserb has quit [Quit: ttyl]
Criztian has joined #ruby-lang
<shevy>
deryl likes to write!
<deryl>
i jus tlike to talk about things that interest me. that subject interests me. not like i'm stopping the channel from talking about other things, nor am i talking about something far off topic for the channel
cdt has joined #ruby-lang
HW42 has left #ruby-lang [#ruby-lang]
<erikh>
continuous deployment seems like a train wreck waiting to happen
slyphon has joined #ruby-lang
Hakon|mbp has quit [Quit: Leaving...]
slaytanic has joined #ruby-lang
naz has quit [Ping timeout: 256 seconds]
<rue>
Yes, but it’s like an infinite train!
<erikh>
on the phone with verizon again! yaaaaaay
<rue>
Yay verizon
<rue>
Did you know what Verizon means ‘truth butt’ in Romanian?
krainboltgreene has joined #ruby-lang
<erikh>
on hold again!
<erikh>
wooooot
<erikh>
I bet I just got blind transferred
<erikh>
just ... love this
<erikh>
I guess not -- I got a good CSR yay
Hakon|mbp has joined #ruby-lang
kain has joined #ruby-lang
tRAS has quit [Quit: Mother, did it need to be so high?]
burgestrand has joined #ruby-lang
akira989 has joined #ruby-lang
t has joined #ruby-lang
dphase has joined #ruby-lang
<dphase>
what would be best practice for gsub'ing only one match of a regex?
Joeysface has quit [Remote host closed the connection]
gouthamvel has left #ruby-lang [#ruby-lang]
dvorak has quit [Remote host closed the connection]
jtoy has joined #ruby-lang
fayimora_ has joined #ruby-lang
benanne has quit [Quit: kbai]
fayimora has quit [Ping timeout: 264 seconds]
tjadc has quit [Remote host closed the connection]
fayimora_ has quit [Read error: Connection reset by peer]
lsegal has joined #ruby-lang
fayimora has joined #ruby-lang
kyrylo has quit [Read error: Connection reset by peer]
naz has joined #ruby-lang
gregf has quit [Quit: WeeChat 0.3.8]
gregf has joined #ruby-lang
somethinYellow has quit [Quit: Computer has gone to sleep]
dvorak has joined #ruby-lang
naz has quit [Ping timeout: 245 seconds]
<Habib1983>
Hi everyone!
<Habib1983>
can anyone tell me how to set pos of cursor in terminal in windows?
<Habib1983>
please
<Habib1983>
cos i'm stuck with this
<Habib1983>
and looking for this info for long time
<rue>
Curses, termcap?
kvirani has joined #ruby-lang
<rue>
Some magical ANSI combination?
<Habib1983>
<rue> yeah i've tried Curses. but it doesnt work
<Habib1983>
no just trying to write some kind of arkanoid in text mode
stamina has quit [Quit: Lost terminal]
kyrylo has joined #ruby-lang
kyrylo has quit [Changing host]
kyrylo has joined #ruby-lang
petercooper has joined #ruby-lang
tbuehlmann has quit []
<Habib1983>
what to use ncurses or curses?
<seanstickle>
ncurses
retro|cz has joined #ruby-lang
<Habib1983>
thnx
Karmaon has quit [Quit: WeeChat 0.3.8-rc1]
Karmaon has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
Karmaon has quit [Client Quit]
solars has quit [Quit: WeeChat 0.3.5]
hakunin has quit [Remote host closed the connection]
woollyams has joined #ruby-lang
hakunin has joined #ruby-lang
hakunin has quit [Remote host closed the connection]
hakunin has joined #ruby-lang
krainboltgreene has quit [Quit: krainboltgreene]
yxhuvud has quit [Ping timeout: 244 seconds]
dv310p3r has joined #ruby-lang
benanne has joined #ruby-lang
M4g1c5t0rM has joined #ruby-lang
any-key has quit [Remote host closed the connection]
qwerxy has joined #ruby-lang
igotnolegs has quit [Quit: Computer has gone to sleep.]
jtoy has quit [Quit: jtoy]
<pbjorklund>
I'm doing a ruby puzzle and need to make true return false. I don't really know what I'm after, any tips? (ie general pointers, not the solution)
<pbjorklund>
Didn't really find anything I could do with TrueClass even though I guess thats the key
<burgestrand>
pbjorklund: redefine TrueClass#==
<burgestrand>
pbjorklund: I assume the code looks like assert true, false
<burgestrand>
or similar
<burgestrand>
Perhaps assert_equal true, false
<burgestrand>
Actually, that was a bit too much.
<burgestrand>
Unread it.
<burgestrand>
Instead, think of what “assert_equal” really does, and jump in there.
<burgestrand>
^^
<pbjorklund>
Tack, will go fiddle :)
fayimora has quit [Read error: Connection reset by peer]
fayimora_ has joined #ruby-lang
fayimora_ has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
fayimora has quit [Client Quit]
<pbjorklund>
Fascinating that you can override the comparison operators of true and false in ruby.
somethinYellow has joined #ruby-lang
stamina has joined #ruby-lang
somethin1ellow has joined #ruby-lang
t has joined #ruby-lang
t is now known as Guest36938
somethinYellow has quit [Ping timeout: 240 seconds]
AndroUser2 has quit [Ping timeout: 244 seconds]
fayimora has joined #ruby-lang
qwerxy has quit [Ping timeout: 244 seconds]
Okasu has joined #ruby-lang
<Okasu>
hello
<Okasu>
can someona help me with IMAP?
<seanstickle>
Okasu: !ask
<seanstickle>
DAng
<seanstickle>
Okasu: just ask your question; if someone can help, they will.
<Okasu>
seanstickle: esterday i did, but noone helps me :.)
<seanstickle>
So?
<seanstickle>
I didn't promise anyone *would* help.
<seanstickle>
Only that they might.
<Okasu>
i need to write app that constantly checks inbox and outputs new mails
<Okasu>
i managed to fo it partially
andrewhl has quit [Remote host closed the connection]
sbinetd has joined #ruby-lang
<Okasu>
now my app works with preexisted messages in inbox
<Okasu>
like send mail -> run app -> get mail
<Okasu>
but run app -> send mail -> get nothing
havenn has joined #ruby-lang
<Okasu>
i need run app -> send mail -> get mail
mrck has joined #ruby-lang
<Okasu>
there is only "send mail -> run app -> get mail" examples on the net
kvirani has quit [Remote host closed the connection]
Axsuul has joined #ruby-lang
<rue>
Fetchmail?
zz_wasnotrice is now known as wasnotrice
fayimora has quit [Read error: Connection reset by peer]
fayimora has joined #ruby-lang
<Okasu>
net/imap
havenn has quit [Remote host closed the connection]
<seoaqua>
what is the orgnization style of https://github.com/tenderlove/mechanize ,pls ? i want to learn and make my project in the same way. [there was no response in #ruby, so i repeat it here]
bryanl has joined #ruby-lang
<erikh>
seoaqua: gem install mechanize; cd $(dirname `gem which mechanize`),
<erikh>
type ls and cd a lot
<erikh>
there you go
<erikh>
there's no "named style" if that's what you're asking.
<seoaqua>
erikh, i meant the source code style
<rking>
seoaqua: You can use jeweler.
<rking>
gem install jeweler
<rking>
Pretty good.
<seoaqua>
erikh, e.g. @agent = Mechanize::HTTP::Agent.new [there is the path / lib / mechanize / http / agent.rb]