alexspeller has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
The_8473 has quit [Ping timeout: 250 seconds]
The_8472 has joined #ruby
shevy has quit [Ping timeout: 252 seconds]
pngl has joined #ruby
<seanstickle>
Extend ClusterGroupOpenEnum to have a method that does what you want
<seanstickle>
Rather than putting it all inline (and duplicated) in the case
<seanstickle>
The intent of your code is not at all clear, which is a bad sign.
bitplane has joined #ruby
emocakes has quit [Quit: emocakes]
oscardelben has joined #ruby
joeycarmello has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
<rismoney>
my goal is to have a varied conditional loop based on a method parameter
michaelhf has joined #ruby
atyz has joined #ruby
duder_ has joined #ruby
zmisc has joined #ruby
<rismoney>
ideally i would like to when 'cluster' caller='clusterenum' when 'group' caller ='clustergroupenum'... and then have a single until that is able to invoke the caller value (whichi is a method)
<IceDragon>
hmmm, how about setting the enum to 1 variable
<IceDragon>
and then after all the branches you just have one enum.call(parameters)
cj3kim has quit [Quit: This computer has gone to sleep]
<rismoney>
because the methods, are actually just api calls (like ffi/win32api stuff), so I don't want to double wrap them
<IceDragon>
o.e
<IceDragon>
gimme a sec, I'll attempt to rewrite it..
<rismoney>
wow - that would rock
ltsstar has quit [Read error: Connection reset by peer]
<seanstickle>
IceDragon: it's hard to read calculus if you only studied geometry too.
<seanstickle>
IceDragon: not all programming languages have to be accessible to the novice.
<IceDragon>
regardless my eyes burn
<seanstickle>
:)
<IceDragon>
Gimme C/C++ anyday
xaq has quit [Remote host closed the connection]
<seanstickle>
Yuck.
crackfu has quit [Remote host closed the connection]
<seanstickle>
So … verbose
<IceDragon>
I still prefer C
<shevy>
yikes
miso1337 has joined #ruby
<rismoney>
my language of choice is foul
Coeus has joined #ruby
crackfu has joined #ruby
Hanmac1 has joined #ruby
<IceDragon>
I wish there was more support for Objective C (on Linux) (seemed like fun)
<NihilistDandy>
seanstickle: What's a good book to look into for APL? I've been thinking about trying it out lately
Coeus has quit [Client Quit]
<RubyPanther>
The Ruby C API sure makes an excellent libc replacement
<seanstickle>
NihilistDandy: do you really want to use APL, or something APL-like. If the latter, J might be an easier one to start with.
Coeus has joined #ruby
Coeus has left #ruby [#ruby]
<NihilistDandy>
I'd prefer APL, really. What I've read about it suggests it would fit in with what I already know. I suppose I could practice on J, though.
<IceDragon>
do we have a Programming language for ever letter in the Latin Alphabet?
<seanstickle>
NihilistDandy: the only reason I suggest J is because you can get an open source (and supported) interpreter
samphippen has quit [Quit: Computer has gone to sleep.]
<seanstickle>
NihilistDandy: APL you'll need to buy one (or get used to dealing with really flaky open source ones)
<seanstickle>
IceDragon: able to see the truth behind the symbols
<IceDragon>
not really
<jasonh>
oh
<jasonh>
lame
<IceDragon>
I just went blind after seeing APL
<shevy>
he is just afraid to see p0rn
<seanstickle>
Blind with love!
otters has joined #ruby
ltsstar has joined #ruby
<IceDragon>
If I was a blind programmer I'd be kicking plenty ass
woolite64 has quit [Ping timeout: 265 seconds]
ewag has joined #ruby
<jasonh>
lool
<jasonh>
yeah
<shevy>
you'd have to map the code in your brain
<shevy>
when I use vim I often feel like a blind man
<miso1337>
My ruby process remains after ending IRB or rails server or rspec. Anyone familiar with this issue?
<IceDragon>
:x Sorry I kinda like my Notepad* esque editors
<miso1337>
I have to manually kill it each time
<NihilistDandy>
seanstickle: If you were to recommend an APL interpreter, which would you pick? It looks like Dyalog does student licenses, for instance.
<seanstickle>
NihilistDandy: Dyalog, definitely
<seanstickle>
NihilistDandy: they're the gold standard
<seanstickle>
NihilistDandy: unless you're into hacking a bunch of insane C code to get Arthur Whitney's APL interpreter to run.
<JohnTeddy>
How can I return any hash key/value pairs that are in a hash table, only if the key(s) in that table matches a specific string?
<seanstickle>
JohnTeddy: #select
<bigmac>
has anyone tried ruby ruboto on there droid phone?
<JohnTeddy>
seanstickle: I'm using the select method, for instance I wrote a method that finds an _exact_ match like this: @entries.select { |k,v| k == searchterm }
<JohnTeddy>
Though I'm not sure how to modify that to make it if it includes...
<JohnTeddy>
So if I have keys like fiend and fish, and I make 'fi' the searchterm, it should print out both key/value pairs.
radic has joined #ruby
adeponte has quit [Ping timeout: 260 seconds]
<seanstickle>
k =~ /searchterm/
egman has quit [Ping timeout: 255 seconds]
<heftig>
k.start_with? searchterm
codezombie has joined #ruby
browndawg has joined #ruby
<heftig>
i assume you don't want it to match "hifi"
radic_ has quit [Ping timeout: 252 seconds]
wmoxam has joined #ruby
bradleyprice has joined #ruby
stevechiagozie has quit [Ping timeout: 260 seconds]
sambio has quit []
statarb3 has quit [Ping timeout: 250 seconds]
lenovodroid has joined #ruby
toekutr has quit [Read error: No route to host]
miskander has joined #ruby
duder_ has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 255 seconds]
Iuz has joined #ruby
ner0x has joined #ruby
egman has joined #ruby
joofsh has quit [Remote host closed the connection]
kayloos has joined #ruby
kumarat9pm has quit [Quit: Leaving.]
browndawg has joined #ruby
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
wildcard1 is now known as wildcard0
xAndy is now known as xandy
kumarat9pm has joined #ruby
mahmoudi_ has joined #ruby
stevechiagozie has joined #ruby
ner0x has quit [Quit: Leaving]
joeycarmello has quit [Ping timeout: 245 seconds]
NihilistDandy has joined #ruby
miskander has quit [Quit: miskander]
<JohnTeddy>
heftig: That only does it if it starts with it.
<JohnTeddy>
How can I do it if it's in there at all.
<heftig>
.include?
mercwithamouth has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
atyz has joined #ruby
DarthGandalf has quit [Remote host closed the connection]
xandy is now known as xAndy
atyz has quit [Ping timeout: 252 seconds]
jonahR has quit [Quit: jonahR]
xyzodiac has joined #ruby
stevechiagozie has quit [Ping timeout: 264 seconds]
_alejandro has quit [Remote host closed the connection]
DarthGandalf has joined #ruby
IceDragon has quit [Quit: struct Haystack bed = get_good_haystack();]
xAndy is now known as xandy
havenn has quit [Remote host closed the connection]
mercwithamouth has joined #ruby
havenn has joined #ruby
DijkstraGroupie is now known as lolcathost
crackfu_ has joined #ruby
crackfu has quit [Ping timeout: 244 seconds]
lolcathost has quit [Quit: brb!!1]
lolcathost has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
yacks has quit [Quit: Leaving]
yacks has joined #ruby
havenn has quit [Ping timeout: 245 seconds]
crackfu has joined #ruby
mockra has joined #ruby
mockra__ has quit [Ping timeout: 244 seconds]
crackfu_ has quit [Ping timeout: 255 seconds]
gnul0ver has joined #ruby
browndawg has quit [Ping timeout: 255 seconds]
havenn has joined #ruby
ChrisBolton has quit [Quit: ChrisBolton]
toekutr has joined #ruby
joeycarmello has joined #ruby
xandy is now known as xAndy
mercwithamouth has quit [Ping timeout: 260 seconds]
jekotia has quit [Quit: ChatZilla 0.9.89-rdmsoft [XULRunner 1.9.0.17/2009122204]]
Noldorin has joined #ruby
twoism has joined #ruby
x82_nicole has quit [Quit: Computer has gone to sleep.]
dougireton has quit [Quit: Leaving.]
twoism has quit [Remote host closed the connection]
stevechiagozie has joined #ruby
Guest25886 has joined #ruby
adamnbowen has joined #ruby
dmiller has quit [Remote host closed the connection]
nemesit has joined #ruby
stevechiagozie has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
sayan has quit [Read error: Connection reset by peer]
xid has quit [Read error: Connection reset by peer]
oscardelben has joined #ruby
lolcathost has quit [Quit: When I come back, please tell me in what new ways you have decided to be just as wrong!]
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
megharsh has quit [Ping timeout: 265 seconds]
dax has joined #ruby
emergion has joined #ruby
adamnbowen has quit [Quit: Computer has gone to sleep.]
havenn has quit [Ping timeout: 260 seconds]
mmitchel_ has quit [Remote host closed the connection]
emergion has quit [Client Quit]
joofsh has joined #ruby
jonahR has joined #ruby
atyz has joined #ruby
joofsh has quit [Remote host closed the connection]
JohnBat26 has joined #ruby
atyz has quit [Ping timeout: 252 seconds]
megharsh has joined #ruby
RurouniJones has joined #ruby
Coeus has quit [Ping timeout: 255 seconds]
bigmac has quit [Quit: Leaving]
mockra has quit [Remote host closed the connection]
sayan has joined #ruby
MattRb has joined #ruby
lateau has joined #ruby
mockra has joined #ruby
lateau has quit [Read error: Connection reset by peer]
dmiller has joined #ruby
Emmanuel_Chanel has quit [Quit: Leaving]
<aedorn>
anyone do desktop GUI apps for command line Ruby apps?
stevechiagozie has joined #ruby
slainer68 has joined #ruby
<aedorn>
I've been doing all our frontends with Ruby+qtbindings, but I think I've taken it as far as I could with that solution
<seanstickle>
aedorn: yup
<seanstickle>
aedorn: I use Sinatra, which I find quite nice for desktop apps.
<aedorn>
so you're just using a web browser for the frontend to communicate with Sinatra which does... whatever it does?
Asher has joined #ruby
slainer68 has quit [Ping timeout: 260 seconds]
Noldorin has quit [Quit: Computer has gone to sleep.]
<seanstickle>
Yup
<seanstickle>
I find the tooling for web development much more pleasant (and cross platform) than weirdo things like Qt
<seanstickle>
And there are always dedicated app-specific browsers if people want something like that.
joeycarmello has quit [Ping timeout: 252 seconds]
<aedorn>
app-specific browsers? which are you referring to
<JohnTeddy>
I am confused by line 81 on the rspec, what is this %Q?
sayan has quit [Read error: Connection reset by peer]
RurouniJones has quit [Remote host closed the connection]
<seanstickle>
aedorn: I just use the default browser people have.
<aedorn>
JohnTeddy: builds a string while escaping characters. %Q is interpolated, %q is not
<seanstickle>
aedorn: works like a charm
megharsh has quit [Quit: WeeChat 0.3.9.2]
mockra has quit [Remote host closed the connection]
<aedorn>
seanstickle: I don't get that luxury, unfortunately
<seanstickle>
Why not?
darthdeus has joined #ruby
<aedorn>
We have an app that does black box testing of another product. The people that run the testing can't be allowed to do anything with the system except login, logout, and interact with the interface when required. So it all has be locked down with extreme prejudice
<seanstickle>
Huh
robustus has quit [Ping timeout: 244 seconds]
<aedorn>
Which means we also manage everything about the system.. if we could lock down the cabling we would do that too, because the users can't be trusted to not mess with things they shouldn't
KOunit has joined #ruby
robustus has joined #ruby
havenn has joined #ruby
mockra has joined #ruby
<seanstickle>
Well, you could always use Peppermint Linux!
<seanstickle>
They have a nice SSB
<aedorn>
so right now we have a gui using Ruby + qtbindings, which runs off a very basic and limited X server.. they login, the app starts, and that's all they get. When they quit the app they're immediately logged out. Works great.
h4mz1d has joined #ruby
MattRb has joined #ruby
<aedorn>
The problem comes in when we have to modify the GUI.. it's a massive pain in the ass, and there's not a whole you can do with Ruby while trying to use Qt, because of how Qt will react. Even forking the test process was a chore
ecksit has quit [Quit: Gone to sleep.]
landho has quit [Read error: Connection reset by peer]
landho has joined #ruby
<aedorn>
so yeah, fun stuff. This is where you end up when you're given a ton of limitations and only a day for a solution. At least I have time again now to go back and do something more "proper"
atyz has joined #ruby
LouisGB has joined #ruby
havenn has quit [Remote host closed the connection]
havenn has joined #ruby
joeycarmello has joined #ruby
Hanmac1 is now known as Hanmac
alanjc has quit [Quit: Leaving]
MattRb has quit [Read error: No route to host]
Nisstyre-laptop has joined #ruby
kayloos has quit [Ping timeout: 260 seconds]
KOunit has left #ruby [#ruby]
havenn has quit [Ping timeout: 260 seconds]
Takehiro has quit [Remote host closed the connection]
Juul has joined #ruby
stevechiagozie has joined #ruby
mockra has quit [Remote host closed the connection]
havenn has joined #ruby
mmitchell has joined #ruby
LouisGB has quit []
ananthakumaran has joined #ruby
oscardelben has quit [Quit: oscardelben]
mmitchell has quit [Ping timeout: 244 seconds]
LouisGB has joined #ruby
stevechiagozie has quit [Ping timeout: 244 seconds]
mockra has joined #ruby
seanstickle has quit [Quit: seanstickle]
gnul0ver has quit [Quit: Leaving]
kil0byte has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
mockra has quit [Remote host closed the connection]
mockra has joined #ruby
x82_nicole has joined #ruby
Asher has quit [Quit: Leaving.]
thufir_ has joined #ruby
stevechiagozie has joined #ruby
hamed_r has joined #ruby
EyesIsServer has joined #ruby
EyesIsMine has quit [Disconnected by services]
<shevy>
hmm
<shevy>
why is File.ftype() for a symlink a "link" and not a "symlink" ?
h4mz1d has quit [Ping timeout: 260 seconds]
darthdeus has quit [Quit: Leaving...]
<aedorn>
"symlink" isn't one of string options to return
daniel_hinojosa has quit [Quit: Leaving.]
EyesIsMine has joined #ruby
IrishGringo has quit [Remote host closed the connection]
EyesIsServer has quit [Disconnected by services]
stevechiagozie has quit [Ping timeout: 265 seconds]
dawkirst has joined #ruby
emergion has joined #ruby
mockra has quit [Remote host closed the connection]
<JohnTeddy>
What is a simple way to raise an error if @calculator.value.nil? == true, on all of the 4 operators.. without repeating the same code 4 times?
stevechiagozie has joined #ruby
Juul has quit [Quit: Leaving]
<thufir_>
JohnTeddy: put it in a method, call the method?
ryanf has quit [Quit: leaving]
atyz has joined #ruby
<aedorn>
awesome. I just thought of an amazing service that requires the cloud .. and none of the cloud services can do what I want. Win.
<thufir_>
aedorn: care to let anyone else in on this insight?
Neomex has joined #ruby
Neomex has quit [Client Quit]
<aedorn>
I'm going to unify linux. mmm. yup.
x82_nicole has quit [Quit: Computer has gone to sleep.]
emergion has quit [Quit: Computer has gone to sleep.]
marr has joined #ruby
stevechiagozie has quit [Ping timeout: 265 seconds]
<aedorn>
And Ruby is going to help me do it! Of course everyone is going to think I'm crazy now, but that's okay! I have a plan!
* thufir_
chuckles
<aedorn>
I just need a cloud service that will let me compile stuff in a very specific way... hmm
emergion has joined #ruby
eldariof has quit []
emocakes has joined #ruby
<thufir_>
aedorn: I would love to have 1.) a nice IDE for ruby 2.) store and execute all code in the cloud
<charliesome>
aedorn: hm?
<charliesome>
thufir_: my http://eval.in site fulfils #2
hotovson has joined #ruby
eldariof has joined #ruby
<thufir_>
oooh, awesome, thanks charliesome
<thufir_>
does it work with git? or even github?
Takehiro has quit [Remote host closed the connection]
<charliesome>
nope and nope
<charliesome>
although it does store your code and it does execute it ;)
eldariof has quit [Client Quit]
<thufir_>
charliesome: that's big. can I get it to sync with my system, and then I run git (or send to github)?
Takehiro has joined #ruby
<charliesome>
i'm not sure what you mean
io_syl has quit [Quit: Computer has gone to sleep.]
hotovson has quit [Remote host closed the connection]
assurbanipal has quit [Quit: Leaving]
tectonic has quit [Ping timeout: 265 seconds]
hotovson_ has joined #ruby
<thufir_>
charliesome: can I ftp the code? or something like that?
<charliesome>
you can paste it in the textbox
tectonic has joined #ruby
<thufir_>
ok.
<thufir_>
charliesome: I'm stuck in text mode on ubuntu atm, but will definitely check it out. :)
mockra has joined #ruby
<Hanmac>
charliesome you are the guy i was looking for ... i have feature requests for evalin and the bot
<charliesome>
yo
<aedorn>
bleh, yeah, I'm going to have to make my own cloud. This is definitely going to slow things down
hotovson_ has quit [Read error: No route to host]
<Hanmac>
1) for the site itself, i want an option that my pastie get deleted after (1h, 1day,1month ...etc)
<Hanmac>
2) for the evalin bot, i tryed to send him messages directly, but it does not work (hm maybe this do not generate links to the evalin page but only shows the output?)
<charliesome>
ah yeah
<charliesome>
good points
skcin7 has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
jxriddle has quit [Quit: jxriddle]
elico has quit [Quit: elico]
solidresolve has quit [Read error: Connection reset by peer]
mockra has quit [Ping timeout: 252 seconds]
Takehiro has quit [Read error: Connection reset by peer]
elico has joined #ruby
ebouchut has joined #ruby
solidresolve has joined #ruby
elico has quit [Client Quit]
Takehiro has joined #ruby
generalissimo has quit [Remote host closed the connection]
ebouchut has quit [Client Quit]
Nisstyre-laptop has quit [Ping timeout: 250 seconds]
stevechiagozie has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
codezombie has quit [Ping timeout: 245 seconds]
atyz has quit [Quit: Leaving...]
RurouniJones has joined #ruby
kil0byte has quit [Remote host closed the connection]
kil0byte has joined #ruby
jxriddle has joined #ruby
JohnBat26 has quit [Ping timeout: 255 seconds]
kil0byte has quit [Read error: Connection reset by peer]
robbyoconnor has quit [Ping timeout: 265 seconds]
cirwin has joined #ruby
atyz has joined #ruby
<aedorn>
this is going to take awhile, but I think I have good idea on how to make it work. Going to use Ruby to build custom Gentoo ISOs with an installer. Choose packages you want, give it some advanced features like how it should be built and let it go to town. Given enough time I can probably do it with any base system.
stevechiagozie has quit [Ping timeout: 265 seconds]
Solnse has joined #ruby
statarb3 has joined #ruby
statarb3 has quit [Changing host]
statarb3 has joined #ruby
pskosinski has joined #ruby
<thufir_>
aedorn: that would be awesome. the gentoo installer sux. a live cd, with a ruby script to install gentoo would rock.
tommyvyo_ has joined #ruby
thufir_ has quit [Quit: Leaving.]
crackfu has quit [Remote host closed the connection]
joeycarmello has quit [Ping timeout: 260 seconds]
jessta has quit [Ping timeout: 255 seconds]
thufir_ has joined #ruby
daniel_- has joined #ruby
jessta has joined #ruby
jds has joined #ruby
atyz has quit [Quit: Leaving...]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
ghanima has quit [Quit: Leaving.]
atyz has joined #ruby
zommi has joined #ruby
dangerousdave has joined #ruby
JohnBat26 has joined #ruby
dangerousdave has quit [Client Quit]
dawkirst has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
jds has quit [Remote host closed the connection]
kil0byte has joined #ruby
kil0byte has quit [Remote host closed the connection]
tommyvyo_ has joined #ruby
adambeynon has joined #ruby
thufir_ has quit [Remote host closed the connection]
ananthakumaran has quit [Ping timeout: 252 seconds]
RurouniJones has quit [Remote host closed the connection]
yshh has joined #ruby
ananthakumaran has joined #ruby
dangerousdave has joined #ruby
dangerousdave has quit [Client Quit]
jessta has quit [Ping timeout: 250 seconds]
RurouniJones has joined #ruby
jessta has joined #ruby
ltsstar has joined #ruby
jds has joined #ruby
stevechiagozie has joined #ruby
joeycarmello has joined #ruby
JohnBat26 has quit [Ping timeout: 250 seconds]
mockra has joined #ruby
pmros has joined #ruby
vonsar has joined #ruby
banister`sleep has joined #ruby
RurouniJones has quit [Remote host closed the connection]
stevechiagozie has quit [Ping timeout: 265 seconds]
stevechiagozie has joined #ruby
dsdeiz has joined #ruby
jds has quit [Remote host closed the connection]
Hannes3 has quit [Remote host closed the connection]
danneu1 has quit [Ping timeout: 244 seconds]
Banistergalaxy has quit [Ping timeout: 260 seconds]
mockra has quit [Ping timeout: 244 seconds]
stevechiagozie has quit [Ping timeout: 255 seconds]
jessta has quit [Ping timeout: 264 seconds]
jessta has joined #ruby
lewis1711 has joined #ruby
bradleyprice has quit [Remote host closed the connection]
Takehiro has quit [Remote host closed the connection]
zommi has quit [Ping timeout: 244 seconds]
ananthakumaran1 has joined #ruby
Takehiro has joined #ruby
Virunga has joined #ruby
ananthakumaran has quit [Ping timeout: 252 seconds]
ikaros has joined #ruby
Takehiro has quit [Remote host closed the connection]
koshii has quit [Ping timeout: 265 seconds]
jxriddle has left #ruby [#ruby]
ananthakumaran has joined #ruby
ananthakumaran has quit [Max SendQ exceeded]
ananthakumaran has joined #ruby
ananthakumaran1 has quit [Ping timeout: 252 seconds]
Takehiro has joined #ruby
slainer68 has joined #ruby
Takehiro has quit [Remote host closed the connection]
pmros has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
slainer68 has quit [Ping timeout: 244 seconds]
jonahR has quit [Quit: jonahR]
Astralum has quit [Read error: Connection reset by peer]
Astralum has joined #ruby
xAndy is now known as xandy
hotovson_ has joined #ruby
robbyoconnor has quit [Ping timeout: 255 seconds]
lkba has quit [Quit: Bye]
lkba has joined #ruby
Solnse has quit [Ping timeout: 264 seconds]
hotovson_ has quit [Read error: No route to host]
havenn has quit [Remote host closed the connection]
lenovodroid has joined #ruby
mpfundstein_home has joined #ruby
yshh has quit [Remote host closed the connection]
hamed_r has quit [Ping timeout: 244 seconds]
stevechiagozie has joined #ruby
zommi has joined #ruby
jds has joined #ruby
banister`sleep has quit [Remote host closed the connection]
Takehiro has joined #ruby
mpfundstein_home has quit [Quit: leaving]
mpfundstein_home has joined #ruby
katzilla has joined #ruby
katzilla has quit [Client Quit]
robbyoconnor has joined #ruby
katzilla has joined #ruby
lenovodroid has quit [Ping timeout: 260 seconds]
Takehiro has quit [Remote host closed the connection]
pmros has joined #ruby
stevechiagozie has quit [Ping timeout: 255 seconds]
Takehiro has joined #ruby
elico has joined #ruby
katzilla has quit [Client Quit]
katzekintosh has joined #ruby
lenovodroid has joined #ruby
darthdeus has joined #ruby
staafl has quit [Quit: Leaving]
ebouchut has joined #ruby
vonsar has quit [Quit: This computer has gone to sleep]
anirudh24seven has joined #ruby
pcarrier has quit []
anirudh24seven has left #ruby [#ruby]
pcarrier has joined #ruby
robbyoconnor has quit [Ping timeout: 265 seconds]
elaptics`away is now known as elaptics
vonsar has joined #ruby
workmad3 has joined #ruby
<pmros>
so quiet...
lewis1711 has left #ruby [#ruby]
kil0byte has joined #ruby
mockra has joined #ruby
vjt has quit [Remote host closed the connection]
lenovodroid has quit [Read error: Connection reset by peer]
danneu1 has joined #ruby
cajone has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Morkel has quit [Quit: Morkel]
ChrisBolton has joined #ruby
snowflight has joined #ruby
mockra has quit [Ping timeout: 265 seconds]
lenovodroid has joined #ruby
banister`sleep has joined #ruby
tommyvyo_ has quit [Quit: Computer has gone to sleep.]
banister`sleep has quit [Remote host closed the connection]
banister`sleep has joined #ruby
slainer68 has joined #ruby
dawkirst has quit [Read error: Connection reset by peer]
tommyvyo_ has joined #ruby
Slivka has quit [Remote host closed the connection]
RurouniJones has joined #ruby
dsdeiz has quit [Ping timeout: 255 seconds]
atyz has quit [Quit: Leaving...]
dangerousdave has joined #ruby
MissionCritical has quit [Ping timeout: 255 seconds]
karakedi has quit [Ping timeout: 260 seconds]
lenovodroid has quit [Read error: Connection reset by peer]
vonsar has quit [Quit: This computer has gone to sleep]
stevechiagozie has joined #ruby
lenovodroid has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
koshii has joined #ruby
elaptics is now known as elaptics`away
francisfish has joined #ruby
jds has quit [Remote host closed the connection]
Virunga has quit [Remote host closed the connection]
vonsar has joined #ruby
pngl has joined #ruby
willob has joined #ruby
stevechiagozie has quit [Ping timeout: 264 seconds]
hamed_r has joined #ruby
lenovodroid has joined #ruby
xandy is now known as xAndy
MissionCritical has joined #ruby
lenovodroid has quit [Read error: Connection reset by peer]
lenodroid has joined #ruby
lenodroid has quit [Read error: No route to host]
workmad3 has quit [Ping timeout: 252 seconds]
xAndy is now known as xandy
vonsar has quit [Quit: This computer has gone to sleep]
resure has joined #ruby
Snuggles has joined #ruby
<resure>
Hi. I have a regular expression for spoiler-like [toggle] tag. I want to hide a few paragraphes of the text, but it groups it into few parts by "\n"
RurouniJones has quit [Remote host closed the connection]
nyuszika7h has quit [Quit: Reconnecting]
<resure>
Currently I use ([\S\s]*?) to match the text
vonsar has joined #ruby
cableray has quit [Quit: cableray]
danneu1 is now known as danneu
malte_ has joined #ruby
nyuszika7h has joined #ruby
matip has joined #ruby
<matip>
Hi
<matip>
how do you pause the execution until ANY key is pressed (not necessarily ENTER, it can be "h")?
anders__ has joined #ruby
<matip>
(I can use STDIN.getc but it needs an ENTER...)
Takehiro has quit [Remote host closed the connection]
stevechiagozie has quit [Ping timeout: 260 seconds]
x0F has quit [Disconnected by services]
x0F_ has joined #ruby
vonsar has quit [Quit: Leaving]
kumarat9pm has joined #ruby
x0F_ is now known as x0F
kumarat9pm has quit [Max SendQ exceeded]
cajone has left #ruby [#ruby]
atyz has joined #ruby
kumarat9pm has joined #ruby
kumarat9pm has quit [Max SendQ exceeded]
kjellski has joined #ruby
kumarat9pm has joined #ruby
ToTo has joined #ruby
<elico>
emocakes: if there is an option to first make sure it's not an SSL and if it's a SSL to use ssl in it
atyz has quit [Ping timeout: 250 seconds]
sayan has joined #ruby
<esdf>
Hanmac: i'm getting an error on that Hash line, parser.rb:8: syntax error, unexpected $end, expecting ')', can't really find where i'm missing to close the bracket
<esdf>
nvm, typo
ebouchut has joined #ruby
rawGem has quit [Ping timeout: 255 seconds]
<esdf>
mistyped server instead of servers
atno has quit [Remote host closed the connection]
krz has joined #ruby
kjellski has quit [Ping timeout: 260 seconds]
ikaros has quit [Quit: Ex-Chat]
sepp2k has joined #ruby
willob has quit [Quit: Leaving.]
anders__ has quit [Remote host closed the connection]
danneu has quit [Quit: WeeChat 0.3.8]
lenodroid has joined #ruby
horofox has joined #ruby
pmros has quit [Ping timeout: 252 seconds]
banisterfiend has quit [Remote host closed the connection]
eldariof has joined #ruby
mockra has joined #ruby
psycho_one has joined #ruby
pmros has joined #ruby
lepht is now known as lepht_
lepht_ is now known as lepht_away
lepht_away is now known as lepht
mockra has quit [Ping timeout: 264 seconds]
ikaros has joined #ruby
blacktulip has joined #ruby
ebouchut has quit [Quit: This computer has gone to sleep]
psycho_one has quit [Quit: Bye]
yshh has joined #ruby
landho has quit [Ping timeout: 260 seconds]
Russell^^ has joined #ruby
<iNerd>
I have a question. If i have a hash inside another hash, how do i get things out of it?
<hoelzro>
iNerd: top[:key][:key2]
hiroyuki has quit [Remote host closed the connection]
Guest10853 has quit [Remote host closed the connection]
sailias has joined #ruby
<iNerd>
So if i have something like ["hello", [{"greeting"=>"hello", "text"=>"Hello there this is some text."]
<iNerd>
it's hello[:greeting] ?
<hoelzro>
iNerd: that value is in hello?
<Hanmac>
hm no, your Array-Hash structure is broken/not-finish ...
<hoelzro>
if so, it'd be hello[1]['greeting']
<iNerd>
ah. okay.
Michael has joined #ruby
<hoelzro>
iNerd: your top level object is an Array
<hoelzro>
and you have a Hash in hello[1]
Michael is now known as Guest25657
<waxjar>
[] indicates and Array (a simple list), {} indicates a Hash (a list of key-value pairs)
<iNerd>
I think i see.
s1n4 has joined #ruby
<iNerd>
so i have a hash in an array?
<waxjar>
right now you've got a SyntaxError :P
Kuifje has joined #ruby
Kuifje has quit [Changing host]
Kuifje has joined #ruby
<iNerd>
that's not good.
<waxjar>
a hash in a hash would look like this: x = { :key => { :x => :y }, … }
snowflight has joined #ruby
<waxjar>
x[:key][:x] # => :y
<iNerd>
i think i see.
<iNerd>
i'm just trying at the moment to make a simple web page. take a list and populate some html tags with greeting and text
<iNerd>
so the page is called 'hello' say
zommi has quit [Quit: Leaving.]
michaelhf has joined #ruby
<iNerd>
and then inside it i can put the greeting and the text
willob has joined #ruby
grieve has quit []
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
lkba has quit [Ping timeout: 255 seconds]
s1n4 has quit [Quit: leaving]
arturaz has quit [Quit: Leaving]
xemu has joined #ruby
ewag has quit [Ping timeout: 265 seconds]
Bry8Star has quit [Remote host closed the connection]
Guest25657 has quit [Read error: Connection reset by peer]
ebouchut has joined #ruby
snowflight has quit [Ping timeout: 245 seconds]
joeycarmello has quit [Ping timeout: 252 seconds]
michaelhf has quit [Remote host closed the connection]
Rix has quit [Ping timeout: 260 seconds]
sirecote has quit [Remote host closed the connection]
Bry8Star has joined #ruby
Innocentus has joined #ruby
<Innocentus>
hi
samphippen has joined #ruby
<Innocentus>
so ruby is the language while rails is a web framework for this language
Rix has joined #ruby
<shevy>
yea
lepht is now known as lepht_afk
<Innocentus>
so there are also other web frameworks for ruby?
benlieb has joined #ruby
<esdf>
yeah
yshh has quit [Remote host closed the connection]
hamed_r has quit [Quit: Leaving]
jsmonkey has joined #ruby
<Innocentus>
but rails is the best web framework so far?
<Innocentus>
can ruby be compiled to a real binary?
lateau has joined #ruby
atyz has joined #ruby
<waxjar>
not really. i'm sure someone wrote a half-working project for it though.
eldariof has quit []
RurouniJones has joined #ruby
<pmros>
there is a new ruby web framework called espresso
<pmros>
it's really nice
browndawg has quit [Quit: Leaving.]
<pmros>
you can compile ruby to bytecode with rubinius and jruby
atyz has quit [Ping timeout: 252 seconds]
koshii has quit [Ping timeout: 260 seconds]
gener1c has quit [Ping timeout: 252 seconds]
lenodroid has quit [Ping timeout: 255 seconds]
workmad3 has joined #ruby
lenodroid has joined #ruby
alexwh has quit [Disconnected by services]
<esdf>
Innocentus: you can use eruby as well
hiroyuki has joined #ruby
alexwh has joined #ruby
Astralum has quit [Ping timeout: 250 seconds]
alexwh is now known as Guest42233
Guest931 is now known as alexwh
<Innocentus>
How fast is ruby? And what do you think about PHP?
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
stevechiagozie has joined #ruby
lateau has quit [Ping timeout: 265 seconds]
sayan has quit [Read error: Connection reset by peer]
lateau has joined #ruby
pcarrier has quit []
joeycarmello has joined #ruby
Takehiro has quit [Remote host closed the connection]
<pmros>
PHP is ugly, imho
willob has quit [Quit: Leaving.]
kirun has joined #ruby
ryez has quit [Quit: Leaving.]
Michael has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
Michael is now known as Guest3756
<iNerd>
don't you think asking about language preferences in a specific language irc channel is going to only get you one answer?
<pmros>
lol
<iNerd>
you ask in here it'll be ruby, in python it'll be python etc.
mockra has joined #ruby
<pmros>
I even prefer python than php
stevechiagozie has quit [Ping timeout: 252 seconds]
ebouchut has quit [Quit: This computer has gone to sleep]
<esdf>
so, p array.first shows the first element in array, is there a way for me to manipulate that element, e.g. just to print out a part of it, and not the whole element?
<esdf>
pmros: if you mean if i tried p array.first.host_name, yes
<esdf>
and that breaks
<pmros>
sure
superfluous has joined #ruby
<pmros>
bye!
<superfluous>
hi!
<esdf>
hi
<esdf>
pmros: so yeah, no idea how to fix that?
<esdf>
make it work*
<superfluous>
mind if I hang around and ask stupid questions?
<esdf>
doubt I can answer any :D
pmros has quit [Quit: Konversation terminated!]
tenmilestereo has joined #ruby
<superfluous>
I basically just started doing anything in ruby at all; coming from a mainly obj-c/java background
pskosinski has quit [Quit: Learn Life's Little Lessons]
<superfluous>
so I'm putting together a cute little project for myself; so I figured I'd begin with tests, as I guess ruby people are oft to do
jfl0wers has joined #ruby
Banistergalaxy has joined #ruby
elico has quit [Remote host closed the connection]
<superfluous>
Is there any good way to set certain 'require paths'? Like, if I'm making a Player class, i'd like to do "require 'player'" instead of require_relative (which could change if/when I move things)
<superfluous>
(using minitest, because it seems straightforward and simple, and built-in)
wargasm has joined #ruby
<esdf>
can't help really :D new myself
<waxjar>
superfluous: run ruby with a -I flag
nari has joined #ruby
skaczor has joined #ruby
<Hanmac>
superfluous: not play with require paths when you dont know what you do, otherwise you could open loopholes
hiroyuki has quit [Remote host closed the connection]
medik_ has quit [Quit: medik_ has no reason]
Jasko has quit [Read error: Connection reset by peer]
RurouniJones has quit [Remote host closed the connection]
Jasko has joined #ruby
<superfluous>
Hanmac: so what would your suggestion be?
<superfluous>
waxjar: wow, i didn't even realize that existed, sounds pretty useful
atyz has joined #ruby
<esdf>
anyone here played with zenity btw?
lateau has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
skaczor has left #ruby ["Konversation terminated!"]
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
skaczor has joined #ruby
landho has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
stevechiagozie has joined #ruby
thone_ has joined #ruby
lateau has quit [Remote host closed the connection]
Takehiro has joined #ruby
thone has quit [Ping timeout: 245 seconds]
xAndy is now known as xandy
stevechiagozie has quit [Ping timeout: 250 seconds]
moos3 has joined #ruby
Markvilla has joined #ruby
kil0byte has quit [Remote host closed the connection]
Neomex has joined #ruby
pskosinski_ has joined #ruby
horofox has quit [Quit: horofox]
pskosinski_ is now known as pskosinski
Hanmac has quit [Quit: Leaving.]
Guest35972 has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
Virunga has quit [Remote host closed the connection]
lateau` has joined #ruby
Takehiro has quit [Ping timeout: 255 seconds]
browndawg has joined #ruby
Astral_ has joined #ruby
lateau` has quit [Remote host closed the connection]
workmad3 has joined #ruby
mmitchell has joined #ruby
apacala has joined #ruby
sayan has joined #ruby
Guest9041 has quit [Remote host closed the connection]
Virunga has joined #ruby
lateau has joined #ruby
Guest9041 has joined #ruby
lateau has quit [Remote host closed the connection]
Umren has joined #ruby
lateau has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
yshh has joined #ruby
mmitchell has quit [Remote host closed the connection]
gyre007 has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
lateau has quit [Remote host closed the connection]
pcarrier has joined #ruby
lateau has joined #ruby
sie has quit [Ping timeout: 260 seconds]
yshh has quit [Ping timeout: 255 seconds]
joeycarmello has quit [Ping timeout: 245 seconds]
jcrocetta has joined #ruby
kil0byte has joined #ruby
mockra has joined #ruby
krz has quit [Quit: krz]
hiroyuki has joined #ruby
jds has joined #ruby
koshii has joined #ruby
lateau has quit [Remote host closed the connection]
lateau has joined #ruby
mockra has quit [Ping timeout: 245 seconds]
Pip has joined #ruby
hotovson has quit [Remote host closed the connection]
<Pip>
Hien, is gem integrated into ruby?
<Pip>
I mean RubyGem
pskosinski has quit [Quit: Learn Life's Little Lessons]
<Hanmac>
Pip in the current ruby yes, in outdated no
Banistergalaxy has quit [Ping timeout: 255 seconds]
Takehiro has quit [Ping timeout: 264 seconds]
Takehiro has joined #ruby
koshii has quit [Ping timeout: 265 seconds]
Takehiro has quit [Read error: No route to host]
lenodroid has quit [Remote host closed the connection]
Takehiro has joined #ruby
moos3 has quit [Quit: Computer has gone to sleep.]
postmodern has quit [Quit: Leaving]
jds has quit [Remote host closed the connection]
stevechiagozie has quit [Ping timeout: 260 seconds]
horofox has joined #ruby
superfluous has quit [Remote host closed the connection]
arturaz has joined #ruby
joofsh has joined #ruby
robbyoconnor has joined #ruby
joeycarmello has joined #ruby
banisterfiend has joined #ruby
mercwithamouth has joined #ruby
eldariof has joined #ruby
alexspeller has joined #ruby
ToTo has quit [Ping timeout: 255 seconds]
io_syl has joined #ruby
webclectic has joined #ruby
Neomex has quit [Quit: Neomex]
sie has joined #ruby
kumarat9pm1 has joined #ruby
kumarat9pm1 has quit [Max SendQ exceeded]
seanstickle has joined #ruby
banisterfiend has quit [Remote host closed the connection]
Yarou has quit [Ping timeout: 250 seconds]
kumarat9pm has quit [Ping timeout: 252 seconds]
jonahR has joined #ruby
Astral_ has quit [Ping timeout: 260 seconds]
wildcard0 has quit [Ping timeout: 265 seconds]
atyz has quit [Ping timeout: 264 seconds]
wildcard0 has joined #ruby
Noldorin has joined #ruby
masterkaen has joined #ruby
kaen has quit [Disconnected by services]
masterkaen is now known as kaen
esdf has quit [Quit: leaving]
ebouchut has joined #ruby
track7 has quit [Read error: Connection reset by peer]
sepp2k1 has joined #ruby
webclectic has quit [Quit: leaving]
sepp2k has quit [Ping timeout: 244 seconds]
track7 has joined #ruby
atyz has joined #ruby
dagnachew has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
ikaros has quit [Quit: Ex-Chat]
xyzodiac has joined #ruby
jsmonkey has quit [Quit: Lost terminal]
stevechiagozie has joined #ruby
robbyoconnor has joined #ruby
Chryson has joined #ruby
banisterfiend has joined #ruby
<pskosinski>
I heard here that storing a lot of instance variables is bad and that it's better to use hash. Any explanation why?
ikaros has joined #ruby
<pskosinski>
And is ~20 a lot? ^^
snorkdude has joined #ruby
webclectic has joined #ruby
<seanstickle>
Nope.
crackfu has joined #ruby
<seanstickle>
Depends on your situation, like most things like this.
<snorkdude>
Can anyone point me to a tutorial or reference on how to write a Ruby wrapper for an API that uses OAuth for authentication?
emocakes has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Ping timeout: 255 seconds]
ChrisBolton has joined #ruby
<pskosinski>
seanstickle: Well… for me it doesn't matter, imho, if I will have one instance variable being hash or more variables instead of hash… But I was reading here soemthing like this and can't find any useful link, why sometimes hash can be better. :(
<snorkdude>
Nvm figured it out, dumb q.
robbyoconnor has joined #ruby
ChrisBolton has quit [Client Quit]
atyz has quit [Quit: Leaving...]
ebouchut has quit [Quit: This computer has gone to sleep]
<pskosinski>
So I guess that there was a good reason… ok.
nwertman has quit [Ping timeout: 255 seconds]
webclectic has left #ruby ["WeeChat 0.3.5"]
johnmilton has joined #ruby
<shevy>
pskosinski complexity is an issue - if you can get away without having to use an instance variable, it is often better to do so
<Mon_Ouie>
pskosinski: There are reasons you could prefer a hash, e.g. not having a fixed set of attributes or often needing to access an attribute whose name is stored in a string
mmitchell has quit [Ping timeout: 244 seconds]
mockra has quit [Ping timeout: 264 seconds]
jds has joined #ruby
slainer68 has quit [Remote host closed the connection]
ebouchut has joined #ruby
<pskosinski>
shevy, Mon_Ouie: thanks :)
joofsh has quit [Remote host closed the connection]
dagnachew has quit [Remote host closed the connection]
Pip has left #ruby ["Leaving"]
<snorkdude>
Will a ruby wrapper for OAuth work with OAuth2?
miskander has quit [Quit: miskander]
KOunit has joined #ruby
<KOunit>
guys, what's the method form of division operator?
<Mon_Ouie>
3./(4) ?
<Mon_Ouie>
(Funny thing I noticed: when I type random stuff in a REPL to see if it works, 3 is the first thing I try. Always.)
<Mon_Ouie>
I think he should make it output the result of the evaluated expression, that's what we're looking for more often than the actual output of the program
wargasm has quit [Ping timeout: 244 seconds]
joofsh has joined #ruby
Snuggles has joined #ruby
<banisterfiend>
>> puts "<Mon_Ouie> 'alut everybody, the royal tart-toter has arrived"
<eval-in>
banisterfiend: Output: "<Mon_Ouie> 'alut everybody, the royal tart-toter has arrived\n" (http://eval.in/5622)
KOunit has left #ruby [#ruby]
lawliet has quit [Read error: Operation timed out]
Astral has joined #ruby
miskander has joined #ruby
Astral is now known as Guest23408
koshii has quit [Ping timeout: 245 seconds]
kil0byte has quit [Remote host closed the connection]
apacala has quit [Remote host closed the connection]
nwertman has joined #ruby
horofox has quit [Quit: horofox]
Snuggles has quit [Ping timeout: 260 seconds]
elaptics`away is now known as elaptics
joeycarmello has quit [Ping timeout: 245 seconds]
DatumDrop has joined #ruby
nwertman has quit [Ping timeout: 252 seconds]
pskosinski has quit [Quit: Learn Life's Little Lessons]
lazyPower has joined #ruby
cj3kim has quit [Ping timeout: 276 seconds]
dagnachew has joined #ruby
pskosinski has joined #ruby
dagnachew has quit [Remote host closed the connection]
spacemud has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
pskosinski is now known as pskrib
kil0byte has joined #ruby
pskrib is now known as pskosinski
spacemud has quit [Client Quit]
joofsh has quit [Remote host closed the connection]
reuf has joined #ruby
joofsh has joined #ruby
jaygen has joined #ruby
andrew_ has joined #ruby
andrew_ is now known as andrewhl
atyz has joined #ruby
<shevy>
man
<shevy>
a 17 lines of code method just replaced a class with 100 lines of code... not equal functionality, but a lot easier to understand
spacemud has joined #ruby
<matti>
shevy:
Slivka has joined #ruby
<seanstickle>
Nice job shevy
<seanstickle>
I just tried my hand at using the Doctrine ORM in PHP. I am pretty sure that 2 lines or Ruby can replace 200 lines of that PHP.
<whitequark>
matti: why did you reply with an empty message?
<whitequark>
for some reason I'm seeing this all over the freenode
cableray has joined #ruby
<shevy>
ack... PHP
<Hanmac>
i just read "2lines of Ruby can replace Doctrine"
<matti>
whitequark: shevy will understand.
<matti>
;]
<matti>
shevy: Am I right? ;]
<shevy>
yeah
wermel has joined #ruby
<matti>
:>
<matti>
shevy: Go learn some golang ;] It is fun ;]
joeycarmello has joined #ruby
<seanstickle>
shevy: I had to consider using only PHP at work
Jasko has quit [Read error: Connection reset by peer]
<seanstickle>
shevy: it was … distressing
Jasko has joined #ruby
<shevy>
matti hmm the problem with go is... I always wonder whether I really need it... why not C or Java instead?
jds has quit [Remote host closed the connection]
matip has joined #ruby
<seanstickle>
Hanmac: more or less :)
atyz has quit [Quit: Leaving...]
<matip>
is it possible to use Curses so I can capture any key but in normal screen instead of full screen?
_cheney2 has quit [Ping timeout: 260 seconds]
<matti>
shevy: Java sucks donkey balls.
<matti>
shevy: Everything touching Java is always bad.
<Hanmac>
okay its more ... its two and a half line
<matti>
shevy: And surrounded in a gazillion bash scripts.
<whitequark>
Haskell is nice to learn, but you must be quite insane to actually use it for systems or application programming
<shevy>
hehe
<shevy>
the madness monad
<whitequark>
(it does offer very real benefits when solving a small class of problems. but that's it.)
CaptainJet has joined #ruby
<seanstickle>
whitequark: being called insane does not exactly persuade me
<seanstickle>
Your rhetorical skills are somewhat lacking there.
lkba has joined #ruby
<seanstickle>
Anyways, I use APL. What effect does being called insane have on me?
<seanstickle>
:D
<whitequark>
to elaborate: if 80% of your work is caring about order and type of side effects, using a language which tries to avoid side effects is not a wise decision
<whitequark>
oh, APL
LouisGB has quit [Ping timeout: 244 seconds]
Takehiro has joined #ruby
Markvilla has quit [Read error: Connection reset by peer]
jgrevich has joined #ruby
<whitequark>
besides, why can't I write unary & whenever I want?
<whitequark>
{ if: &:present? }, for example
<whitequark>
(that would translate to :present?.to_proc
<whitequark>
)
marco has joined #ruby
Markvilla has joined #ruby
marco is now known as Marco
Noldorin has quit [Quit: Computer has gone to sleep.]
ltsstar has quit [Quit: ltsstar]
rakl has joined #ruby
jrajav has joined #ruby
ToTo has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
Takehiro has quit [Remote host closed the connection]
justincampbell has joined #ruby
hoelzro|away is now known as hoelzro
ToTo has quit [Ping timeout: 250 seconds]
hotovson has joined #ruby
x82_nicole has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
Hanmac has joined #ruby
Goles has joined #ruby
spacemud has joined #ruby
hotovson has quit [Read error: No route to host]
ebouchut has quit [Quit: This computer has gone to sleep]
eldariof has quit []
horofox has joined #ruby
spacemud has quit [Changing host]
spacemud has joined #ruby
hotovson_ has joined #ruby
eldariof has joined #ruby
jrajav has quit [Quit: I tend to be neutral about apples]
king313 has joined #ruby
king313 has quit [Changing host]
king313 has joined #ruby
hotovson_ has quit [Read error: No route to host]
whowantstolivef2 has joined #ruby
dmiller has quit [Remote host closed the connection]
kiyoura has joined #ruby
<Mon_Ouie>
Because then foo(&:far) would be ambiguous
<Mon_Ouie>
It could be understood as foo(:far.to_proc), which is very different from what it currently does
LyonJT has quit [Quit: Leaving...]
pwelch has joined #ruby
<whitequark>
Mon_Ouie: oh, right. thanks.
workmad3 has joined #ruby
mercwithamouth has quit [Ping timeout: 260 seconds]
ltsstar has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
horofox has quit [Quit: horofox]
LucidDreamZzZ has quit [Ping timeout: 276 seconds]
joofsh has quit [Remote host closed the connection]
atyz has joined #ruby
LucidDreamZzZ has joined #ruby
marr has quit [Ping timeout: 265 seconds]
joeycarmello has quit [Ping timeout: 260 seconds]
wargasm has joined #ruby
egman has joined #ruby
atyz has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 260 seconds]
sayan has quit [Quit: Leaving]
<benlieb>
anyone help with this: unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for lib/bundler/vendor/thor/invocation.rb, skipping
<benlieb>
trying to install bundler
dr_neek has quit [Quit: dr_neek]
jds has joined #ruby
eldariof has quit []
jds has quit [Ping timeout: 245 seconds]
sepp2k1 has quit [Ping timeout: 265 seconds]
Takehiro has joined #ruby
eldariof has joined #ruby
Guest23408 has quit [Quit: Leaving]
eldariof has quit [Client Quit]
vlad_starkov has joined #ruby
pmros has joined #ruby
hotovson has joined #ruby
Astral has joined #ruby
Astral is now known as Astralum
pwelch has quit [Quit: pwelch]
eldariof has joined #ruby
Takehiro has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
mockra has quit [Remote host closed the connection]
horofox has joined #ruby
seanstickle has quit [Quit: seanstickle]
hotovson has quit [Read error: No route to host]
eldariof has quit [Client Quit]
crackfu has quit [Ping timeout: 244 seconds]
crackfu has joined #ruby
cor3ngine has quit [Quit: leaving]
freakazoid0223 has joined #ruby
stevechiagozie has quit [Quit: leaving]
vlad_starkov has quit [Ping timeout: 260 seconds]
eldariof has joined #ruby
Hanmac has joined #ruby
wf2f has quit []
crackfu_ has joined #ruby
mercwithamouth has joined #ruby
joeycarmello has joined #ruby
sepp2k has joined #ruby
crackfu has quit [Ping timeout: 255 seconds]
workmad3 has quit [Read error: Operation timed out]
nemesit has quit [Read error: Connection reset by peer]
snorkdude has joined #ruby
nemesit has joined #ruby
joofsh has joined #ruby
otherj has joined #ruby
nimred has joined #ruby
yacks has quit [Quit: Leaving]
mfridh has joined #ruby
tr4656 has joined #ruby
Diger_s has joined #ruby
DatumDrop has joined #ruby
vlad_starkov has joined #ruby
generalissimo has joined #ruby
miskander has quit [Quit: miskander]
emsilva has quit [Quit: Computer has gone to sleep.]
nemesit|osx has joined #ruby
sorbo_ has joined #ruby
mfridh has quit [Changing host]
mfridh has joined #ruby
generalissimo has quit [Remote host closed the connection]
DatumDrop has quit [Ping timeout: 260 seconds]
wallerdev has joined #ruby
ner0x has joined #ruby
wermel has quit [Remote host closed the connection]
joeycarmello has joined #ruby
nemesit|osx has quit [Client Quit]
nemesit|osx has joined #ruby
jds has quit [Remote host closed the connection]
nemesit has quit [Ping timeout: 255 seconds]
nemesit|osx has quit [Client Quit]
nemesit has joined #ruby
kaen has quit [Ping timeout: 244 seconds]
JohnBat26 has quit [Ping timeout: 252 seconds]
<matip>
require 'curses' \n puts 'Press any key to continue...' \n Curses.getch \n puts 'yay!'
<matip>
isn't it possible to do that without activating "full screen" in curses?
lawliet has joined #ruby
Asher has quit [Quit: Leaving.]
shammancer has quit [Quit: Leaving.]
arturaz has joined #ruby
<Mon_Ouie>
I don't really know how curses works, but I know you can easily do it with io/console
<Mon_Ouie>
Just replacing Curses.getch with $stdin.getch
<lupine>
"easily"
<lupine>
console IO is hard(tm)
<banisterfiend>
Mon_Ouie: I'll pay you $100 if you write a kick-ass curses front-end for pry
<banisterfiend>
where the definition of 'kick-ass' lies with me ;)
moos3 has quit [Quit: Computer has gone to sleep.]
shammancer has joined #ruby
<Mon_Ouie>
lupine: s/Curses/$stdin/ sounds easy enough to me :p
moos3 has joined #ruby
<Mon_Ouie>
Oh he left
<matip>
...it's not the same
<Mon_Ouie>
Oh, never mind
<matip>
curses allows you to capture chars without the input buffer
<matip>
ie, you don't have to press enter
<Mon_Ouie>
matip: $stdin.getch does that to
<matip>
what!?
<matip>
let me check
<Mon_Ouie>
That's *not* $stdin.getc
<Mon_Ouie>
And you need require 'io/console'
<matip>
OMG
<matip>
-.
<matip>
-.-
<matip>
ok, thanks :P
r0bby has joined #ruby
Beoran_ has joined #ruby
snorkdude has quit [Quit: snorkdude]
robbyoconnor has quit [Ping timeout: 252 seconds]
lawliet is now known as beyondbirthday
Beoran__ has quit [Ping timeout: 255 seconds]
mpfundstein_home has quit [Remote host closed the connection]
mpfundstein_home has joined #ruby
sn0wb1rd has quit [Quit: I will be right back]
Noldorin has joined #ruby
mjolk has joined #ruby
jduan1981 has quit [Quit: jduan1981]
Jasko has quit [Read error: Connection reset by peer]
Jasko has joined #ruby
baphled has joined #ruby
kaen has joined #ruby
joeycarmello has quit [Remote host closed the connection]
joeycarmello has joined #ruby
r0bby is now known as robbyoconnor
otherj has quit [Quit: otherj]
fowl has joined #ruby
benlieb has quit [Quit: benlieb]
nemesit has quit [Remote host closed the connection]
Guest25886 has quit [Quit: Guest25886]
workmad3 has quit [Ping timeout: 252 seconds]
lazyPower has quit [Remote host closed the connection]
generalissimo has joined #ruby
nemesit has joined #ruby
havenn has joined #ruby
Umren has quit [Read error: Connection reset by peer]
sn0wb1rd has joined #ruby
punkrawkR has joined #ruby
dan_ has joined #ruby
otters has quit [Ping timeout: 252 seconds]
gyre007 has joined #ruby
<aedorn>
I dont' know why I torture myself like this. Perhaps I'm a masochist ... trying to make a system package manager using Ruby to replace portage and entropy - because I thought it'd be fun. It's not fun.
<pasties>
aedorn: heheh there is a reason it took so long to make half decent package managers and even now there are problems with the majority of them
moos3 has quit [Quit: Computer has gone to sleep.]
Jasko has quit [Read error: Connection reset by peer]
danneu has joined #ruby
Jasko has joined #ruby
joofsh has quit [Remote host closed the connection]
gyre007 has quit [Ping timeout: 276 seconds]
<aedorn>
Yeah.. that's why I'm trying to write one that will replace those two... and then I want to add features to replace aptitude, dpkg, rpm, yum ..etc.. make the syntax the same across all distributions without rewriting their architecture. Yup. Not fun.
nomenkun has joined #ruby
kokainepizza has joined #ruby
<aedorn>
maybe I'll write something in Fortran instead..I'd get less of a migraine
generalissimo has quit [Remote host closed the connection]
<waxjar>
look at home-brew i guess, its written in Ruby i believe
daniel_hinojosa has joined #ruby
daniel_- has joined #ruby
<fowl>
murry new yurrs errbody
cableray has joined #ruby
<aedorn>
yay, happy early new years
nomenkun has quit [Ping timeout: 260 seconds]
danneu has quit [Ping timeout: 264 seconds]
Noldorin has quit [Quit: Computer has gone to sleep.]
atyz has joined #ruby
daniel_- has quit [Ping timeout: 251 seconds]
<shevy>
aedorn wow
<aedorn>
shevy: hmm?
<shevy>
aedorn replacing portage is a lot of work
<aedorn>
yes... yes it is
<pasties>
aedorn: Do you understand the problem space covered by each of those tools you intend to replace? They'are all slightly different
<shevy>
I have 2365 individual yaml files describing programs so far
jduan1981 has joined #ruby
otters has joined #ruby
<shevy>
aedorn from that point on, it should be easy to generate packages in other formats
<shevy>
one just has to edit the yaml file, then generate the various formats
atyz has quit [Ping timeout: 252 seconds]
h4mz1d has joined #ruby
<shevy>
hmm that reminds me, I need to distribute those yaml files too ...
<aedorn>
pasties: That's why I only want to replace the front end for doing it, and leave the architecture intact. The idea is to unify the most used features of all package managers, to retain syntax. It's part of a bigger project so it has to be done =\
danneu has joined #ruby
<shevy>
:)
<pasties>
aedorn: have you looked at how chef has handled that frontend? It's pretty reliable and already ruby
beyondbirthday has quit [Quit: beyondbirthday]
jds has joined #ruby
morf has joined #ruby
snorkdude has joined #ruby
<aedorn>
pasties: I've been looking at it just recently, same with puppet. For my specific current issue they won't work, but maybe once past a certain point they will
arturaz has quit [Remote host closed the connection]
elliottcable is now known as nunoit
ner0x has quit [Quit: Leaving]
jds has quit [Ping timeout: 276 seconds]
daniel_- has joined #ruby
Nisstyre-laptop has joined #ruby
otherj has joined #ruby
<aedorn>
of course, it could be I'm thinking too complicated about it and by the end of next month I'll realize it. I've had that happen many times lol
cajone has joined #ruby
miskander has joined #ruby
jfl0wers has joined #ruby
kiyoura` has joined #ruby
ap4y has joined #ruby
nunoit is now known as elliottcable
ap4y has quit [Remote host closed the connection]
Jasko has quit [Read error: Connection reset by peer]
kiyoura has quit [Ping timeout: 260 seconds]
Jasko has joined #ruby
Goles has quit [Quit: Out.]
atno_ has joined #ruby
Goles has joined #ruby
atno_ is now known as atno
atno has left #ruby [#ruby]
atno has joined #ruby
atno has quit [Client Quit]
bradleyprice has joined #ruby
katherinem13 has quit [Quit: katherinem13]
atno has joined #ruby
katherinem13 has joined #ruby
hotovson has joined #ruby
ap4y has joined #ruby
emocakes has joined #ruby
<shevy>
aedorn well
<shevy>
if all you want is to generate packages for other distributions, then this is a solvable problem
<shevy>
it just takes enough time to write the code
<shevy>
you need to include all the core functionality that distributions offer... archlinux pkgbuild files rely on shell syntax, and patches
hotovson has quit [Ping timeout: 260 seconds]
jfl0wers has quit [Ping timeout: 260 seconds]
benlieb has joined #ruby
Noldorin has joined #ruby
kennyvb has quit [Ping timeout: 245 seconds]
michaelmartinez has joined #ruby
hotovson has joined #ruby
kennyvb has joined #ruby
uris has joined #ruby
_br_ has quit [Excess Flood]
hotovson has quit [Ping timeout: 260 seconds]
seanstickle has joined #ruby
_br_ has joined #ruby
blacktulip has quit [Remote host closed the connection]