apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
aspiers has joined #ruby
jespada has quit [Quit: WeeChat 1.1.1]
iliketurtles has quit [Quit: zzzzz…..]
<havenwood> saadq: Glancing at it I don't see anything that would change your shell or prompt. Check your current shell?: echo $SHELL
<bootstrappm> that was a long link saadq. You're lucky I just ate a cookie or I'd insist you send me one via mail for scrolling that much
<saadq> sorry guys lol
<saadq> and it says /bin/zsh
veduardo has quit [Ping timeout: 272 seconds]
<havenwood> saadq: You must have switch to zsh apart from the tutorial.
<bootstrappm> does it only happen when you're in a folder that has a rails app saadq?
swgillespie has joined #ruby
<bootstrappm> try exit and see if it jumps back to bash
einarj has quit [Ping timeout: 264 seconds]
lidenskap has quit [Remote host closed the connection]
<saadq> yeah bootstrappm ive tried that it always looks like that when i reopen
<bootstrappm> okay, check /etc/passwd and look for your username
kenneth has quit [Read error: Connection reset by peer]
<bootstrappm> `cat /etc/passwd | grep <your-username>`
<bootstrappm> whats the end of that line say
<mwlang> saadq: I’m betting somewhere you followed some guide on installing rvm and ruby that had instructions for installing the zsh shell
reinaldob has joined #ruby
<bootstrappm> ^ me too
kenneth has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ortuna has quit [Quit: WeeChat 1.1.1]
sevenseacat has joined #ruby
deimos has quit []
deimos has joined #ruby
<saadq> bootstrappm: when i type cat /etc/passwd | grep <your-username> i got "zsh: parse error near '\n'
<bootstrappm> did you replace <your-username> with your username?
einarj has joined #ruby
<saadq> i dont believe so but idk :/
<saadq> doesnt work with username either
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
<bootstrappm> saadq I mean the username on your Mac OS X
<bootstrappm> whats the output of `whoami`
<bootstrappm> ?
<saadq> oh its my name
RegulationD has joined #ruby
<shevy> :D
<saadq> oh lol was i supposed to use that
babykosh has joined #ruby
<bootstrappm> then the line would be `cat /etc/passwd | grep saadq` or whatever hahah
kenneth has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
<bootstrappm> I've heard zsh is actually amazing but I don't know how to use it
<bootstrappm> gotta read up on it sometime
reinaldob has quit [Remote host closed the connection]
cirn0 has quit [Remote host closed the connection]
kenneth has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
<saadq> ok now when i type it in nothing happens ._.
mase-chatter has joined #ruby
<bootstrappm> hm
<bootstrappm> probably some Mac OS X specific thing: http://superuser.com/questions/191330/users-in-etc-passwd-on-mac-os-x
cirn0_ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 276 seconds]
tubuliferous_ has quit [Ping timeout: 272 seconds]
crack_user has joined #ruby
reinaldob has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
reinaldob has quit [Remote host closed the connection]
woodruffw has quit [Remote host closed the connection]
reinaldob has joined #ruby
Shidash_ has quit [Ping timeout: 265 seconds]
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
woodruffw has joined #ruby
<bootstrappm> sorry saadq. If you have a .bash_history, .zhistory or .zsh_history in your home folder put those in a gist and send them our way
reinaldob has joined #ruby
einarj has joined #ruby
reinaldob has quit [Remote host closed the connection]
ismaelga has joined #ruby
<Aeyrix> OS X user here
<Aeyrix> what's the problem?
<shevy> OSX
<havenwood> shevy: :P
<Aeyrix> bootstrappm saadq
<Aeyrix> shevy: WOW SHOTS FIRED
<shevy> havenwood it was too good to refuse!
<havenwood> saadq: What are you trying to do at this point?
baweaver has quit [Remote host closed the connection]
<mwlang> uhhh… saadq’s shell is .zsh…it’s in the title of the window of the screenshot he posted.
<Aeyrix> shevy: That was actually pretty good tbh.
<saadq> Aeyrix: I kind of messed up my terminal when I was trying to install Ruby/Rails not exactly sure what I did
<shevy> well I can't throw the first stone
reinaldob has joined #ruby
<Aeyrix> saadq: Can you relink that image?
<shevy> I just came back to IRC... while I am waiting to compile gtk2 ... on linux ... and then I will compile more ... :(
reinaldob has quit [Remote host closed the connection]
<Aeyrix> I come and go a lot so I miss things.
<havenwood> bootstrappm: if you opt for zsh i'd skip oh-my-zsh and choose the settings that suit you with the configuration utility: autoload -U zsh-newuser-install && zsh-newuser-install -f
<Aeyrix> shevy: Ah yes, compiling on Linux. ;)
<saadq> basically it switched to zsh and it says the latest version of ruby instead of my name now
<shevy> Aeyrix yeah, right now I watch kde konsole tabs scroll by compile messages... that thing is damn boring to read
reinaldob has joined #ruby
<havenwood> saadq: Do you want to use bash or zsh?
reinaldob has quit [Remote host closed the connection]
<saadq> bash
<havenwood> saadq: Then switch it back.
xjstin has quit [Ping timeout: 252 seconds]
<Aeyrix> saadq: `echo $PS1` | curl -F "sprunge=<-" http://sprunge.us/
reinaldob has joined #ruby
<Aeyrix> Paste that, give me URL.
reinaldob has quit [Remote host closed the connection]
<Aeyrix> inb4 zsh doesn't use PS1
<shevy> saadq I also use bash! \o/ zsh was good but too complex for my small brain
<Aeyrix> inb4 using zsh on OS X
<bootstrappm> hahah we we're trying to figure out how he got where he's at
Shidash has joined #ruby
<bootstrappm> hence the bash / zsh history
<mwlang> saadq: run “uninstall_oh_my_zsh"
reinaldob has joined #ruby
<Aeyrix> Ruby doesn't install oh_my_zsh on OS X.
<bootstrappm> because at some point something changed his shell to zsh and changed his prompt to be rails friendly
reinaldob has quit [Remote host closed the connection]
<havenwood> saadq: First check Terminal.app > Terminal > Preferences > General > Shells open with, is it "Default login shell" or custom?
<Aeyrix> ... Yeah bootstrappm's got it right with the bash history then.
<saadq> haha im trying to keep up with all of you
veduardo has joined #ruby
<Aeyrix> saadq: Just do what I listed, then what havenwood listed.
<Aeyrix> In that order because mine's faster.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
danman has quit [Quit: danman]
<Aeyrix> And havenwood probably has the right answer anyway, I just go needlessly complex with my solutions to just about anything.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<saadq> zsh: command not found: %{%F{166}%}[%~]
<saadq> Aeyrix: it said
<Aeyrix> ... saadq, what happens if you press CTRL+D?
juanpaucar has quit [Remote host closed the connection]
<shevy> now that is a funny command
<shevy> %{%F{166}%}[%~]
<Aeyrix> Does it say "process terminated"?
reinaldob has joined #ruby
<Aeyrix> If so, listen to havenwood. If not, lol welcome back to bash.
michael_mbp has quit [Excess Flood]
reinaldob has quit [Remote host closed the connection]
<zenspider> HTTP/1.1 405 Method Not Allowed
<zenspider> haven't seen one of those in a while...
<Aeyrix> Whoa.
<saadq> Aeyrix: ctrl+d just closes it lol
<Aeyrix> zenspider: On what?
reinaldob has joined #ruby
<Aeyrix> saadq: Okay, do what havenwood suggested. Go Terminal -> Preferences -> Profiles
reinaldob has quit [Remote host closed the connection]
<Aeyrix> Then the 'Shells' tag.
<Aeyrix> tab, even.
<demophoon> or run `chsh -s /bin/bash`
<Aeyrix> demophoon: I'm more interested in what's set as well.
reinaldob has joined #ruby
michaeldeol has quit [Ping timeout: 250 seconds]
<demophoon> echo $SHELL
reinaldob has quit [Remote host closed the connection]
<Aeyrix> Because `brew install ruby` doesn't install zsh.
<Aeyrix> That was tried, wasn't it?
<havenwood> demophoon: /bin/zsh
<Aeyrix> I kind of assumed it was, given that we were offering GUI suggestions when I got here.
reinaldob has joined #ruby
<saadq> ok I'm in Terminal/Preferences/Profile
<Aeyrix> Why is FF using 1.3GB of memory for one tab
reinaldob has quit [Remote host closed the connection]
<shevy> Aeyrix are you watching something naughty
<havenwood> saadq: General tab
<mwlang> Aeyrix: because it can.
<havenwood> saadq: Shells open with:
<havenwood> saadq: Default or Custom?
__chris has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<mwlang> Aeyrix: probably some javascript that does the whole local store thingy
<Aeyrix> mwlang: Facebook.
michael_mbp has joined #ruby
jottr_ has joined #ruby
<mwlang> Aeyrix: there’s your answer right there. avoid like the plague. :-)
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<zenspider> jesus... what did I miss?
<Aeyrix> It should look like that.
<Aeyrix> zzz
<Aeyrix> mwlang: can you tell zenspider i apologise for making a joke
<Aeyrix> he ignored me yesterday after i called him rude
<havenwood> zenspider: What kind of verb, a PIZZA request?
<Aeyrix> I forget what it was pertaining to. Something useful he'd told me.
<saadq> havenwood: Aeyrix I don't see any "shells open with:" tab
bruno- has quit [Ping timeout: 246 seconds]
<Aeyrix> Do you see that on the general tab?
cirn0_ has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
<shevy> that's actually quite funny how you guide him through the screenshots :)
<saadq> im sorry for flooding this channel btw guys lol
zubov has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
<demophoon> saadq: you are using iterm2 right?
bmichelsen has joined #ruby
<Aeyrix> saadq: ?
<saadq> demophoon: Yeah, oops should I have mentioned that
<Aeyrix> shevy: Only because I don't really know how to explain where things are. :x
<demophoon> yeah, you are setup right
<demophoon> chsh -s /bin/bash
kenneth has quit [Read error: Connection reset by peer]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aeyrix> jfc
<demophoon> then close the terminal and open it again
<mwlang> Aeyrix: I’ve been telling zenspider to stop publishing his cheatsheets for years…he ignores me, too. ;-)
<saadq> that worked thanks!
<Aeyrix> :(
<saadq> thanks all of you <3
<Aeyrix> saadq: lol sorry for taking you on a wild journey
<havenwood> mwlang: Why no cheatsheets?
<Aeyrix> i should've suggested chsh but I didn't htink.
cmckee has quit [Remote host closed the connection]
<Aeyrix> s/ht/th
<saadq> Aeyrix: np i appreciate all the effort though
<Aeyrix> saadq: btw you're using homebrew to install right?
ismael has joined #ruby
<Aeyrix> Install Ruby.
ismaelga has quit [Ping timeout: 244 seconds]
wallerdev has quit [Quit: wallerdev]
<mwlang> havenwood: :-p joke! I writes some good ones
veduardo has quit [Ping timeout: 256 seconds]
ismael is now known as Guest51615
<havenwood> mwlang: aha!
<saadq> Aeyrix: yeah i did
cjim_ has joined #ruby
<saadq> one last issue guys I have this thing pop up now when I reopen my terminal
bb010g has quit [Quit: Connection closed for inactivity]
<bootstrappm> I know I already made this joke once today but ... just reformat the drive saadq, its a lost cause
<saadq> haha im actually considering that considering idk what else I may have screwed up
einarj has quit [Remote host closed the connection]
MasterPiece has quit [Quit: Leaving]
charliesome has joined #ruby
<bootstrappm> I'm so hungry. I order a piece of bread w marinara and an egg on it like an hour ago from the place next door. This must be making this shit super gourmet -_-
<bootstrappm> ordered*
<Aeyrix> saadq: Just use stock Terminal. :P
kenneth has joined #ruby
kinduff has joined #ruby
<demophoon> stock terminal is terrible
<Aeyrix> Stock terminal is more than adequate.
charliesome has quit [Read error: Connection reset by peer]
<Aeyrix> What on earth are you doing that requires a custom terminal?
<bootstrappm> also saadq i still recommend gist'ing your bash and zsh history and sending it over. The commands you ran to get what you got will disappear after a while as you type more commands
<bootstrappm> iterm2 is magnificent
snockerton has quit [Quit: Leaving.]
<bootstrappm> i would never use stock when i could use that thing
<Aeyrix> *shrugs*
<Aeyrix> idk what you guys are doing but I've never ran into a situation where I've thought
<bootstrappm> i miss it, spilled a glass of water on my Air about a yr and a half ago
<Aeyrix> "knobgobbling fuckmints I hate this stock terminal"
oo_ has joined #ruby
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<zenspider> bootstrappm: they're growing the wheat as we speak.
<demophoon> I cannot remember why, but its something that if i started using stock terminal again it would jump out at me really quick.
robustus has quit [Ping timeout: 255 seconds]
echosystm has joined #ruby
<bootstrappm> for me it was tabs i think
<bootstrappm> indeed zs, indeed
<Aeyrix> bootstrappm: Tabs work fine in stock terminal?
<Aeyrix> At least, I have no problem with using tabs...
<demophoon> yeah, i don't think it was tabs for me
bb010g has joined #ruby
<bootstrappm> yeah? then idk
rodfersou has quit [Quit: leaving]
<Aeyrix> It might've been the tab shortcut, perhaps?
<demophoon> considering i just use tmux :P
<Aeyrix> It is a bit weird by default.
<bootstrappm> yeah maybe tab shortcut. default on iterm2 is cmd+tab right?
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Aeyrix> Default on stock is, say
<bootstrappm> to switch btwn
<Aeyrix> CMD+SHIFT+{ I think
<Aeyrix> to go left
<bootstrappm> yeah, thats odd
<Aeyrix> and CMD+SHIFT+} to go right.
<Aeyrix> I just changed it to the arrows. :v
<Aeyrix> Installing WinServer12, here we gooooooo
kenneth has quit [Ping timeout: 256 seconds]
KasMage has left #ruby [#ruby]
robustus has joined #ruby
bronson has quit [Remote host closed the connection]
<shevy> Aeyrix you can't be that inactive
<shevy> every time I look here
<shevy> it's like 50 lines of Aeyrix there
<Aeyrix> shevy: My screen real estate allow me to multitask heavily.
<Aeyrix> I just drop by in bursts.
djbkd has joined #ruby
Rollabunna has joined #ruby
crack_user1 has joined #ruby
crack_user has quit [Ping timeout: 276 seconds]
wallerdev has joined #ruby
<bootstrappm> anybody tried generating ASCII art w/ ruboto?
bmichelsen has quit [Quit: Bye!]
veduardo has joined #ruby
kenneth has joined #ruby
commondream has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
FernandoBasso has quit [Quit: Time to prepare dinner.]
bmichelsen has joined #ruby
<shevy> the hangman game
<shevy> they do that
bmichelsen has quit [Client Quit]
<shevy> I can't read a thing
<shevy> dunno how to start it
saadq has quit [Remote host closed the connection]
yh__ has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
kenneth__ has joined #ruby
gusrub has quit [Quit: Leaving]
wolfleemeta_ has quit [Quit: (null)]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Schwarzbaer_ has joined #ruby
wolflee has joined #ruby
podman has quit [Quit: Connection closed for inactivity]
blizzy has quit [Ping timeout: 265 seconds]
aspiers has quit [Ping timeout: 276 seconds]
That1Guy has joined #ruby
charles81 has quit []
charles81 has joined #ruby
kenneth__ has quit [Ping timeout: 272 seconds]
kenneth has joined #ruby
veduardo has quit [Ping timeout: 264 seconds]
bosma has quit [Read error: Connection reset by peer]
Schwarzbaer has quit [Ping timeout: 244 seconds]
tubuliferous_ has joined #ruby
shock_one has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
bosma has joined #ruby
Channel6 has joined #ruby
Joufflu has joined #ruby
bcavileer has quit []
bcavileer has joined #ruby
s2013 has joined #ruby
shock_one has quit [Ping timeout: 246 seconds]
<havenwood> DeBot: !hangman gems
<DeBot> ␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣␣ [] 0/12
<havenwood> DeBot: _-
<DeBot> ␣␣␣␣_␣␣_␣␣␣␣␣␣␣␣␣␣␣ [-] 1/12
kenneth has joined #ruby
cajone has joined #ruby
<havenwood> DeBot: s
<DeBot> ␣␣␣s_␣s_␣␣␣␣␣␣␣␣␣␣␣ [-] 1/12
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
<wallerdev> DeBot: e
<DeBot> ␣␣␣s_␣s_␣␣␣␣␣␣␣␣␣␣e [-] 1/12
<wallerdev> DeBot: rln
<DeBot> ␣␣␣s_␣s_n␣␣␣␣␣␣␣␣le [-r] 2/12
amclain has joined #ruby
<wallerdev> DeBot: Modu
<DeBot> ␣␣␣s_␣s_no␣␣␣␣␣␣␣le [-rmdu] 5/12
<wallerdev> wowww
<wallerdev> DeBot: i
<DeBot> ␣␣␣s_␣s_no␣i␣i␣␣␣le [-rmdu] 5/12
<havenwood> DeBot: a
<DeBot> a␣␣s_as_no␣i␣i␣a␣le [-rmdu] 5/12
kinduff has quit [Ping timeout: 245 seconds]
<wallerdev> DeBot: b
<DeBot> a␣␣s_as_no␣i␣i␣able [-rmdu] 5/12
<sevenseacat> DeBot: tf
<DeBot> a␣ts_as_notifi␣able [-rmdu] 5/12
<sevenseacat> DeBot: c
<DeBot> acts_as_notificable [-rmdu] 5/12 You won!
<sevenseacat> snipe!
<wallerdev> lol
konsolebox has joined #ruby
veduardo has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
chipotle has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sent1nel has joined #ruby
jtdowney has joined #ruby
rbennacer has joined #ruby
jtdowney has quit [Client Quit]
<Aeyrix> Part of me can't believe that you have a hangman game based on Ruby gems.
<Aeyrix> The rest of me isn't really surprised.
<sevenseacat> :D
<shevy> watch those who play
<sevenseacat> we're neeeeeeeeeeeerrrrds
<shevy> havenwood, wallerdev, sevenseacat
<sevenseacat> hey, I'm good at it.
ProLoser has quit []
sent1nel has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
kenneth has quit [Read error: Connection reset by peer]
davedev24_ has quit []
creakybones has quit [Quit: Leaving]
hyperjuice has joined #ruby
<bootstrappm> hahah that's great!
oo_ has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
lidenskap has joined #ruby
kenneth has joined #ruby
michael_mbp has quit [Excess Flood]
lidenskap has quit [Remote host closed the connection]
greenbagels has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
michael_mbp has joined #ruby
reinaldob has joined #ruby
dorei has quit []
veduardo has quit [Ping timeout: 276 seconds]
kenneth has quit [Read error: Connection reset by peer]
BlackGear has joined #ruby
inspiron has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 272 seconds]
reinaldob has quit [Remote host closed the connection]
reinaldo_ has joined #ruby
reinaldo_ has quit [Remote host closed the connection]
reinaldob has joined #ruby
freerobby has quit [Quit: Leaving.]
commondream has quit [Remote host closed the connection]
kenneth has joined #ruby
CloCkWeRX has quit [Remote host closed the connection]
segfalt_ has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
segfalt has quit [Ping timeout: 256 seconds]
segfalt_ is now known as segfalt
reinaldob has quit [Ping timeout: 276 seconds]
charliesome has joined #ruby
oo_ has joined #ruby
cirn0 has joined #ruby
tkuchiki has joined #ruby
turtil has quit [Quit: WeeChat 1.1.1]
pontiki has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
woodruffw has quit [Quit: And then he took off.]
aspiers has joined #ruby
veduardo has joined #ruby
<pontiki> hi
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
woodruffw has joined #ruby
kenneth has joined #ruby
hyperjuice has quit []
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
woodruffw has quit [Client Quit]
woodruffw has joined #ruby
beamed_down is now known as Beamed
cirn0 has quit [Remote host closed the connection]
BlackGear has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
wallerdev has quit [Ping timeout: 240 seconds]
TheNet has joined #ruby
Agoldfish has quit [Ping timeout: 245 seconds]
chipotle has quit [Quit: cheerio]
<bootstrappm> night all
turtil has joined #ruby
bootstrappm has quit [Remote host closed the connection]
Papierkorb has joined #ruby
gsd has joined #ruby
GaryOak_ has joined #ruby
axisys has quit [Quit: leaving]
veduardo has quit [Ping timeout: 258 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Papierkorb has quit [Client Quit]
segfalt has quit [Quit: segfalt]
kenneth__ has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
tubuliferous_ has quit [Ping timeout: 265 seconds]
freerobby has joined #ruby
Guest51615 has quit [Remote host closed the connection]
GaryOak_ has quit [Ping timeout: 250 seconds]
<shevy> yo pontiki
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has joined #ruby
ismaelga has joined #ruby
RegulationD has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
juanpaucar has joined #ruby
einarj has quit [Ping timeout: 272 seconds]
rahult has joined #ruby
bronson has joined #ruby
djbkd has joined #ruby
RegulationD has quit [Ping timeout: 258 seconds]
Cache_Money has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
rfv has quit []
juanpaucar has quit [Ping timeout: 256 seconds]
rfv has joined #ruby
kenneth__ has quit [Read error: Connection reset by peer]
veduardo has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
kenneth has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
djbender has quit []
djbender has joined #ruby
jottr_ has joined #ruby
casadei has quit [Remote host closed the connection]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
veduardo has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
kenneth has quit [Read error: Connection reset by peer]
io_syl has quit []
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
lemur has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mocha has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ChiggerZ has joined #ruby
<ChiggerZ> what are problems with installing rails on windows?
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 256 seconds]
kenneth has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Spami has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
jottr_ has quit [Ping timeout: 276 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ShortyCode has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reinaldob has joined #ruby
devoldmx has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
keen________ has quit [Read error: Connection reset by peer]
maletor has joined #ruby
<maletor> How do I refactor too many delegations? I'm trying to avoid law of demeter. https://gist.github.com/maletor/0ac796f9f4f0f8e55bcb
wildroman2 has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
keen________ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
babykosh has quit [Quit: babykosh]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
kenneth has quit [Read error: Connection reset by peer]
rawrmonstar has quit [Quit: Textual IRC Client: www.textualapp.com]
Spami has quit [Quit: This computer has gone to sleep]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
veduardo has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
kenneth has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Rollabunna has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<pontiki> ChiggerZ: i helped someone walk through a windows install a couple weeks ago. seems to work fine.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<ChiggerZ> pontiki: just like on mac?
<pontiki> ChiggerZ: i'm sure there are gems and such that don't work exactly
<pontiki> no, it took about and hour and a half :( it was pretty slow
<ChiggerZ> so it's still better to use a mac right?
<pontiki> if you have a choice, i'd say yes, absolutely
scuey has joined #ruby
veduardo has quit [Ping timeout: 252 seconds]
<pontiki> also, if you don't have much choice, i'd look stronly at using cloud9
reinaldob has joined #ruby
<pontiki> strongly *
reinaldob has quit [Remote host closed the connection]
<pontiki> the downisde there being you need to be connected to use it
<ChiggerZ> cloud9 is incredibly buggy as it is incredibly cool
<pontiki> not that i've noticed
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<ChiggerZ> is ubuntu just as easy to use for rails?
<pontiki> yes
<ChiggerZ> i have a pc laptop and an imac
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mocha has quit [Ping timeout: 265 seconds]
<sevenseacat> use whatever you're most familiar with developing on. ubuntu is great, but if you're familiar with osx, use that.
reinaldob has joined #ruby
Spami has joined #ruby
Rollabunna has quit [Ping timeout: 245 seconds]
<ChiggerZ> pontiki: is there a wine foreskin for ubuntu where you can run os x apps natively on ubuntu?
mary5030 has joined #ruby
reinaldob has quit [Remote host closed the connection]
Cache_Money has quit [Quit: Cache_Money]
<pontiki> i have no idea what you're asking about
<sevenseacat> uh
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<ChiggerZ> there's wine foreskin for os x
<ChiggerZ> winery or something like that
<lemur> WINE is a compatibility layer
<ChiggerZ> it lets you run windows apps on mac
reinaldob has joined #ruby
<lemur> You're thinking parallels
reinaldob has quit [Remote host closed the connection]
<lemur> WINE is Linux, Parallels is mac
<lemur> ah, cripes, need to get my nick back real quick
lemur is now known as baweaver
reinaldob has joined #ruby
<pontiki> beats me
reinaldob has quit [Remote host closed the connection]
<baweaver> there we go
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<baweaver> but yeah, the foreskin bit is going to throw non-ops people
<baweaver> no idea where you got that one honestly
<ChiggerZ> basically i want to run xcode 6.4 on ubuntu
<ChiggerZ> if possible
<sevenseacat> no.
<pontiki> oh goodness, nooooooooo
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<baweaver> If you want eternal nightmares, sure
echosystm has quit [Quit: leaving]
<baweaver> but short of a Hackintosh and virtualization it won't fly very far.
mase-chatter has quit [Quit: Leaving]
<ChiggerZ> i'm having lag issues on my pc
* baweaver isn't explaining what a hackintosh is, that's an exercise best left to the reader
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<ChiggerZ> i got a pc laptop because it's better than the crap apple was offering
<sevenseacat> o.O
<ChiggerZ> nobody can beat an imac though
swgillespie has joined #ruby
<sevenseacat> i'm as anti-apple as anyone, but trollolol?
<ChiggerZ> for $1800 i got an msi laptop
<baweaver> Careful there, those be fighting words to some
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<ChiggerZ> for $2000 i could have gotten an inferior macbook pro
<sevenseacat> ChiggerZ: let's leave the trolling at the door, k? this is a ruby channel.
<ChiggerZ> 4gb 870m 16gb ddr3 1tb 7200 rpm hdd and 128 gb ssd
<ChiggerZ> sevenseacat: how is saying that apple's laptops are inferior trolling?
<sevenseacat> you bought a pc, and now you cant run osx software. let's move on.
<ChiggerZ> i can run mavericks just fine but not yosemite :(
<sevenseacat> its completely irrelevant to this channel.
<ChiggerZ> oh
SEVENSEAKUNT has joined #ruby
<ChiggerZ> whoops i was talking in the wrong channel -_-
SuperTaz_ has quit [Ping timeout: 244 seconds]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SuperTaz_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby
SuperTaz_ has quit [Read error: Connection reset by peer]
SuperTaz_ has joined #ruby
<pontiki> quite
<SEVENSEAKUNT> HI
ramfjord has joined #ruby
Trynemjoel has quit [Quit: Quitting]
SEVENSEAKUNT was banned on #ruby by sevenseacat [*!~u291187@172.56.17.207]
SEVENSEAKUNT was kicked from #ruby by sevenseacat [Your behavior is not conducive to the desired environment.]
bigsky has quit [Ping timeout: 244 seconds]
axisys has joined #ruby
<mozzarella> so mean (  ;____;)
skmp has quit []
<ChiggerZ> what did they do?
skmp has joined #ruby
<Radar> ChiggerZ: Can't tell if serious.
<ChiggerZ> i'm serious
<Radar> Definitely trolling. Goodbye.
<ChiggerZ> user wasn't being disruptive or doing anything wrong...
<baweaver> wait wait
<baweaver> Look at that name in all caps
<baweaver> and consider who just banned them
braincrash has quit [Quit: bye bye]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ChiggerZ> baweaver: is having a name in all caps bad?
Trynemjoel has joined #ruby
<baweaver> read the name, the last 4 characters
<ChiggerZ> baweaver: KUNT?
sent1nel has joined #ruby
<baweaver> Yep. Now what's offensive about that word
<Radar> Perhaps that word spoken outloud sounds like an offensive name?
<Radar> s/name/word
<ChiggerZ> baweaver: that's an english word?
<pontiki> let us not belabour the point
<havenwood> Feed not the trolls.
<pontiki> indeed
<sevenseacat> let's not.
<sevenseacat> I have a feeling that person will be back, so I'll keep my @.
* baweaver wonders if that word gets thrown around a bit too often
<eam> looking for input on making this idiomatic (or, faster) https://github.com/eam/ruby-mdbm
<pontiki> once is more than enough
<Radar> Time out for the troll.
yaw has joined #ruby
<havenwood> @sevenseacat: Wizard hats are the latest style!
<Radar> Claims to not understand english, but spoke clean english at first.
<Radar> looool
<Radar> obvious troll is obvious
Rodya_ has joined #ruby
yaw has quit [Max SendQ exceeded]
RegulationD has joined #ruby
<baweaver> eam: my C is rusty, but I'll give it a read.
<eam> I'm mostly interested in the interface
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
<baweaver> tests it is then
icebourg has joined #ruby
<Aeyrix> I just noticed the username.
speakingcode has joined #ruby
<Aeyrix> Soft jej
<eam> storing the db handle in an ivar is like 30% of the cost of fetch()
Cuupa has joined #ruby
<Cuupa> hi all
RegulationD has quit [Ping timeout: 244 seconds]
<havenwood> Cuupa: hi
<Cuupa> this channel for ruby programming?
<havenwood> Cuupa: sure is
SuperTaz_ has quit [Remote host closed the connection]
braincrash has joined #ruby
White_Master has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
White_Master has left #ruby ["Leaving"]
reinaldob has quit [Remote host closed the connection]
cubesand_ has joined #ruby
<sevenseacat> tbh I'd love to be able to disable the webchat, I think it would solve a lot of problems
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Sawbones has joined #ruby
<Radar> same
<Aeyrix> You can.
SuperTaz_ has joined #ruby
<Radar> apeiros won't let us
<Aeyrix> Oh.
<Aeyrix> Lamer.
reinaldob has joined #ruby
<Radar> I tried setting +q ~@a or whatever that mode is to stop unauthenticated users... but he didn't like it so he undid it.
<Radar> And then we got what just happened
reinaldob has quit [Remote host closed the connection]
<Radar> and apeiros doesn't give a shit
<Radar> soooo
shortdudey123 has quit [Max SendQ exceeded]
<Radar> #ircpolitics
cubesand_ has quit [Client Quit]
<Aeyrix> /mode #ruby +b *!*@gateway/web/freenode/*
<havenwood> @Radar: trolls just register, easy enough
wildroman2 has quit [Read error: Connection reset by peer]
cubesandcode has joined #ruby
shortdudey123 has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
cubesandcode has left #ruby [#ruby]
wildroman2 has joined #ruby
<Radar> havenwood: It's a barrier to entry for trolls
reinaldob has joined #ruby
<havenwood> they don't seem very effective, i wonder why they bother?
reinaldob has quit [Remote host closed the connection]
<havenwood> like two people who are just very persistent?
<Aeyrix> Just +b anyone who joins and immediately types in caps.
<Aeyrix> +b, not kickban.
<Aeyrix> idk if ircd-seven supports the quieting mode.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<baweaver> Radar: did any of the bots have banhammer abilities?
<Radar> ChiggerZ: Going to be a productive member of this channel?
<Aeyrix> ruboto
<Radar> !kick baweaver
baweaver was kicked from #ruby by ruboto [baweaver]
cubesandcode has joined #ruby
elfuego has left #ruby [#ruby]
baweaver has joined #ruby
reinaldob has joined #ruby
<Radar> sevenseacat: ^
reinaldob has quit [Remote host closed the connection]
<Aeyrix> Does that respond to any general user commands?
<baweaver> Well that was a succinct way to put it
<sevenseacat> haha
<havenwood> baweaver: hehe
<Radar> I *think* !ban works too but I don't want to try it
<baweaver> Walked into that one
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Radar> !quiet Radar
<Aeyrix> @ me
<havenwood> Radar: !mute
<Radar> !mute Radar
<cubesandcode> question for iterm users: is there a way to make command + k just do a full screen on terminal, but not make it go into the presentation mode thing
reinaldob has joined #ruby
SuperTaz_ has quit [Read error: Connection reset by peer]
<Aeyrix> Someone may need to, you know, unmute him.
reinaldob has quit [Remote host closed the connection]
<Aeyrix> Or you could do that. :v
* baweaver is withholding comments on that
<Radar> cubesandcode: Command+K clears the console?
<cubesandcode> Sorry, I meant Command+Enter
<baweaver> Ctrl+L does
reinaldob has joined #ruby
<Radar> cubesandcode: Remap it in the Keys menu.
reinaldob has quit [Remote host closed the connection]
SuperTaz_ has joined #ruby
<ChiggerZ> user Radar is doing illegal activities like doxing and making threats be careful everyone i am going to be reporting his username to the proper authorities
<ruboto> ChiggerZ, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/767d7d5ca3abb190fb4c
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
SuperTaz_ has quit [Read error: Connection reset by peer]
<baweaver> Radar: test theban!
<Radar> !ban ChiggerZ
<Aeyrix> >we do not like pastebin.com
<baweaver> Nope
reinaldob has joined #ruby
<baweaver> Ah well, that's out of the way
reinaldob has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<Aeyrix> Radar: I'm bored. Can I call?
<sevenseacat> aww
<xxneolithicxx> has anyone seen this error before, im compiling ruby using rbenv: https://gist.github.com/anonymous/64d4433875953233c3b8
<Radar> Aeyrix: Yes please.
<Aeyrix> ... Not you, the college.
<Aeyrix> :>
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<firevolt> What are the "proper authorities"? That threat makes it sound like one might call the "improper authorities", but you've really rustled their jimmies, and this time, it's proper.
<Aeyrix> "911 what is your emergency?"
reinaldob has joined #ruby
<Aeyrix> "SOMEONE IS BEING ILLEGAL ON THE INTERNET"
reinaldob has quit [Remote host closed the connection]
<pontiki> Please state the nature of the medical emergency
<firevolt> SEVERE RUSTLING OF MAH JIMMIES!!!
<havenwood> pontiki: :)
<Aeyrix> "Transferring you to the Internet Police right away."
<baweaver> 0118 999 881 999 119 7253
* pontiki curtsies
bruno- has joined #ruby
<pontiki> well played, baweaver
* baweaver bows
reinaldob has joined #ruby
<Aeyrix> I think the problem is that Radar might be using a computer without his
reinaldob has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
SuperTaz_ has joined #ruby
<Aeyrix> International Computer Driving Licence
SuperTaz_ has quit [Read error: Connection reset by peer]
<sevenseacat> is that like a pen license, but for computers?
<Aeyrix> Yes.
<havenwood> xxneolithicxx: That's a dreadfully old openssl it's rustled up.
<sevenseacat> nice.
<firevolt> I only have my National Computer Driving License... I try not to drive any computers overseas.
mary5030 has joined #ruby
<Aeyrix> There's a European one too.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
* baweaver has that number memorized
<xxneolithicxx> i know, i get the same error with the default one in 12.04
<xxneolithicxx> i had installed that one because 1.8.7 wouldnt compile without it
<pontiki> baweaver: actually, that is quite impressive
<Radar> bbl, have to do some work :)
<baweaver> That and V's speech
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
* sevenseacat is trying to do some work
<baweaver> No idea why, I just liked it
SuperTaz_ has joined #ruby
<baweaver> sevenseacat is failing
SuperTaz_ has quit [Read error: Connection reset by peer]
<firevolt> "Additionally, there was an Advanced version that was divided into four modules. These are:
<firevolt> Advanced Word Processing" Hold up, they can certify you in WordART?
<sevenseacat> pretty much
reinaldo_ has joined #ruby
laurentide_ has joined #ruby
reinaldo_ has quit [Remote host closed the connection]
deric_skibotn has quit [Ping timeout: 276 seconds]
<havenwood> xxneolithicxx: not sure why it's using it though, since ruby-build ships its own openssl alongside each Ruby instead of using the package managers.
reinaldob has joined #ruby
bluOxigen has joined #ruby
reinaldob has quit [Remote host closed the connection]
<xxneolithicxx> havenwood: :-/ i dunno, the GH issues page for 1.8.7 outlined that as the solution because it didnt support the newer openssl on Ubuntu
SuperTaz_ has joined #ruby
jottr_ has joined #ruby
<havenwood> xxneolithicxx: One option is to just use ruby-install and put it where rbenv expects it: ruby-install --install-dir ~/.rbenv/versions/1.9.3 ruby 1.9.3
SuperTaz_ has quit [Read error: Connection reset by peer]
<havenwood> xxneolithicxx: Yeah, but 1.9.3 doesn't support the older.
reinaldob has joined #ruby
<xxneolithicxx> havenwood: i didnt use that for the other installs, i was just trying it on this one to see if that was the problem
reinaldob has quit [Remote host closed the connection]
commondream has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 244 seconds]
<havenwood> xxneolithicxx: Consider using the Brightbox packages instead of compiling these yourself?
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 255 seconds]
laurentide has quit [Ping timeout: 265 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<cubesandcode> Radar: I'm trying to find the right command for maximizing a window, but I don't see it listed
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<cubesandcode> I just see "Toggle Fullscreen" which does that presentation mode kind of thing which I'm trying to avoid
<Aeyrix> cubesandcode: ?
<Aeyrix> Oh
<Radar> cubesandcode: Or you could do what I do, and install Divvy which does this."
<Aeyrix> cubesandcode: On a Mac?
<Aeyrix> Hold alt, then press that one.
<cubesandcode> yeah Aeyrix
<Aeyrix> Holding alt will change the fullscreen icon to a plus icon, which will maximise the window.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
rahult is now known as rahult_
<Radar> Aeyrix: I think they want a keyboard shortcut
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
bronson has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
<cubesandcode> The only reason I'm asking this is because I just recently completely restored my laptop from factory settings
<cubesandcode> before my iTerm already did this with Command + K
<cubesandcode> idk why its doing the other mode now
wjimenez5271 has quit [Ping timeout: 244 seconds]
wildroman2 has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
wildroman2 has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<havenwood> cubesandcode: I use spectacle for tiling windows but amethyst is another option I've seen.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<cubesandcode> havenwood: Alright thanks, I guess I'll just use one of these window managing programs
rahult_ is now known as rahult
rahult is now known as rahult_
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
SuperTaz_ has joined #ruby
<xxneolithicxx> havenwood: hmm, so even when i tell it to use /usr/bin to get the system openssl it ignores it and goes straight for /usr/local/bin
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<havenwood> xxneolithicxx: ruby-build does?
<xxneolithicxx> havenwood: ive install a couple other versions without extra flags and they worked fine with the system openssl does
SuperTaz_ has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<xxneolithicxx> havenwood: the make compile that ruby-build is triggering yea
<havenwood> xxneolithicxx: ruby-build generally doesn't use system openssl, like ruby-install would. They ship openssl on a per-ruby basis.
<havenwood> They don't use the package manager to install openssl.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
zzing has joined #ruby
SuperTaz_ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
commondream has quit [Remote host closed the connection]
wallerdev has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
commondream has joined #ruby
reinaldob has joined #ruby
<havenwood> xxneolithicxx: If you want to just install it for rbenv with ruby-install that should work fine, instead of using ruby-build. Ah, it appears ruby-build is only shipping their hard coded openssls with 2.0+.
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Nilium> Could just build Ruby from source manually. It's really simple.
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 258 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
reinaldob has quit [Remote host closed the connection]
<pontiki> idunno, flipping all the bits can be pretty tedious
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Cuupa has left #ruby [#ruby]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<havenwood> Nilium: Sure, especially if you do it often and know your distro. Folk reasonably often don't know the deps for their distro and end up having to rebuild when they miss deps, when ruby-install will just install the proper dependencies and build with the same flexibility but more convenience.
<havenwood> Nilium: Or yeah, look up the deps then build. :)
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<Nilium> That's true. I totally forgot that I perpetually have everything I need installed.
<Nilium> Which is sort of annoying to do.
<Nilium> Though ./configure will usually tell you what's missing.
budak-baik has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
shock_one has joined #ruby
wildroman2 has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
Cache_Money has joined #ruby
n008f4g_ has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 272 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
einarj has joined #ruby
<Aeyrix> >> p 'wat'
<ruboto> Aeyrix # => "wat" ...check link for more (https://eval.in/367917)
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<xxneolithicxx> havenwood: what a waste of a few hrs. i figured out the problem
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<havenwood> xxneolithicxx: what was it?
That1Guy has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
<xxneolithicxx> havenwood: so basically because i custom compiled 0.9.8 into /usr/local for installing 1.8.6 or 1.8.7 every version after that looked there to because of my PATH even though i specified /usr/bin in compile opts
<havenwood> xxneolithicxx: ah
reinaldob has joined #ruby
juanpaucar has joined #ruby
reinaldob has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 250 seconds]
<xxneolithicxx> havenwood: after uninstall the old one from /usr/local and retrying 2.x it installed fine, now im going to go back and do 1.9.3, so ill probably have to install 1.8.x last
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
tubuliferous has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
djbkd has quit [Quit: My people need me...]
gigetoo has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
reinaldob has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
reinaldob has quit [Remote host closed the connection]
oo_ has joined #ruby
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
* xxneolithicxx havenwood is a good rubber ducky :-)
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 264 seconds]
blueOxigen has joined #ruby
commondream has quit [Remote host closed the connection]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
pontiki has quit [Quit: Textual IRC Client: www.textualapp.com]
bluOxigen has quit [Ping timeout: 264 seconds]
reinaldob has joined #ruby
reinaldob has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
EllisTAA has joined #ruby
<al2o3-cr> sup!
<havenwood> al2o3-cr: hallooo
<EllisTAA> i want to learn everything about ruby strings, arrays, nums etc. where can i learn more about those besides the docs??
<Radar> EllisTAA: Damn. Another question mark and for sure I would've answered your questrion
<EllisTAA> :)
<baweaver> More pertinent question: Why no docs?
s2013 has joined #ruby
<baweaver> There's the Ruby Way that covers a lot, but that still seems like an odd thing to say
<EllisTAA> i figure ruby docs has info but it would need to be processed and interpreted in order to gain insight so i wanted to jump to the insights
<EllisTAA> Ruby Way is that a book?
<al2o3-cr> damn whatsappnin with reinaldob
bigmac has joined #ruby
<baweaver> Indeed
<baweaver> A very good one, though I still need to read the latest edition of it.
<Radar> FTFY
<sevenseacat> so do i
<Radar> I PM'd him about it last night, and he still hasn't fixed it
<Radar> soooo, ban for him
<EllisTAA> ok ill check itout thanks baweaver
<al2o3-cr> Radar: ty
<Radar> That is pretty intense (turn on joins)
cstrahan has quit []
gaboesquivel has quit [Remote host closed the connection]
cstrahan has joined #ruby
* baweaver buys the kindle version for later
<sevenseacat> the kindle version is still more than i want to spend on a book
<Radar> EllisTAA: !twgr
<Radar> Argh, #ruby
<Radar> EllisTAA: Read the Well Grounded Rubyist
<EllisTAA> i have that book
<havenwood> Second Edition!
lkba has joined #ruby
<Radar> Great, go read it!
<Radar> Everything you need is in that book.
<Radar> next question please
scuey has quit [Ping timeout: 272 seconds]
<EllisTAA> what the hell is going on here? http://ruby-doc.org/core-2.1.0/String.html#method-i-25
lorn has quit [Quit: ZNC - http://znc.in]
<baweaver> EllisTAA: See printf
<mozzarella> sprintf-like behavior
maletor has joined #ruby
<EllisTAA> that’s an alias for this method?
<xxneolithicxx> string formatting goodness
<EllisTAA> xxneolithicx: wtf is string formatting?
<baweaver> Read that above
<baweaver> Not often used, but still very handy for console outputs
<xxneolithicxx> its string interpolation with special formatting capabilities
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<EllisTAA> but i will look like a boss if i use it right ^^
<baweaver> Not really
<xxneolithicxx> ermm if u say so
<baweaver> that's normally a pretty early CS make a fancy output table that's aligned typa thing
<baweaver> Live and breathe Enumerable, that's where you tend to get the most bang for your buck
<EllisTAA> wtf does sprint f mean, this explanation is wtf
<eam> EllisTAA: string print format
<EllisTAA> eam: ah thank you
<eam> EllisTAA: it's a name inherited from the C programming language
<eam> much of ruby borrows from existing standard function names
<EllisTAA> while the name clears some stuff up, what the hell is going on in the statement?
P1RATEZ has quit []
<ebonics> except the whole "block" thing
bruno- has joined #ruby
Eiam_ has joined #ruby
<eam> EllisTAA: it's a mini-language for formatting strings, invented many decades ago
bmurt has joined #ruby
<eam> it exists for compatibility and familiarity
<eam> most beginners wouldn't use it
<al2o3-cr> EllisTAA: do you pry?
<al2o3-cr> *use
<EllisTAA> al2o3-cr: no
<EllisTAA> what’s that
<al2o3-cr> EllisTAA: a lovely repl :)
<EllisTAA> al2o3-cr: what are the benefits
jmignault has quit [Read error: Connection reset by peer]
<al2o3-cr> EllisTAA: to many to mention but http://pryrepl.org/
bruno- has quit [Ping timeout: 256 seconds]
<EllisTAA> ah i think i’m starting to get it. cool i will definitely check it ou
greenbagels has quit [Read error: Connection reset by peer]
<al2o3-cr> EllisTAA: :D
wallerdev has quit [Quit: wallerdev]
Cache_Money has quit [Quit: Cache_Money]
<al2o3-cr> big up to banister
loadhigh1 has joined #ruby
baroquebobcat has joined #ruby
jack_rabbit has joined #ruby
<EllisTAA> i don’t understand the logic behind the string formatting
<Radar> nobody does
<Radar> it's ok
devoldmx has quit [Remote host closed the connection]
<EllisTAA> wtf is the logic of it
mary5030 has joined #ruby
<al2o3-cr> EllisTAA: you been around a bit now return me [7,6] from this array [1,5,7,11,4,6]
<EllisTAA> return array[2] && array.pop
<al2o3-cr> hehe :)
<Radar> EllisTAA: and then if the array was in any particular order?
<sevenseacat> >> array = [1,5,7,11,4,6]; array[2] && array.pop
<ruboto> sevenseacat # => 6 (https://eval.in/367937)
<sevenseacat> nup.
<Aeyrix> rip
Jarboe has quit []
* al2o3-cr shhh...
Alina-malina has quit [Ping timeout: 272 seconds]
codeFiend has joined #ruby
codeFiend is now known as aeontech
<EllisTAA> idk
<EllisTAA> ..
<Radar> [1,5,7,11,4,6].permutation.each { |a| ??? }
<havenwood> sample(2) till success
arescorpio has quit [Quit: Leaving.]
mary5030 has quit [Ping timeout: 240 seconds]
<al2o3-cr> havenwood: lol
<EllisTAA> lol
<Aeyrix> >> return [7,6]
<ruboto> Aeyrix # => unexpected return (LocalJumpError) ...check link for more (https://eval.in/367938)
<Aeyrix> not in a block but
<Aeyrix> :>>>
<Aeyrix> >> [7,6]
<ruboto> Aeyrix # => [7, 6] (https://eval.in/367939)
hectortrope has quit [Quit: WeeChat 0.4.2]
<Radar> Aeyrix: troll!!
<Aeyrix> Oi rude.
wallerdev has joined #ruby
<EllisTAA> so what is the logic of sprintf?
MiracleBlue has quit []
MiracleBlue has joined #ruby
<al2o3-cr> EllisTAA: string formatting simple as that
<al2o3-cr> >> sprintf "%x", 10
<ruboto> al2o3-cr # => "a" (https://eval.in/367940)
<al2o3-cr> >> sprintf "%o", 10
<ruboto> al2o3-cr # => "12" (https://eval.in/367941)
<Aeyrix> al2o3-cr: Why uh
<Aeyrix> would you awnt
<Aeyrix> want
<Aeyrix> to return those elements from that array?
<Aeyrix> Or was that just an arbitrary example?
<al2o3-cr> Aeyrix: arbitary
<Aeyrix> ok
P1RATEZ has joined #ruby
Darryl___ has joined #ruby
<EllisTAA> so those sprintf examples - what is the logic? why does %x turn 10 into an a?
Rollabunna has joined #ruby
<Aeyrix> %x turns an integer into its hexadecimal equivalent.
<al2o3-cr> EllisTAA: %x hexidecimal %o octal
<Aeyrix> >> sprintf('%x', 255)
<ruboto> Aeyrix # => "ff" (https://eval.in/367942)
<EllisTAA> aw see how do i find that for every sign? is there a source?
<al2o3-cr> EllisTAA: same as String#%
<al2o3-cr> "%x" % 10
aspiers has joined #ruby
<Aeyrix> They're called field type characters.
<al2o3-cr> >> "%x" % 10
<ruboto> al2o3-cr # => "a" (https://eval.in/367943)
<Aeyrix> %b is binary:
<EllisTAA> awesome i can’t wait to read the kernel doc!
<Aeyrix> >> sprintf('%b', 13)
<ruboto> Aeyrix # => "1101" (https://eval.in/367944)
<Aeyrix> Wait, the fuck
<Aeyrix> eval.in was done by an old friend of mine
<Aeyrix> i didn't even realise he still hosted that
<al2o3-cr> >> [13].pack('C').unpack('B*')
<ruboto> al2o3-cr # => ["00001101"] (https://eval.in/367945)
diegoaguilar has joined #ruby
<sevenseacat> i'm not sure you could charliesome old <_<
<Aeyrix> He's my age.
<Aeyrix> Well, a few months older.
<sevenseacat> you kids these days.
<eam> basically a senior citizen
shock_one has joined #ruby
awwaiid has quit [Ping timeout: 264 seconds]
<Aeyrix> I meant old friend as in
<Aeyrix> we've known each other for years
diegoaguilar has quit [Client Quit]
<Aeyrix> Although we stopped talking right around the time he went to work for Github. :v
<EllisTAA> what would be an example of a bignum?
Cache_Money has joined #ruby
<al2o3-cr> EllisTAA: you become a pro in no time :)
<baweaver> >> 999999999999999999.class
<ruboto> baweaver # => Bignum (https://eval.in/367946)
Rollabunna has quit [Ping timeout: 264 seconds]
<Aeyrix> >> 15241578750190521.class
<ruboto> Aeyrix # => Bignum (https://eval.in/367947)
<EllisTAA> why are those bignums?
<Aeyrix> Because they're big numbers.
<sevenseacat> because theyre bigger than fixnums.
<sevenseacat> you're asking questions that are all answered in the docs.
<baweaver> ninja'd
<eam> EllisTAA: because they are larger than half the native integer size of the current computing platform
<baweaver> It was 4.some billion
<Aeyrix> yeah baweaver
<al2o3-cr> >> 1e100.to_i.class
<ruboto> al2o3-cr # => Bignum (https://eval.in/367948)
<Aeyrix> 2147483647.ckass
<Aeyrix> wow
<Aeyrix> >> 2147483647.class
<ruboto> Aeyrix # => Bignum (https://eval.in/367949)
<EllisTAA> native integer size? that’s like 64 bit?
<Aeyrix> >> 2147483646.class
<ruboto> Aeyrix # => Bignum (https://eval.in/367950)
<Aeyrix> ...
<eam> EllisTAA: usually 32 or 64
<Aeyrix> >> (2147483647 / 2).class
<ruboto> Aeyrix # => Fixnum (https://eval.in/367951)
<Aeyrix> There we go.
<al2o3-cr> >> 0.0 ** 0.0
<ruboto> al2o3-cr # => 1.0 (https://eval.in/367952)
<baweaver> >> 2**62
<ruboto> baweaver # => 4611686018427387904 (https://eval.in/367953)
<eam> Aeyrix: signed
<eam> one bit for sign, one for tag
<Aeyrix> eam: Yeah gotcha
* baweaver hasn't had to screw with types in a while
<Aeyrix> eam: Wait, what
<al2o3-cr> >> 1.0/0
<ruboto> al2o3-cr # => Infinity (https://eval.in/367954)
<Aeyrix> 2147483647 is the largest positive signed 32-bit
<Aeyrix> Why isn't that a Fixnum?
* baweaver just remembers 2.14b being the limit for a lot of game currencies
<Aeyrix> Wait did I just go full retard?
krz has joined #ruby
<baweaver> Never go full retard
<Aeyrix> I think I might've.
<Aeyrix> A signed integer in C has a maximum positive value of 2147483647.
<Aeyrix> Or, 2147483646 technically IIRC.
<Aeyrix> -2147483647 to 2147483646.
reinaldo_ has joined #ruby
reinaldo_ has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 265 seconds]
SpicyMagpie has joined #ruby
<al2o3-cr> ruby is magic :)
khebbie has joined #ruby
<SpicyMagpie> the summer is magic
<Aeyrix> +1 on both of those values: -2147483648 to 2147483647. I knew I was close. <_<
<al2o3-cr> spicymagpie: :)
<baweaver> >> p2s=Enumerator.new{|y|a=2;loop{y(a);a<<1}}; p2s.first(5)
<ruboto> baweaver # => undefined method `y' for main:Object (NoMethodError) ...check link for more (https://eval.in/367955)
<baweaver> >> p2s=Enumerator.new{|y|a=2;loop{y<<a;a<<1}}; p2s.first(5)
<ruboto> baweaver # => [2, 2, 2, 2, 2] (https://eval.in/367956)
<baweaver> >> p2s=Enumerator.new{|y|a=2;loop{y<<a;a=a<<1}}; p2s.first(5)
<ruboto> baweaver # => [2, 4, 8, 16, 32] (https://eval.in/367957)
<al2o3-cr> baweaver: now with fibers :)
<baweaver> greenthreads
* baweaver shudders
<al2o3-cr> baweaver: fibers are good to go :D
EllisTAA has quit [Quit: EllisTAA]
<baweaver> I tend to skip to Scala or Elixir when I need parallelization.
woodruffw has quit [Remote host closed the connection]
baroquebobcat has quit [Ping timeout: 272 seconds]
<Aeyrix> Go.
<baweaver> Something about Haskell incites feral rage in some people that makes me fear for my life in recommending it again
<Aeyrix> That's because it's gross.
<al2o3-cr> baweaver: hehe
RegulationD has joined #ruby
* baweaver likes Haskell
<Aeyrix> You know how there was a period of time where only hipster designer fucks had macbooks?
<Aeyrix> Haskell is like that for the programming language world, but worse.
reinaldo_ has joined #ruby
khebbie has quit [Ping timeout: 245 seconds]
<Aeyrix> Haskell programmers act like GPL proponents.
reinaldo_ has quit [Remote host closed the connection]
<al2o3-cr> you ever try to configure xmonad i'll come for advice
<Aeyrix> Okay that was low, they're not *quite* as bad as GPL proponents.
<baweaver> You do know Haskell is as old as Java right
<Aeyrix> Yes.
<Aeyrix> ~~FUNCTIONAL PROGRAMMING~~
<baweaver> older by 5 years, huh
<baweaver> go figure
tautvydas has joined #ruby
d3m0n has joined #ruby
<baweaver> I work with Big Data enough that I natively think in functional paradigms
<al2o3-cr> why can't ruby be as fast as lua
<Aeyrix> >I work with Big Data
<Aeyrix> [ shuddering intensifies ]
<Aeyrix> [ buzzwords intensify ]
<SpicyMagpie> nobody can behave like GPL proponents. Arrogance is measured in nanostallmans.
awwaiid has joined #ruby
<Aeyrix> LOL
<baweaver> You do know when I say Big Data I do mean it.
<Aeyrix> Do you work for Amazon?
<baweaver> No
<Aeyrix> Facebook?
<baweaver> No, but getting warmer
<Aeyrix> Any search engine, including Shodan?
<Aeyrix> By search engine I mean the company behind it.
* baweaver sighs
RegulationD has quit [Ping timeout: 272 seconds]
<al2o3-cr> Serious question. Who uses Ruby besides Rails?
wallerdev has quit [Quit: wallerdev]
<SpicyMagpie> me
<baweaver> I can play 20 questions, or just answer it
<baweaver> Sony, PS4 team.
<Aeyrix> baweaver: 20Q yo.
<Aeyrix> You fucking lamer.
<Aeyrix> Sony was my next guess.
<al2o3-cr> spicymagpie: what for?
<Aeyrix> >sony
<Aeyrix> >big data
<Aeyrix> >ps4
<Aeyrix> ...?
<ebonics> were you on the ps3 team baweaver
<baweaver> al2o3-cr: Me
<havenwood> al2o3-cr: i dooo
<baweaver> Nope, later comer
<ebonics> ah
<SpicyMagpie> al2o3-cr: many things, actually. It is as powerful as Perl without having to mess up with $ and all those things, so I have many scripts to parse information.
<baweaver> Joined this last year in August
<ebonics> was gonna say nice job getting hacked :D
<Aeyrix> baweaver: How does your position gel with the actual definition of 'big data'.
* baweaver likes to pretend SPE doesn't exist
<Aeyrix> Given that it's as horribly buzzwordy as 'cloud'
<SpicyMagpie> use Capistrano and mina to help me publishing PHP sites, provision servers, etc.
wallerdev has joined #ruby
* baweaver also uses cloud
woodruffw has joined #ruby
* Aeyrix screams internally.
<xxneolithicxx> how would i configure a .gemrc to use only http for gems or explicitly set the source URL to http
<baweaver> To the magnitude of well over 5000 AWS servers
* SpicyMagpie goes for the popcorn again.
<Aeyrix> That's
<Aeyrix> not big data
<Aeyrix> really
<Aeyrix> well maybe to Sony lel
<ebonics> my dick is bigger than yours
<Aeyrix> I know. :(
* baweaver wanders off
<ebonics> just so were on the same page
<ebonics> :)
<Aeyrix> I always knew.
chrisseaton has quit []
<Aeyrix> This just in: Buzzwords are lame.
<al2o3-cr> havenwood: baweaver what for?
<SpicyMagpie> xxneolithicxx: gem sources -l lists the source; gem sources -a adds an URL and gem sources -r removes it.
chrisseaton has joined #ruby
ARYAN1488 has joined #ruby
<Aeyrix> "Big data", "digital", all that just make your company look stupid imo.
<ARYAN1488> 88 brothers!
riotjones has joined #ruby
<ebonics> i don't think so
<xxneolithicxx> is that going to explicitly go in .gemrc
<xxneolithicxx> i need it in .gemrc for an rbenv issue
<SpicyMagpie> those are commands.
<baweaver> al2o3-cr: Older job, automating a network of Wireless antennas and tooling around them
<ebonics> how else would you describe "cloud" or "big data" in 1 or 2 words that's more semantic than those words
<xxneolithicxx> spicymagpie: i grepped that ;-)
<al2o3-cr> baweaver: ah cool :)
<Aeyrix> ebonics: Cloud: Scalable (virtual, sometimes) server farm.
<Aeyrix> ebonics: Big Data: "millions of <x> per hour"
<ebonics> cloud means exactly that, no?
<Aeyrix> Cloud doesn't mean shit.
<SpicyMagpie> al2o3-cr: if you want to have an idea, there is a book called "Ruby for System Administration".
Joufflu has quit [Read error: Connection reset by peer]
<ebonics> it does though
<al2o3-cr> thing with ruby with me, it just intrigues me
<ARYAN1488> anyone interested in doing a rails app for the aryan nation?
<havenwood> !mute ARYAN1488
<Aeyrix> LOL
Cache_Money has quit [Remote host closed the connection]
<Aeyrix> ebonics: Cloud is so arbitrary, it doesn't have a hard definition at all. I just kind of made that up and that's *my own* definition of it.
<Aeyrix> You'll never find "Cloud_(Computing)" on Wikipedia with a definition.
Cache_Money has joined #ruby
<Aeyrix> Just fluffy balderdash about what it 'kind of' means and what paradigms it pertains to.
<Aeyrix> Same with big data.
<al2o3-cr> really though blocks got me ;)
<Aeyrix> I just define it myself as meaning <x>.
<baweaver> Like that?
<SpicyMagpie> clouds aren't arbitrary, actually. It will rain tomorrow, I see some clouds coming.
<ebonics> i'm just saying it's a succinct way to convey a meaning. everyone understands what you mean when you say cloud
<Aeyrix> baweaver: >with a definition
psy_ has joined #ruby
<Aeyrix> "Cloud computing allows application software to be operated using internet-enabled devices."
<Aeyrix> ... no, that's what remote procedure calls do.
<Aeyrix> That's not what cloud computing does.
<Aeyrix> ebonics: Do they, though?
<Aeyrix> Does my definition of cloud match up to yours?
<ebonics> pretty much yeah
<Aeyrix> My definition of big data clearly doesn't match up to baweaver's because they got offended.
* baweaver feels this is getting ridiculously pedantic
<Aeyrix> baweaver: The terms don't have a hard definition. It's idiotic.
<ebonics> there's a line between being accurate and being pedantic
<baweaver> one that was crossed a while ago
<Aeyrix> And you can't be accurate with a term with as little boundary as 'cloud'.
<ebonics> i think this falls into the realm of pedantic but i'm not 100% sure why you have your view
<al2o3-cr> havenwood: what did/do use it for?
<sevenseacat> Aeyrix: you remind me of pipework.
<Aeyrix> Some people define cloud computing as two vps'
<Aeyrix> or something
<SpicyMagpie> I do cloud computing.
djbkd has joined #ruby
<Aeyrix> or even one digitalocean
<Aeyrix> because, hey, it scales
icebourg has quit []
<Aeyrix> some people define it as an AWS farm spanning a couple hundred instances or above
<baweaver> well, honestly more of posturing at this point.
<Aeyrix> sevenseacat: ok
<ebonics> Aeyrix, just for argument's sake can you give me an example or two how the word cloud could be misconstrued
<ebonics> in a real world scenario
<Aeyrix> ebonics: I kind of
<Aeyrix> mentioned that above.
<SpicyMagpie> cloud computing means network computing. it's the term used by publicists to promote something old and making it new.
ARYAN1488 has left #ruby [#ruby]
<ebonics> i mean in actual language
<ebonics> not you saying that cloud means two vps' or something
<Aeyrix> That wasn't me.
<Ropeney> spicymagpie: do you think "Ruby for System Administration" is still relevant how long ago it was published?
<Aeyrix> That was someone else in the RamNode IRC channel.
<SpicyMagpie> Ropeney: I should've mentioned that it gives you an example of what you can do with Ruby besides Rails.
<ebonics> i think that it's hard to find a clear example of it being misconstrued to the point where it actually affects anything
<Ropeney> spicymagpie: Oh i ask because it came up on my list to buy but i didnt know if it was too dated
<ebonics> being hyper accurate has no benefit over calling it cloud
<Aeyrix> ebonics: I disagree.
<Aeyrix> Context: I work in security, as a consultant. Sometimes (pretty much daily), clients will call and ask us to conduct a penetration test.
<SpicyMagpie> Ropeney: it's still worth reading, it has interesting examples of real-life PITA's resolved with Ruby.
<ebonics> so do i actually
<ebonics> that's literally what i do
<Aeyrix> Now, if it's of something *in the cloud*, that means we generally have to get permission from the service provider.
iliketurtles has joined #ruby
<ebonics> for what?
<Aeyrix> ... for the penetration testing?
<Aeyrix> What you just randomly hit other people's boxes when someone who claims they own the content on it asks you to?
<ebonics> pretty much yeah
<Aeyrix> Oh dear.
<ebonics> who would hire a sec agency to do that
<SpicyMagpie> what's the difference with what Kevin Mitnick does now? He asks for permission to the network administrators before performing security tests.
<ebonics> and "hit"?
<Aeyrix> ebonics: I've done stress testing for clients before.
<ebonics> it's not like i'm ddosing it
<Aeyrix> Ah, I have.
jottr_ has joined #ruby
<al2o3-cr> spicymagpie: penetration tester (ethical) lol
<Aeyrix> Anyway, my work still mandates that permission is obtained by the client from the service provider for us to conduct an assessment on their infrastructure.
<Aeyrix> You can see where I'm going with this, surely.
rippa has joined #ruby
<Aeyrix> And it has happened.
<al2o3-cr> spicymagpie: people get there buzzez out of life
<Aeyrix> spicymagpie: More or less yeah.
<Aeyrix> That and he hosts a marketplace for exploits.
<al2o3-cr> it's an addiction
<Aeyrix> Mhm.
hanmac1 has joined #ruby
<al2o3-cr> like some people get there buzzes out of life gambling, drugs, drinking whatever it may be
sandelius has joined #ruby
Channel6 has quit [Quit: Leaving]
<Aeyrix> ebonics: I've seen people get confused as to whether they need permission because they're not sure if their 'cloud' is on site or off site.
<al2o3-cr> he's got an understanding many people can't comprehend
<Aeyrix> I've seen people claim to be into big data when all they have is Hadoop on a laptop.
<Aeyrix> You can see why this irritates me, surely?
jottr_ has quit [Ping timeout: 240 seconds]
jack_rabbit has quit [Ping timeout: 252 seconds]
* al2o3-cr stop babbling
<Aeyrix> al2o3-cr: You're right though.
<ebonics> Aeyrix, most sec that i do is all static analysis. the actual pentesting is just a few scans with tools to cover the bases
<Aeyrix> ebonics: Malware?
<Aeyrix> I ask out of curiosity.
Lucky__ has joined #ruby
<al2o3-cr> Aeyrix: knowledge is power
<Aeyrix> It's an area I don't do much in, and wish I could do more.
cedge has joined #ruby
duncannz has joined #ruby
cedge has left #ruby [#ruby]
<ebonics> Aeyrix, yeah mostly finding/removing shells, fixing the common header attacks, sql injections, xss, xsrf etc.
<al2o3-cr> if you don't perseverse you go no where
<ebonics> Aeyrix, most exploits that ive removed would not be visible from a simple pentest
ahmetkapikiran has joined #ruby
<ebonics> Aeyrix, what tools do you use generally?
<SpicyMagpie> exploits and scans. what tools do you use? any open source suggestion to do it by myself on a few sites?
<al2o3-cr> if you can understand from a packet level your laughing
<ebonics> cxs is basically the best piece of software every for detecting shells and malware
<zenspider> their / nowhere / you're
<ebonics> also good for blocking malware from entering the network ie. email and uploads
<zenspider> grammar is power
<ebonics> it's non-free though
iamjarvo has joined #ruby
<al2o3-cr> zenspider: nevr waz mi strongg pont
bruno- has joined #ruby
<ebonics> for pentesting i use w3af a lot
<zenspider> anyone have a good understanding of bison vs byacc?
<SpicyMagpie> is there something free to test rails apps?
<SpicyMagpie> open source**
<ebonics> mostly anything you'd find on kali i have used before with varying success
<sevenseacat> brakeman ?
<baweaver> spicymagpie: brake....
<baweaver> dangit
<baweaver> ninja'd
<sevenseacat> winner
<cubesandcode> hey guys do you have any recommendations for learning vanilla Ruby? I don't want to start learning Rails until I get a good grasp of Ruby first
<Aeyrix> ebonics: I dont' do simple.
<Aeyrix> We do very in-depth stuff, specifically for that reason.
<zenspider> they're coming out with brakeman pro... I want a cut of every dime they haven't made yet
<ebonics> Aeyrix, but do you do blackbox testing only?
<Aeyrix> No.
diegoaguilar has joined #ruby
<baweaver> zenspider: heavy contributor to the original?
<ebonics> ok so you do everything
<Aeyrix> We do black/white/"gray".
<Aeyrix> Yes.
diegoaguilar has quit [Read error: Connection reset by peer]
<zenspider> baweaver: based on my stuff, but I haven't written a lick of code directly for brakeman, no.
<ebonics> what tools do you use for pentesting
<zenspider> STILL
<ebonics> what's your like go-to tool?
<Aeyrix> I don't have one.
<baweaver> Principle of the matter
<baweaver> gotcha
<Aeyrix> Right tool for the right job dawg.
<zenspider> baweaver: eeeexactly
casadei has joined #ruby
<al2o3-cr> shit i remember when metasploit was written in perl # zenspider please correct the spelling ;p
<ebonics> sure, i mean if there's dav then..
<ebonics> i mean in general
io_syl has quit []
cht has joined #ruby
<Aeyrix> My favourite tool is probably some of the stuff I've developed internally for web app pentesting.
sigurding has joined #ruby
<baweaver> cubesandcode: Get friendly with the Enumerable docs
<al2o3-cr> maybe a comma ?
<Aeyrix> I really dislike Burp which is kind of everyone's go-to for reconnaisance.
<ebonics> why do you dislike it
<SpicyMagpie> I'm an idiot, was looking for "dangit".
<Aeyrix> Have you ever tried writing a plugin for Burp?
<Aeyrix> If you haven't: Don't.
<Aeyrix> Just don't.
<ebonics> i haven't
<cubesandcode> baweaver: ill look into it thanks
<Aeyrix> Good.
<zenspider> cubesandcode: yup. Enumerable. Array, Hash, String... loooots of stuff in those 4
<baweaver> I'm almost tempted to start recommending sets
bruno- has quit [Ping timeout: 245 seconds]
<Aeyrix> ebonics: What about you for analysis?
<baweaver> It's my new cheeky goto for get unique items in an array without uniq
<cubesandcode> I'm familiar with most of those from programming in other languages, do they differ in Ruby?
sent1nel has quit [Remote host closed the connection]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HotCoder has joined #ruby
<baweaver> cubesandcode: Enumerable is where a lot of the power is, the others explain how Ruby works with those classes
<ebonics> Aeyrix, i use w3af a lot, and some header fuzzing scripts i wrote myself. other than that it kinda depends as you said
<baweaver> The three big ones there are map, reduce, and select
awwaiid has quit [Ping timeout: 252 seconds]
BlackGear has joined #ruby
<baweaver> >> (1..5).map { |x| x * 2 }
<ruboto> baweaver # => [2, 4, 6, 8, 10] (https://eval.in/367970)
<baweaver> >> (1..5).reduce(0) { |acc, x| acc + x }
<ruboto> baweaver # => 15 (https://eval.in/367971)
<baweaver> >> (1..5).select { |x| x % 2 == 0 }
<ruboto> baweaver # => [2, 4] (https://eval.in/367972)
<Aeyrix> ebonics: If you use W3AF you might be interested in Arachni.
* baweaver knows there's shorthand for them
<ebonics> Aeyrix, i have been interested in arachni
<ebonics> yeah i know
<Aeyrix> Thoughts on it?
<ebonics> but it's non-free
<Aeyrix> Arachni?
<Aeyrix> What? It's OSS.
<ebonics> for commercial use it's non-free
<ebonics> it's dual licensed
<Aeyrix> Not for use in a consulting capacity.
<Aeyrix> I read through it.
<Aeyrix> You can't:
<Aeyrix> Resell it
<ebonics> a lot of what i do with w3af is follow up scans on autopilot
<Aeyrix> Use it as a scanner-as-a-service.
<ebonics> but maybe for the initial pentest
<Aeyrix> ebonics: According to the license if you're the one pressing the 'go' button on Arachni, you can use it.
<al2o3-cr> sevenseacat: for you https://ptpb.pw/U7Fp :)
jbomo has quit []
<ebonics> i didnt read the license very well, butats interesting though Aeyrix
<ebonics> i just saw commercial license and was like well shit
User458764 has joined #ruby
<ebonics> i dont mind commercial if they tell you a price
<Aeyrix> Nah that's only for people who want to package it and sell it (and specifically it) as a service.
<ebonics> yeah i mean i actually do do that
<ebonics> but i can use w3af for that
<Aeyrix> You literally sell "Arachni as a service"?
<Aeyrix> Or, W3AF as a service.
<ebonics> i literally sell w3af as a service yeah
<Aeyrix> Do your clients press the 'go' button or do you?
<ebonics> neither
<ebonics> it's autopilot
SouL_|_ has quit [Ping timeout: 256 seconds]
<Aeyrix> Oh.
<Aeyrix> Damn. :\
Shidash has quit [Remote host closed the connection]
<Aeyrix> It's like one guy heading it so I can't imagine the price will be that high for a commercial license.
<ebonics> i did contact him about it
<ebonics> he basically just said whats the scope of your project
<ebonics> and i didnt respond cause it's like..
<ebonics> why do you ask m8
<Aeyrix> Technically, penetration testing.
<al2o3-cr> gem install rex
freerobby has quit [Quit: Leaving.]
<Aeyrix> Wrong tab. ;)
ARYAN1488 has joined #ruby
<al2o3-cr> Aeyrix: for you
awwaiid has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
tagrudev has joined #ruby
scuey has joined #ruby
io_syl has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
hectortrope has joined #ruby
wallerdev has quit [Quit: wallerdev]
rotcetorptekcop has joined #ruby
rotcetorptekcop has quit [Remote host closed the connection]
<al2o3-cr> HD Moore computer genius :)
<al2o3-cr> and I mean that
jenrzzz has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<hectortrope> Hi any one have idea about api's
<hectortrope> ?/
<Aeyrix> hectortrope: ?
<Aeyrix> That's a very, very vague question.
<Aeyrix> Also
<Aeyrix> ?ask
<ruboto> Don't ask to ask. Just ask your question, and if anybody can help, they will likely try to do so.
rotcetorptekcop has joined #ruby
<Aeyrix> What're you after, specifically?
<al2o3-cr> Aeyrix: let ask then :)
rotcetorptekcop has quit [Remote host closed the connection]
<hectortrope> Aeyrix: but this is ruby chaneel so I wamt to confirm can I ask
<al2o3-cr> hectortrope: permission granted
<SpicyMagpie> we're not php. just ask. :)
<Aeyrix> hectortrope: If it's Rails APIs you're talking about then you may be better off in #RubyOnRails.
thatslifeson has quit []
Cache_Money has quit [Quit: Cache_Money]
zotherstupidguy has joined #ruby
<hectortrope> I work on api management system caleed apigee ...to add backend service of yahoo weather api i use weather.yahooapis.com like thst if I want to add github stripe and any other apis what link should I provide
juanpaucar has joined #ruby
<hectortrope> al2o3-cr:
chrissonar has joined #ruby
<al2o3-cr> now i know what zenspider was on about
<Aeyrix> ?
<hectortrope> this is very off topic question
<hectortrope> can someon ehelp as there is no api channel
<Aeyrix> hectortrope: I don't even know how to answer that.
<hectortrope> Aeyrix: plz i know it might be very noobish
<hectortrope> but plz help
<Aeyrix> hectortrope: I guess the issue is that the Yahoo weather API, you can use without authentication.
<Aeyrix> You don't have to log in to Yahoo weather.
<Aeyrix> You do to Github, and Stripe.
<Aeyrix> So the answer is "with difficulty, and probably not in a way you want to."
tubuliferous has joined #ruby
<hectortrope> ok but how can i use those api's
<hectortrope> like which link should I provide for backend
<hectortrope> I am practising
* ebonics thinks its a troll
<Aeyrix> ebonics: Benefit of doubt.
<Aeyrix> Until I see Radar +o.
<Radar> what
<hectortrope> any api like yahoo weather
<Aeyrix> jej
<SpicyMagpie> hectortrope: just read the documentation of the apis you want.
<Aeyrix> hectortrope: I don't see the purpose of what you're trying to do.
<Aeyrix> Are you trying to offer the API functionality yourself?
<Aeyrix> If so: Why would you do that? There's a reason APIs aren't bundled into one place.
<ebonics> i think he wants examples of apis similar to yahoo weather that he can use for practise
<hectortrope> Aeyrix: I am trying API Management
<hectortrope> apigee
<hectortrope> not developing work
<hectortrope> ebonics: Yes
<hectortrope> I want to practise
juanpaucar has quit [Ping timeout: 265 seconds]
bmurt has quit []
<ebonics> hectortrope, you can try an email api with mandrill, a push queue with iron.io
<ebonics> amazon api, ebay api
<Aeyrix> ebonics: Thank.
<Aeyrix> hectortrope: Facebook Graph API :^)
<Aeyrix> 4chan API
shaileshg has joined #ruby
<Aeyrix> Mainly because they offer mixed content.
<hectortrope> herethey used backend url for yahoo weather now how can I know the backend url's for specific api's
<Aeyrix> You look them up.
<hectortrope> Aeyrix: yes but how can I provide backend url
<Aeyrix> Search "<website> API" on Google
tubuliferous has quit [Ping timeout: 258 seconds]
baweaver has quit [Remote host closed the connection]
bronson has quit [Read error: Connection reset by peer]
<SpicyMagpie> write your own api with apiary.io
<Aeyrix> That's a clever name tbh
<ebonics> i cant pronounce it
bronson has joined #ruby
<hectortrope> from there how can I know what is their backednd url like weather.yahooapis.com
<ebonics> dont you need to like pay for ads to use the graph api
<SpicyMagpie> nope
<SpicyMagpie> Facebook Graph is the whole API.
chinmay_dd has joined #ruby
<hectortrope> Ok Got it
<hectortrope> Thanks a ll
<hectortrope> all*
arup_r has joined #ruby
<hectortrope> ebonics: Aeyrix spicymagpie
<hectortrope> thanks
<ebonics> np
bronson has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
wallerdev has joined #ruby
psy_ has quit [Read error: No route to host]
psy_ has joined #ruby
chinmay_dd has quit [Client Quit]
chinmay_dd has joined #ruby
RegulationD has joined #ruby
arup_r has quit [Ping timeout: 272 seconds]
awwaiid has quit [Ping timeout: 246 seconds]
sigurding has quit [Quit: sigurding]
oo_ has joined #ruby
codecop has joined #ruby
<Aeyrix> ebonics: a p i ary i guess
abuzze has quit [Remote host closed the connection]
<Aeyrix> or apeeary
<al2o3-cr> >> p(1) << 8
<ruboto> al2o3-cr # => 1 ...check link for more (https://eval.in/367976)
<Aeyrix> I can't do hard e on this keyboard ;-;
Jays1 has joined #ruby
<al2o3-cr> Aeyrix: is a h4x0r
<Jays1> Hey guys when I "> gem list" it shows nokogiri in the list but when I try to run GRUNT premailer, the error says its not installed. Has anyone had this problem before on winodows 8?
bronson has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
<Jays1> THis show the problem but the only one without a solution
Rodya_ has quit [Quit: Leaving...]
speakingcode has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 272 seconds]
<Aeyrix> >> gem list
<ruboto> Aeyrix # => undefined local variable or method `list' for main:Object (NameError) ...check link for more (https://eval.in/367977)
<Aeyrix> Why did I think that would work.
<Aeyrix> >> `gem list`
<ruboto> Aeyrix # => (https://eval.in/367978)
<al2o3-cr> Aeyrix: like thats gonna happen ;p
<Aeyrix> ;-;
scuey has quit [Ping timeout: 272 seconds]
SouL_|_ has joined #ruby
casadei has quit [Remote host closed the connection]
bmurt has joined #ruby
<Jays1> Anyone?
bmurt has quit [Client Quit]
krz has quit [Ping timeout: 246 seconds]
pwnz0r has joined #ruby
ChiggerZ has quit [Ping timeout: 246 seconds]
krz has joined #ruby
<al2o3-cr> Jays1: pass don't use windowz
<al2o3-cr> *windows
awwaiid has joined #ruby
<Jays1> Tell that to my boss
<Jays1> And their enterprise windows license
ARYAN1488 has quit [Ping timeout: 246 seconds]
<al2o3-cr> :(
<Jays1> Any other suggestions
<Jays1> It's gotta be something simple like adding a path or something
<al2o3-cr> Jays1: #rubyonrails # maybe
<Jays1> Alright Ill try
<Jays1> Thanks
<al2o3-cr> np
GriffinHeart has joined #ruby
abuzze has joined #ruby
<Aeyrix> Jays1: ok.
<Aeyrix> I'll write a letter to your boss
<Aeyrix> telling them that they absolutely did not do their research
<Aeyrix> I remember having issues with nokogiri as well.
<Aeyrix> Jays1: Load irb in a command prompt and run enter require 'nokogiri'
amclain has quit [Quit: Leaving]
laurentide__ has joined #ruby
fedexo has joined #ruby
rdark has joined #ruby
Rickmasta has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
Beamed is now known as beamed_down
michael_mbp has quit [Excess Flood]
abuzze has quit [Ping timeout: 250 seconds]
Rickmasta has joined #ruby
tvw has joined #ruby
bruno- has joined #ruby
mengu has joined #ruby
laurentide_ has quit [Ping timeout: 256 seconds]
<al2o3-cr> ruby, ruby, rubyyyyy nanananaaaa
michael_mbp has joined #ruby
<Jays1> Aeyrix: Sorry, type what?
zubov has quit [Ping timeout: 256 seconds]
<Jays1> ah
abuzze has joined #ruby
<Jays1> Aeyrix:
<Jays1> C:\Windows\system32>irb
<Jays1> irb(main):001:0> require 'nokogiri'
<Jays1> LoadError: cannot load such file -- nokogiri/nokogiri
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/
<Jays1> kernel_require.rb:54:in `require'
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/
<Jays1> kernel_require.rb:54:in `require'
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri
<Jays1> -1.6.6.2-x64-mingw32/lib/nokogiri.rb:29:in `rescue in <top (required)>'
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/gems/2.2.0/gems/nokogiri
<Jays1> -1.6.6.2-x64-mingw32/lib/nokogiri.rb:25:in `<top (required)>'
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/
<Jays1> kernel_require.rb:128:in `require'
<Jays1> from C:/Program Files (x86)/Ruby22-x64/lib/ruby/2.2.0/rubygems/core_ext/
<Jays1> kernel_require.rb:128:in `rescue in require'
<zenspider> al2o3-cr: damnit
<zenspider> sorry... not at al2o3-cr .
<zenspider> Jays1: don't do that. use a paste service.
<al2o3-cr> zenspider: ;p
<zenspider> esp w/ that linewrapped crap
shock_one has joined #ruby
abuzze_ has joined #ruby
<Jays1> Read first
<zenspider> excuse me?
<havenwood> Jays1: https://gist.github.com/
<zenspider> al2o3-cr: I was gonna ask, why are you installing rex?
<al2o3-cr> zenspider: was ment for Aeyrix :)
<zenspider> oh. n/m. not the ruby lexer generator. you're all still on your security wanking
djbkd has quit [Quit: My people need me...]
<Aeyrix> wat?
<Aeyrix> >> p 'zenspider pls'
<ruboto> Aeyrix # => "zenspider pls" ...check link for more (https://eval.in/367979)
bruno- has quit [Ping timeout: 264 seconds]
<Aeyrix> Thanks ruboto.
<zenspider> I don't think the original rex was ever released as a gem, which is part of why tenderlove did rexical
<al2o3-cr> zenspider: what the fuck you going on about?
<Aeyrix> top lel
<zenspider> I thought for a sec that you were installing a decrepit library and was going to warn you off... looks like it is now a security tool
<Aeyrix> Jays1: `gem list -d`
<Aeyrix> Paste to gist
<al2o3-cr> zenspider: you're decrepid
<Aeyrix> rekt
abuzze has quit [Ping timeout: 245 seconds]
<al2o3-cr> don't take well to fucking idiots
<Aeyrix> hey now
cjim_ has quit [Quit: (null)]
<sevenseacat> al2o3-cr: watch it.
<Aeyrix> zenspider's not an idiot :x
pabloh has joined #ruby
<Aeyrix> And even if he were, calm it.
<al2o3-cr> sevenseacat: security wanking ?
<havenwood> al2o3-cr: Insults and ad hominem attacks aren't welcome in this channel.
<sevenseacat> al2o3-cr: no, you insulting people.
<zenspider> al2o3-cr: excuse me? I was trying to help.
<al2o3-cr> how?
gagrio has joined #ruby
<Aeyrix> zzz
<Aeyrix> Can we just stop
<Aeyrix> please
<zenspider> I've already explained. I don't need to comment further on it.
<al2o3-cr> zenspider: ok
<Aeyrix> al2o3-cr: zenspider doesn't like security folk
<sevenseacat> yes, please. next insult will get a kick.
<al2o3-cr> sevenseacat: my apologies
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Alina-malina has joined #ruby
<pabloh> anyone here with some understanding of encodings?
<sevenseacat> s'ok
<zenspider> pabloh: some. just ask.
<al2o3-cr> zenspider: sorry, my mad took it the wrong way
<al2o3-cr> *bad
<zenspider> no worries
<Aeyrix> tfw i'm still on /ignore
<xxneolithicxx> man i missed all that confusing fun, i still dont understand what happened
<xxneolithicxx> pabloh: whats your question on encoding?
<flughafen> moioiioin
lotherk has quit [Quit: leaving]
<pabloh> writing to an IO object with some encoding (like a file or IOString), will automaticaly convert your input strings to the right encoding if they are not the same?
ahmetkapikiran has quit [Quit: ahmetkapikiran]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abuzze has joined #ruby
lotherk has joined #ruby
lotherk has quit [Client Quit]
lotherk has joined #ruby
aeontech has quit [*.net *.split]
SuperTaz_ has quit [*.net *.split]
malcolmva has quit [*.net *.split]
babaganousha has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
surs has quit [*.net *.split]
kenndel has quit [*.net *.split]
TDJACR has quit [*.net *.split]
knikolov has quit [*.net *.split]
pocketprotector has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
systemd0wn_ has quit [*.net *.split]
Jamo has quit [*.net *.split]
ryotarai has quit [*.net *.split]
bhaak has quit [*.net *.split]
jblancett has quit [*.net *.split]
preller has quit [*.net *.split]
\13k has quit [*.net *.split]
eregon has quit [*.net *.split]
csaunders has quit [*.net *.split]
lsmola_ has quit [*.net *.split]
rikai has quit [*.net *.split]
nickjj has quit [*.net *.split]
freeze has quit [*.net *.split]
scottstamp has quit [*.net *.split]
Kharma has quit [*.net *.split]
mrsolow has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
drizz has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
parus has quit [*.net *.split]
oddmunds has quit [*.net *.split]
Kovensky has quit [*.net *.split]
scruple has quit [*.net *.split]
_5moufl has quit [*.net *.split]
Morrolan has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
parus has joined #ruby
bhaak has joined #ruby
Jamo has joined #ruby
preller has joined #ruby
preller has quit [Changing host]
preller has joined #ruby
jblancett has joined #ruby
drizz has joined #ruby
<zenspider> pabloh: no. if they're compatible (7 bit ascii writing to utf8) then it'll work, but it'll otherwise blow up on the first incompatible encoded char
systemd0wn has joined #ruby
queequeg1 has joined #ruby
freeze has joined #ruby
knikolov has joined #ruby
tautvydas has quit [Excess Flood]
\13k has joined #ruby
lsmola_ has joined #ruby
ryotarai has joined #ruby
csaunders has joined #ruby
kenndel has joined #ruby
Kovensky has joined #ruby
babaganousha has joined #ruby
SuperTaz_ has joined #ruby
nickjj has joined #ruby
surs has joined #ruby
_5moufl has joined #ruby
scottymeuk has joined #ruby
marcellus has joined #ruby
malcolmva has joined #ruby
Morrolan has joined #ruby
PierreRambaud has joined #ruby
roger_rabbit has joined #ruby
pocketprotector has joined #ruby
eregon has joined #ruby
rikai has joined #ruby
ahmetkapikiran has joined #ruby
pocketprotector has quit [Client Quit]
oddmunds has joined #ruby
pocketprotector has joined #ruby
Rollabunna has joined #ruby
abuzze_ has quit [Ping timeout: 276 seconds]
inspiron has joined #ruby
tautvydas has joined #ruby
<xxneolithicxx> 2.x has options for auto encode on out
<xxneolithicxx> for IO
<pabloh> xxneolithicxx, global or by IO steam?
<xxneolithicxx> IO
Soda has joined #ruby
<pabloh> remember which option, method?
aganov has joined #ruby
jottr_ has joined #ruby
<pabloh> xxneolithicxx, thanx I'll check
<zenspider> you can open up a stream and set it up to downgrade bad encoded chars to some blah value
Jays1 has quit []
<zenspider> you don't want that because it is lossy
<zenspider> it is a LOT easier to simply manage your encodings correctly
<zenspider> what do you have going on?
<zenspider> chances are, I've been bitten by it :)
ponga has joined #ruby
clauswitt has joined #ruby
fabrice31 has joined #ruby
abuzze has quit [Ping timeout: 272 seconds]
Rollabunna has quit [Ping timeout: 245 seconds]
TDJACR has joined #ruby
konsolebox has quit [Ping timeout: 258 seconds]
jottr_ has quit [Ping timeout: 245 seconds]
<pabloh> basically I'm reading from an input that's Windows_1252 or UTF-8 encoded and I have to produce an output that's always Windows_1252 encoded
havenwood has quit []
<pabloh> and a lot of transformation in beetween but that's encoding agnostic
<pabloh> between*
iliketurtles has quit [Remote host closed the connection]
inspiron has quit [Quit: Leaving]
<zenspider> do you know when the file is utf8 instead of 1252? or is it random?
wildroman2 has joined #ruby
haxrbyte has joined #ruby
Tamae has joined #ruby
al2o3-cr has quit [Ping timeout: 245 seconds]
<pabloh> the input strings encoding is properly set, if that's what you asked
al2o3-cr has joined #ruby
abuzze_ has joined #ruby
<pabloh> so yes, I know the encoding at runtime
wildroman2 has quit [Read error: No route to host]
ta has joined #ruby
<pabloh> don't have to detect it or anything
duderonomy has joined #ruby
wildroman2 has joined #ruby
duderonomy has quit [Max SendQ exceeded]
<zenspider> ok. then, if the encodings are compatible, you should be able to have it transliterate. you said you're doing munging in between... the source (internal) encoding ALSO needs to be compatible
<zenspider> for like, gsub regexps and the like
neanderslob has joined #ruby
<zenspider> this is still probably the best blog post on encodings: http://graysoftinc.com/character-encodings/ruby-19s-three-default-encodings
maletor has quit [Quit: Computer has gone to sleep.]
shock_one has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
shock_one has joined #ruby
konsolebox has joined #ruby
pwnz0r has quit [Remote host closed the connection]
<pabloh> ok, I didn't consider the regexps operations could be problematic
kaspernj has joined #ruby
logart has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pabloh> maybe I should make sure is all utf-8 before doing everything else, and the convert to 1252
abuzze_ has quit [Remote host closed the connection]
<pabloh> zenspider, thanks
shock_on_ has joined #ruby
shock_one has quit [Read error: Connection reset by peer]
Jackneill has joined #ruby
arietis has joined #ruby
<zenspider> pabloh: that's been my strategy
haxrbyte_ has joined #ruby
anisha has joined #ruby
haxrbyte_ has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
rubycasts_io_ has joined #ruby
abuzze has joined #ruby
nfk|laptop has quit [Ping timeout: 255 seconds]
aspiers has quit [Ping timeout: 252 seconds]
haxrbyte has quit [Ping timeout: 255 seconds]
haxrbyte has joined #ruby
dumdedum has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
lxsameer has joined #ruby
sandelius has joined #ruby
hanmac has quit [Ping timeout: 265 seconds]
ahmetkapikiran has joined #ruby
turtil has quit [Ping timeout: 250 seconds]
abuzze_ has joined #ruby
abuzze has quit [Ping timeout: 246 seconds]
lotherk has quit [Quit: leaving]
lotherk has joined #ruby
narcan has joined #ruby
rubycasts_io_ has quit [Read error: Connection reset by peer]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
ahmetkapikiran has quit [Client Quit]
io_syl has quit []
dudedudeman has quit [Ping timeout: 258 seconds]
abuzze_ has quit [Ping timeout: 256 seconds]
bruno- has joined #ruby
dcarmich has joined #ruby
alex88 has joined #ruby
rubycasts_io_ has joined #ruby
<rubycasts_io_> evening
rocknrollmarc has joined #ruby
msgodf has joined #ruby
<apeiros> moin rubycasts_io_
Juanchito has joined #ruby
AxonetBE has joined #ruby
TheHodge has joined #ruby
zotherstupidguy has quit [Ping timeout: 252 seconds]
lotherk has quit [Quit: leaving]
bruno- has quit [Ping timeout: 258 seconds]
abuzze has joined #ruby
jud^ has joined #ruby
kaspernj has quit [Quit: Leaving]
dudedudeman has joined #ruby
oo_ has quit [Remote host closed the connection]
Hounddog has joined #ruby
hanmac has joined #ruby
lotherk has joined #ruby
jud has quit [Ping timeout: 240 seconds]
juanpaucar has joined #ruby
dudedudeman has quit [Ping timeout: 258 seconds]
selu has joined #ruby
tubuliferous has joined #ruby
longfeet has quit [Ping timeout: 272 seconds]
fabrice31_ has joined #ruby
juanpaucar has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Ping timeout: 250 seconds]
tubuliferous has quit [Ping timeout: 245 seconds]
zotherstupidguy has joined #ruby
Schwarzbaer_ has quit [Ping timeout: 258 seconds]
oo_ has joined #ruby
rocknrol_ has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
vdamewood has joined #ruby
chipotle has joined #ruby
dudedudeman has joined #ruby
TigerWolf has quit [Ping timeout: 252 seconds]
miah has joined #ruby
A205B064 has quit [Ping timeout: 265 seconds]
ahmetkapikiran has joined #ruby
<adaedra> Bonjour
rocknrol_ has quit [Read error: Connection reset by peer]
bronson has quit [Ping timeout: 256 seconds]
<flughafen> adaedra: ca va!
Mon_Ouie has joined #ruby
<pabloh> ça va!
jmhmccr has quit [Quit: Connection closed for inactivity]
RegulationD has joined #ruby
aspiers has joined #ruby
<adaedra> :)
rocknrollmarc has joined #ruby
User458764 has joined #ruby
scottstamp has joined #ruby
bronson has joined #ruby
rocknrollmarc has quit [Read error: Connection reset by peer]
rocknrollmarc has joined #ruby
wildroman2 has quit []
rocknrollmarc has quit [Read error: Connection reset by peer]
krz has quit [Ping timeout: 256 seconds]
wallerdev has quit [Quit: wallerdev]
<pabloh> is there a way to ask Ruby what's the system preferred newline?, for instance if you are at windows, it should be "\r\n" and "\n" at Unix
<adaedra> there's a global for that
<pabloh> great?
<adaedra> $/
RegulationD has quit [Ping timeout: 240 seconds]
<pabloh> which?
<adaedra> (had to check)
<pabloh> adaedra, excellent, thanks a lot!
<ytti> puts does that automatically
<pabloh> ytti, I working on strings
<pabloh> directly
antgel has joined #ruby
<ytti> is there $/ in more descriptive manner, without require 'english'
<ytti> i really really hate seeing $ at all
<ytti> and despise seeing $<magic_char> in core
<ytti> code
<pabloh> I was actually looking for a constant instead of a global though, that's a bit surprising
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<ytti> i'm sure you can do require 'english'
<ytti> and do $SOMETHING
<ytti> but yeah, i'd prefer const too
User458764 has quit [Quit: Textual IRC Client: www.textualapp.com]
<pabloh> ytti, I've been using ruby for years and didn't know about 'english' :-0
mikecmpbll has joined #ruby
<ytti> pabloh, i don't really understand why something exist without require 'english' and some things dont
shaileshg has quit [Quit: Connection closed for inactivity]
<Mon_Ouie> It's not require 'english' btw, it's require 'English'
<pabloh> Mon_Ouie, yup, I just saw
<pabloh> thanks, anyway
<ytti> like why is there $LOAD_PATH without english?
oo_ has quit [Quit: Leaving...]
oo_ has joined #ruby
<ytti> but seemingly no option for $/
terlar has joined #ruby
niko has quit [Ping timeout: 624 seconds]
lidenskap has joined #ruby
charliesome has quit [Quit: zzz]
<ddfreyne> Oh yikes. I thought we got rid of 'English' by now.
<rubycasts_io_> keep irc
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rubycasts_io_ has quit [Quit: Leaving]
codeFiend has joined #ruby
<ddfreyne> I'd like that to be part of core.
<ytti> agreed
<ytti> i'd like $<magic> to disappear
<tagrudev> certainty, ping
<ytti> the motivation is ridiculous
<ytti> 'oh it'll be so much faster to write $: than $LOAD_PATH, cost of developing this software will reduce dramatically!'
yh__ has quit [Ping timeout: 240 seconds]
<adaedra> :|
<ytti> my main productivity cuplrit is long descriptive variable and method names
djellemah has quit [Ping timeout: 256 seconds]
mengu has quit [Ping timeout: 264 seconds]
<pabloh> ytti, yeap you have $RS and $INPUT_RECORD_SEPARATOR
<ytti> pabloh, but not without english?
joonty has joined #ruby
<ytti> pabloh, so maybe stuff like
<ytti> require 'English'
<pabloh> ah, yeea sry, u need English for that
<ytti> NEWLINE = $INPUT_RECORD_SEPARATOR
niko has joined #ruby
djellemah has joined #ruby
krz has joined #ruby
michael_mbp has quit [Excess Flood]
sevenseacat has joined #ruby
<adaedra> $BORING = self
abuzze has quit [Remote host closed the connection]
haxrbyte_ has joined #ruby
Ropeney has quit [Quit: Textual IRC Client: www.textualapp.com]
<pabloh> adaedra, you can start porting English to core... ;)
<adaedra> I don't have problem with $/ to begin.
michael_mbp has joined #ruby
Kharma has joined #ruby
<pabloh> that's a shame...
mrsolow has joined #ruby
xxtjaxx has quit [Ping timeout: 264 seconds]
* apeiros dislikes non-speaking variable names
haxrbyte has quit [Ping timeout: 264 seconds]
Seich has quit [Ping timeout: 265 seconds]
ndrei has quit [Ping timeout: 272 seconds]
sepp2k has joined #ruby
abuzze has joined #ruby
mandarinkin has joined #ruby
fedexo has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
joelataylor has quit [Quit: Be back later ...]
gaboesquivel has joined #ruby
joelataylor has joined #ruby
niko has quit [Read error: Connection reset by peer]
niko has joined #ruby
scruple has joined #ruby
einarj has joined #ruby
Seich has joined #ruby
gaboesquivel has quit [Ping timeout: 250 seconds]
joelataylor has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
Schwarzbaer has joined #ruby
mengu has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
* ddfreyne has joins/leaves/quits turned off. Makes IRC such a nicer experience.
<sevenseacat> makes it an easier-to-read one, thats for sure.
bruno- has joined #ruby
<Darkwater> if only I could condense joins and parts in irssi
livathinos has joined #ruby
<sevenseacat> the only problem with hiding them is that I don't see kicks either, and sometimes when i press kick textual doesnt kick, so i need to go check the logs to make sure it worked
<ddfreyne> I switched from irssi to weechat around two weeks ago. I set it up to only show joins/leaves/parts for people that have chatted recently.
robbyoconnor has quit [Read error: Connection reset by peer]
<sevenseacat> #firstopproblems
cosmicexplorer has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
sent1nel has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
dudedudeman has quit [Ping timeout: 240 seconds]
idafyaid has quit [Ping timeout: 256 seconds]
robbyoconnor has joined #ruby
jottr_ has joined #ruby
sent1nel has quit [Ping timeout: 255 seconds]
ahmetkapikiran has joined #ruby
dudedudeman has joined #ruby
Stalkr_ has joined #ruby
arietis has quit [Quit: Leaving.]
lkba has quit [Ping timeout: 276 seconds]
Pathfinder has joined #ruby
charliesome has joined #ruby
MatthewsFace has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
rahult_ has quit [Ping timeout: 272 seconds]
konsolebox has quit [Ping timeout: 264 seconds]
Vile` has quit [Ping timeout: 265 seconds]
MatthewsFace has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
Rollabunna has joined #ruby
ascarter_ has joined #ruby
einarj_ has joined #ruby
einarj has quit [Ping timeout: 256 seconds]
shuber_ has quit [Remote host closed the connection]
Rollabunna has quit [Ping timeout: 250 seconds]
OrbitalKitten has joined #ruby
bluOxigen has joined #ruby
Zai00 has joined #ruby
guardianx has joined #ruby
badlands has joined #ruby
konsolebox has joined #ruby
<badlands> Has anyone encountered strange erros such as these when running a ruby file https://gist.github.com/deadlysyntax/c4a5f589588a4490f246 ? Google is showing me nothing
centrx has joined #ruby
Igorshp has joined #ruby
P1RATEZ has quit [Quit: sleep 04:56:52]
<apeiros> badlands: probably should rebuild either the extension or ruby
<badlands> what the extension?
cubesandcode has quit [Remote host closed the connection]
<apeiros> from your error: "gems/json-1.8.2"
<badlands> ah, so basically reinstall json? How do I rebuild that one specifically?
BlackGear has quit [Quit: ZZZzzz…]
<apeiros> gem uninstall json; gem install json -v 1.8.2
mengu has quit [Remote host closed the connection]
platzhirsch has joined #ruby
<badlands> ok, tried and still receiving errors, should rebuild ruby?
oo_ has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
dudedudeman has quit [Ping timeout: 240 seconds]
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wildroman2 has joined #ruby
yh__ has joined #ruby
tubuliferous has joined #ruby
<apeiros> badlands: that's the next step I'd take, yes
<badlands> great, thank you
<apeiros> and after rebuilding ruby, I'd rebuild the gem again, as gems are built against the current ruby.
<apeiros> make sure you're building the gem against/with the ruby you're using it with
Stalkr^ has joined #ruby
<apeiros> rvm should actually ensure that. but maybe you borked your setup.
<badlands> roger that. Appreciate your help
<apeiros> yw. the error does look exotic to me though, and I'm not entirely sure about the solution.
platzhirsch has left #ruby [#ruby]
lkba has joined #ruby
<badlands> yeah I've fluffed something along the way, I'm not sure when things went from working to not because I've been deploying straight to a staging server and it's environment seems fine
oo_ has joined #ruby
Stalkr_ has quit [Ping timeout: 245 seconds]
abuzze has joined #ruby
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
<badlands> dang, still not working
wWw-BukoLay-Com has joined #ruby
<apeiros> weird
<apeiros> maybe that version of json gem does not work with that version of ruby
<apeiros> do you need 1.8.2? if not, try upgrading.
<badlands> hmm, 2.2.1 ruby and 1.8.7 json
<badlands> sorry 1.8.2
<apeiros> hm, though, I have ruby 2.2.2 and use json 1.8.2 too
c0m0 has joined #ruby
doertedev has joined #ruby
MasterPiece has joined #ruby
DerisiveLogic has quit [Ping timeout: 250 seconds]
quimrstorres has joined #ruby
dudedudeman has joined #ruby
panga has joined #ruby
panga has quit [Client Quit]
<jhass> funnily enough it should have been fixed with 1.8.2 https://github.com/flori/json/issues/229
ponga has quit []
ponga has joined #ruby
timonv has joined #ruby
lidenskap has quit [Ping timeout: 264 seconds]
einarj_ has quit [Ping timeout: 264 seconds]
einarj has joined #ruby
dudedudeman has quit [Ping timeout: 246 seconds]
n008f4g_ has joined #ruby
Darryl___ has quit [Quit: Connection closed for inactivity]
unshadow has quit [Quit: leaving]
wWw-BukoLay-Com has quit []
crus has quit [Read error: Connection reset by peer]
zotherstupidguy has quit [Ping timeout: 272 seconds]
fabrice31 has joined #ruby
marr has joined #ruby
wpp has joined #ruby
arietis has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
juanpaucar has joined #ruby
sandelius has joined #ruby
arup_r has joined #ruby
tubuliferous_ has joined #ruby
fabrice31_ has quit [Ping timeout: 255 seconds]
sevenseacat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chthon has joined #ruby
unshadow has joined #ruby
bruno- has joined #ruby
juanpaucar has quit [Ping timeout: 272 seconds]
psy_ has quit [Ping timeout: 246 seconds]
joonty has quit [Quit: joonty]
einarj has quit [Ping timeout: 258 seconds]
neanderslob has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 258 seconds]
jayeshsolanki has joined #ruby
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
einarj has joined #ruby
bruno- has quit [Ping timeout: 245 seconds]
vdamewood has quit [Ping timeout: 245 seconds]
ramfjord has quit [Ping timeout: 244 seconds]
CloCkWeRX1 has joined #ruby
zotherstupidguy has joined #ruby
wpp_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
zotherstupidbot has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
jottr_ has joined #ruby
duncannz has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Ping timeout: 255 seconds]
<shevy> ddfreyne I never understood why people wanna see join and quit messages
grubernaut has quit []
wpp has quit [Ping timeout: 252 seconds]
grubernaut has joined #ruby
low-profile has joined #ruby
<centrx> I like it because it shows time passing, without filling up every line with timestamps
<Darkwater> it makes old messages feel old
<centrx> yeah
<Darkwater> it's a bad excuse but who cares
einarj has quit [Ping timeout: 246 seconds]
einarj has joined #ruby
RegulationD has joined #ruby
vdamewood has joined #ruby
<apeiros> shevy: on channels I'm op, for opper reasons. on channels I'm not op, I want to know whether somebody who asked a question left already.
<apeiros> but I still want smart join/part messages :-|
bayed has joined #ruby
<zotherstupidguy> shevy: its a cool event-driven api
jottr_ has quit [Ping timeout: 272 seconds]
ping-pong has quit [Ping timeout: 272 seconds]
<jhass> apeiros: switch to weechat already :P
<apeiros> :-/
<shevy> zotherstupidguy an API?
<shevy> your IRC nick is so long!
<zotherstupidguy> yup, like i wanna send shevy a welcome msg when he logs in
<zotherstupidguy> shevy you type slow?
<shevy> I type like a god
<zotherstupidguy> ;)
<shevy> but only short nicks
<adaedra> apeiros: I use tab-complete to be sure if someone is still in the chan.
<zotherstupidguy> why everybody say weechat better than irssi
jimms has joined #ruby
<centrx> Welcome jimeh
<shevy> it's just like vim versus emacs
<adaedra> because it is O:)
<apeiros> adaedra: I actually do too if there's been lots of join/parts in the meantime
<shevy> peechat versus snakety snake ssssi
<zotherstupidguy> weechat is a terminal or window app?
RegulationD has quit [Ping timeout: 264 seconds]
dudedudeman has joined #ruby
<adaedra> terminal
<shevy> they don't have enough power to become a GUI z-guy
<jimeh> centrx: you mean jimms didn't you? lol
<centrx> maybe
<centrx> Welcome Everybody! Now the meeting can begin!
<jimeh> :)
<adaedra> weechat is like irssi, but usable, zotherstupidguy :p
<zotherstupidguy> ok, will try it now
<jimeh> weechat is pretty nice, been using on headless boxes for a few years... on my laptop I use Textual though :P
gluten_hell_ has joined #ruby
<shevy> centrx is like the ultimate channel cheerleader
<centrx> Hoorah! Hurray! Huzzah! Kazoo! Shevay!
<centrx> WHO LOVES RUBY!?
<adaedra> No ones
<centrx> :(
<adaedra> s/s//
<shevy> ruby is about 85% perfect
<adaedra> centrx: you fell in a coma. Time is 2115, and we all code in JavaScript derivatives now.
<centrx> Bunch of lazy downers in here
<centrx> yeah yeah, JS is the new ASM BS
<shevy> I just woke up!
phutchins has quit [Ping timeout: 256 seconds]
einarj has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
Fluent has joined #ruby
shuber_ has joined #ruby
GriffinHeart has joined #ruby
MasterPiece has quit [Quit: Leaving]
<ddfreyne> It’s all about Rust and Crystal and Nim now
<centrx> fads
<centrx> 80% of developers are still using Java and C++
<shevy> now you depressed me centrx
<adaedra> shevy: go in a coma.
<shevy> lol
<centrx> shevy, Would you be interested in helping me maintain a VAX system from about 1985?
<shevy> ack
<shevy> I'd rather rewrite this in PHP
zotherstupidbot has quit [Remote host closed the connection]
zotherstupidbot has joined #ruby
<centrx> Check out this printer I might buy
<shevy> is there a simple way to find out whether ruby has openssl support or has not?
<centrx> Print Speed: Color
<centrx> Color: 20
<adaedra> shevy: require 'openssl' ?
einarj has quit [Ping timeout: 244 seconds]
<adaedra> centrx: how cool.
jenrzzz has joined #ruby
zotherstupidbot has quit [Remote host closed the connection]
zotherstupidbot has joined #ruby
lordkryss has joined #ruby
wpp_ has quit [Ping timeout: 240 seconds]
einarj has joined #ruby
<zotherstupidguy> centrx have you watched print me if you dare? https://www.youtube.com/watch?v=njVv7J2azY8
<shevy> adaedra ah yes, I forgot that for some reason
zotherstupidbot has quit [Remote host closed the connection]
fabrice31 has quit [Remote host closed the connection]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
djellemah has quit [Ping timeout: 252 seconds]
clauswitt has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Remote host closed the connection]
allenn has joined #ruby
allenn has quit [Remote host closed the connection]
crack_user1 has quit [Quit: Leaving.]
rahult has joined #ruby
AlphaAtom has joined #ruby
eythoriu1 has quit [Ping timeout: 272 seconds]
zotherstupidguy has quit [Quit: leaving]
zotherstupidguy has joined #ruby
<zotherstupidguy> and now i am a weechat guy,
<adaedra> Congrats!
<ddfreyne> Wee!
<adaedra> Now customize it.
<zotherstupidguy> adaedra how?
<zotherstupidguy> i see a right column of users but dont know wht to do it with it
<adaedra> /plugin to install plugins
<zotherstupidguy> ideas?
<adaedra> the iset plugin is really good to change settings
lidenskap has joined #ruby
ndrei has joined #ruby
ankit has joined #ruby
Synthead has quit [Ping timeout: 244 seconds]
Stalkr^ has quit [Changing host]
Stalkr^ has joined #ruby
<Fluent> You should upgrade your weechat version
<Fluent> 0.4.2 has vulns
tvw has quit []
<adaedra> 0.4.2?
<adaedra> what are you using, debian?
cubesandcode has joined #ruby
<shevy> he is using weechat adaedra
hectortrope has quit [Quit: WeeChat 0.4.2]
<adaedra> >_>
lidenskap has quit [Ping timeout: 265 seconds]
hectortrope has joined #ruby
Stalkr^ is now known as Filuren
<zotherstupidguy> adaedra yeah, the guys on the weechat channel said the same exact thing, debian vulrs :)
<zotherstupidguy> i thought debian gets the stable nice boring version with no vulrs
<adaedra> We're at 1.0+ now iirc
<Fluent> It is
<Fluent> 1.2 I think
<adaedra> pkg search weechat
quimrstorres has quit [Remote host closed the connection]
<Fluent> Well 1.2 is the latest stable version
<adaedra> oops, wrong window.
Filuren is now known as Stalkr_
<mduk> has anyone here successfully created multipart userdata for EC2 instances with ruby? I just don't seem to be getting anywhere using the `mime` gem. The multipart entity created *seems* fine, but it just doesn't *do* anything. No errors, no success, no nothing. :( Anyone have any pointers?
<mduk> (if i pass non-multipart userdata, that works just fine, so cloud-init is there and doing it's thing inside the instance)
<Fluent> I would recommend you post some kind of code and maybe run it through a debugger like pry
Mezjin has joined #ruby
<shevy> I don't know what the mime gem does
mathie has quit [Quit: Quitting...]
mathie has joined #ruby
<mduk> shevy: creates multipart mime entities :)
lkba_ has joined #ruby
<mduk> Fluent: I have pry'd it left-right-and-centre, i can see nothing wrong. :(
_blizzy_ has joined #ruby
<mduk> i was hoping to find a working example i could reference/mercilessly steal :P
bruno- has joined #ruby
ankit has left #ruby [#ruby]
duderonomy has joined #ruby
n008f4g_ has quit [Ping timeout: 258 seconds]
zotherstupidguy has quit [Quit: WeeChat 0.4.2]
<mduk> if i Base64.encode64( yaml ) straight up, jq gets installed. if i wrap it in the MIME::Multipart::Mixed, then it doesn't :(
lkba has quit [Ping timeout: 272 seconds]
trampi has quit [Remote host closed the connection]
fabrice31 has joined #ruby
Synthead has joined #ruby
jimms has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
hectortrope has quit [Quit: WeeChat 0.4.2]
iamninja has quit [Read error: Connection reset by peer]
mengu has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
iamninja has joined #ruby
meph has joined #ruby
<shevy> a working example
<shevy> you may be the first dude here to have tried to use the above
guardianx has quit [Remote host closed the connection]
GriffinHeart has quit [Remote host closed the connection]
TinkerTyper has quit [Ping timeout: 272 seconds]
anekos has quit [Quit: Tiarra 0.1+svn-39036: SIGTERM received; exit]
ringarin has joined #ruby
anekos has joined #ruby
TinkerTyper has joined #ruby
alex88_ has joined #ruby
ponga has quit [Quit: Leaving...]
wpp has joined #ruby
Rollabunna has joined #ruby
einarj has quit [Ping timeout: 240 seconds]
anekos has quit [Client Quit]
quimrstorres has joined #ruby
alex88 has quit [Ping timeout: 276 seconds]
charliesome has quit [Quit: zzz]
doodlehaus has joined #ruby
einarj has joined #ruby
wpp has quit [Client Quit]
rahult is now known as rahult_
Rollabunna has quit [Ping timeout: 255 seconds]
ta has quit [Remote host closed the connection]
rahult_ is now known as rahult
Synthead has quit [Ping timeout: 244 seconds]
clauswitt has joined #ruby
<shevy> whoa
<shevy> weechat uses cmake to compile
<shevy> guess cmake is slowly winning
<adaedra> if it can guess us rid of configure.* thing, I'll let it win.
<adaedra> s/guess/get/
einarj has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
zotherstupidguy has joined #ruby
<shevy> hehe
<zotherstupidguy> shevy what you laugyin at?
<shevy> zotherstupidguy he lets it win - if we can do away with GNU autoconfigure
<shevy> only gripe I have is that "./configure --help" is easier for the user to use than the cmake-variants
<shevy> consider these two, in quotes:
rodfersou has joined #ruby
<shevy> "./configure --prefix=/usr"
<shevy> "cmake -DCMAKE_INSTALL_PREFIX=/usr ."
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dudedudeman has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
<adaedra> I can allow it, if people write it correctly in their README/INSTALL
sheepman has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 250 seconds]
Synthead has joined #ruby
<shevy> nah
krz has quit [Quit: WeeChat 1.0.1]
<shevy> it's a downgrade man!
<adaedra> and don't cmake in the sources folders directly, keep sources and build separate
einarj has joined #ruby
<shevy> k so another downgrade
Stalkr_ has left #ruby ["Linkinus - http://linkinus.com"]
bronson has joined #ruby
<adaedra> you call that a downgrade? okay.
<shevy> sure
d3m0n has quit []
mandarinkin has quit [Ping timeout: 256 seconds]
juanpaucar has joined #ruby
zotherstupidguy has quit [Quit: WeeChat 1.2]
bronson has quit [Ping timeout: 240 seconds]
ndrei has quit [Ping timeout: 244 seconds]
einarj has quit [Ping timeout: 246 seconds]
tubuliferous_ has joined #ruby
<shevy> if only things could evolve towards simplicity
dudedudeman has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
einarj has joined #ruby
juanpaucar has quit [Ping timeout: 252 seconds]
lidenskap has joined #ruby
tubuliferous_ has quit [Ping timeout: 255 seconds]
dudedudeman has quit [Ping timeout: 256 seconds]
Blaguvest has joined #ruby
pandaant has joined #ruby
zotherstupidguy has joined #ruby
joonty has joined #ruby
lidenskap has quit [Ping timeout: 255 seconds]
joonty has quit [Client Quit]
einarj has quit [Ping timeout: 256 seconds]
ShortyCode has quit [Quit: g'night]
einarj has joined #ruby
RegulationD has joined #ruby
pandaant has quit [Remote host closed the connection]
Papierkorb has joined #ruby
oo_ has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
lxsameer has quit [Ping timeout: 246 seconds]
mandarinkin has joined #ruby
pandaant has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
atox has joined #ruby
tesuji_ has joined #ruby
DEA7TH has joined #ruby
mandarinkin has quit [Ping timeout: 256 seconds]
mandarinkin has joined #ruby
Shidash has joined #ruby
shock_on_ has quit [Read error: Connection reset by peer]
tesuji_ has quit [Read error: Connection reset by peer]
ahmetkapikiran has quit [Ping timeout: 244 seconds]
shock_one has joined #ruby
tesuji_ has joined #ruby
einarj has quit [Ping timeout: 264 seconds]
shock_one has quit [Read error: Connection reset by peer]
shock_one has joined #ruby
waseem_ has left #ruby ["WeeChat 1.1.1"]
fabrice31 has quit [Remote host closed the connection]
ldnunes has joined #ruby
einarj has joined #ruby
mandarinkin has quit [Ping timeout: 240 seconds]
SouL_|_ has quit [Ping timeout: 272 seconds]
dudedudeman has joined #ruby
_blizzy_ has quit [Ping timeout: 258 seconds]
aswen has joined #ruby
ta has joined #ruby
badlands has quit [Quit: ChatZilla 0.9.91.1 [Firefox 38.0.1/20150513174244]]
puppeh has joined #ruby
sdothum has joined #ruby
jimms has joined #ruby
n008f4g_ has joined #ruby
LBRapid has quit [Ping timeout: 265 seconds]
Nightmare has quit [Ping timeout: 265 seconds]
hoelzro has quit [Ping timeout: 265 seconds]
cubesandcode has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 250 seconds]
C1V0 has quit []
hoov has joined #ruby
hoelzro has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LBRapid has joined #ruby
Nightmare has joined #ruby
gkra has quit [Ping timeout: 265 seconds]
Muz has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
gkra has joined #ruby
Muz has joined #ruby
iasoon has joined #ruby
Ilyes512 has joined #ruby
vt102 has joined #ruby
abuzze_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
bmurt has joined #ruby
ponga has joined #ruby
OrbitalKitten has joined #ruby
abuzze_ has quit [Read error: Connection reset by peer]
einarj has quit [Ping timeout: 264 seconds]
abuzze has joined #ruby
CloCkWeRX1 has quit [Ping timeout: 272 seconds]
einarj has joined #ruby
hectortrope has joined #ruby
davedev24_ has joined #ruby
ta has quit [Remote host closed the connection]
qwertme has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
hectortrope has quit [Client Quit]
edwinvdgraaf has joined #ruby
maksportnyagin has joined #ruby
<maksportnyagin> Hi all. Anyone speak Russian?
<ytti> njet
<adaedra> Het
chinmay_dd has quit []
banister has joined #ruby
<ytti> mokba 4 lyfe
vikaton has quit []
doodlehaus has joined #ruby
<apeiros> maksportnyagin: I think there's a russian ruby channel
cubesandcode has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
but3k4 has joined #ruby
a346 has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abuzze has quit [Remote host closed the connection]
rahult is now known as rahult_
rahult_ is now known as rahult
mengu has quit [Remote host closed the connection]
abuzze has joined #ruby
qwertme has joined #ruby
ta has joined #ruby
yh__ has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Remote host closed the connection]
BTRE has quit [Quit: Leaving]
serivich has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
joonty has joined #ruby
<ytti> schwarzbaer, nice
abuzze has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
freerobby has joined #ruby
poikon has quit []
poikon has joined #ruby
<maksportnyagin> apeiros: I can’t find russian channel
rahult is now known as rahult_
rahult_ is now known as rahult
abuzze has quit [Read error: Connection reset by peer]
<apeiros> maksportnyagin: #ruby-ru
Hobogrammer has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
<apeiros> it's almost always either #ruby.TLD or #ruby-TLD
Hobogrammer has joined #ruby
chinmay_dd has joined #ruby
<maksportnyagin> apeiros: ruby-ru don’t have a members
doodlehaus has joined #ruby
charliesome has quit [Quit: zzz]
<shevy> maksportnyagin use simplified english :)
<apeiros> maksportnyagin: ok, can't help with that
<shevy> apeiros make some members!!!
<shevy> learn russian!!!!!!
<flughafen> shevy: apeiros is so lazy!
<shevy> yeah
<shevy> probably has a lot to do
<ponga> russian is 4th place of my 'language to learn' list
<apeiros> maksportnyagin: I suggest you ask russian speaking rubyists to join #ruby-ru then.
<shevy> 4th place? what are the other three?
abuzze has quit [Remote host closed the connection]
<ponga> 1) french 2) spanish 3) mandarin 4)russian
<ponga> 5) esperanto
<shevy> cool
fella5s has quit [Read error: No route to host]
<exons> Le français c'est bien :)
<shevy> mandarin would be kinda cool right? you'd have like ... 1.3 billion extra people to talk to in their native tongue
abuzze has joined #ruby
CamonZ has joined #ruby
<ponga> shevy: that's why i learnt English sir
<shevy> :)
__chris has joined #ruby
<ponga> see? im talking to german right now in ENG
<exons> Mandarin and Russian are on my list too, but I never took the time to even read the book I bought
<ponga> English serves a tool to learn other western language for me
doodlehaus has quit [Remote host closed the connection]
<ponga> i'd learn euro languages thru english than my 1st language
<apeiros> my list is actually 1) spanish, 2) japanese, 3) mandarin, 4) thai
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abuzze_ has joined #ruby
<apeiros> maybe 3 <-> 4
<ponga> why japanese apeiros
<apeiros> seriously? :D
einarj has quit [Ping timeout: 252 seconds]
<apeiros> ruby. that's why.
abuzze has quit [Read error: Connection reset by peer]
<ponga> i just picked up japanese cos it was too easy anyway
<ponga> ah hah
<apeiros> japanese is easy? you're asian then I presume?
abuzze_ has quit [Read error: Connection reset by peer]
<ponga> apeiros: im korean
<apeiros> is korean related to japanese?
<ponga> for korean to learn japanese is like spanish guy learning portuguess
TinkerTyper has quit [Ping timeout: 256 seconds]
abuzze has joined #ruby
<apeiros> I see
<ponga> apeiros: altho phonetics and alphabet are different, semantics and syntax are like 98% equal
<ponga> so its just looking at dictionary and apply
fella5s has joined #ruby
AlphaAtom has joined #ruby
<apeiros> nice
<ponga> and the word usage is similar too
<apeiros> maybe 5) korean then for me :D
pwattstbd has joined #ruby
<ponga> for example you say "my face is broad" , implying that one has many friends
<ponga> in korean its "my foot is broad"
Cust0sLim3n has quit [Ping timeout: 265 seconds]
<ponga> even the semantics is very close
einarj has joined #ruby
ta has quit [Remote host closed the connection]
<ponga> and no need to mention that almost any noun in japanese is same in korean, cos both come from chinese letters
joonty has quit [Quit: joonty]
TinkerTyper has joined #ruby
<shevy> spanish and portuguese are really quite similar; italian is also very close to the other two
<shevy> ponga well we can learn korean through "PSY - Gangnam style" :D
<ponga> welp i think i will learn just french then shift away from euro zone
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
<ponga> i still think it became viral just cos PSY looks like Kim Jong Il
<ponga> in the vid
freerobby has quit [Quit: Leaving.]
fella5s has quit [Read error: No route to host]
Rollabunna has joined #ruby
jimms has quit [Remote host closed the connection]
Rollabunna has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hectortrope has joined #ruby
livathinos has quit [Ping timeout: 264 seconds]
codecop_ has joined #ruby
einarj has quit [Ping timeout: 258 seconds]
codecop has quit [Ping timeout: 245 seconds]
alex88 has joined #ruby
jottr_ has joined #ruby
goodcodeguy has joined #ruby
einarj has joined #ruby
djellemah has joined #ruby
alex88_ has quit [Ping timeout: 256 seconds]
ismaelga has joined #ruby
<shevy> haha
<shevy> nah, he looks chubby-happy
<shevy> like most koreans aren't chubby
<shevy> but he is!
<ponga> shevy: i actually thought of german in the first place
<shevy> I dunno... german is a weird language. Phonetically it is not as nice as e. g. english or italian
<ponga> but apparently french is easier for english speaker
jottr_ has quit [Ping timeout: 272 seconds]
zly has quit [Ping timeout: 265 seconds]
<ponga> and germans speak splendid English anyway
<shevy> I always heard that japanese is a simple language (spoken language)
<ponga> phonetic-wise, yeah
<shevy> I just can't get myself to want to learn those symbols :(
<ponga> but the syntax will be very unusual to you europeans
<ponga> jap/kor syntax
<shevy> yeah, it seems much harder
Igorshp has quit [Remote host closed the connection]
<shevy> well korean was easier to understand
<ponga> shevy: its more explicit of tone
<ponga> syntax covers tone too
Psi-Jack has joined #ruby
zly has joined #ruby
<ponga> korean syntax is more fuckedup version of japanese shev
<shevy> yes that kicks me off too; i read one chinese character can have like 3 different meanings, depending on the intonation
<ponga> um no shevy that's not what im talking about
<shevy> isn't it an alphabet?
<ponga> no im not talking about that shevo
<shevy> hmm now I am confused
Igorshp has joined #ruby
<ponga> for example 'go' in japanese is 'iku' and if you add -yo at the end 'ikuyo' means same thing
Psi-Jack has left #ruby [#ruby]
<ponga> but only tone is added
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ponga> shevy: ikuyo is declarative mood of iku(go)
<ponga> so if you want to say something like 'lets go' in japanese you have to use mood grammar
<shevy> hehe
<ponga> actually you always have to use proper mood grammar all the time
<shevy> I remember that asking a question was, to add a -ka
<shevy> like tabemasu-ka
<ponga> 'ikuzo' is musculine declarative
<shevy> "wanna eat"? or something like that
<ponga> 'ikuno' is feminine declarative AND interrogative
lordkryss has quit [Quit: Connection closed for inactivity]
einarj has quit [Ping timeout: 240 seconds]
<flughafen> oh, and interrogative. how interesting
<ponga> shevy: and 'ikuze' is juvenile decalarative
timonv has quit [Read error: Connection reset by peer]
<shevy> flughafen yeah
ndrei has joined #ruby
<ponga> there TONS of these tone grammar and you have to use them properly ALL THE TIME
<ponga> it applies to japanese and korean
<shevy> flughafen that is the part where you think you are speaking the language, but with a wrong intonation the others think you insult them :)
<shevy> and draw their katana!
sgambino has joined #ruby
<ponga> well this is one reason why i hate euro-based linguists
<shevy> hehe
<ponga> they have no idea outside their boundary
<shevy> yeah
<shevy> it's confusing to know so much!
<shevy> and scary
einarj has joined #ruby
<ponga> shevy: in terms of natural language processing, this mood syntax actually helps it
<ponga> cos its more explicit to comprehend the context
gluten_hell_ has quit [Read error: Connection reset by peer]
dorei has joined #ruby
<dorei> hello
abuzze has quit [Read error: Connection reset by peer]
<dorei> is there a better way to write: ['1', '5'].map(&method(:Integer))
<dorei> ?
gluten_hell_ has joined #ruby
abuzze has joined #ruby
GaryOak_ has joined #ruby
<apeiros> yes. map { |i| Integer(i) }
<ponga> shevy: there are many forms of interrogative tone in japanese, 'ka' is general use , 'ne' is indicative but can be used as interrogative(question) of uncertainty
<apeiros> but: taste
<ponga> so if you say 'iku-yo-ne' go + declarative + interrogative + uncertainty. it means something like "you are going to go there right?"
xxtjaxx has joined #ruby
<ponga> i find this friendlier to machine than English
<ponga> in terms of NLP
Zamyatin has joined #ruby
Zamyatin has quit [Remote host closed the connection]
<ponga> apeiros: i can dnftly help you learn Japanese ser!
<ponga> im very skilled
<dorei> ponga: shouldn't machine first deduct "you" ?
<apeiros> nice. will try to remember. I probably won't start the next ~18 months.
<flughafen> iiotenki desune
<flughafen> wakka wakka
<ponga> dorei: unlike English, japanese/korean do not require subject in sentence
<ponga> that's very English oriented way of thinking
<dorei> ponga: so, the machine doesnt require subject too?
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deuterium has joined #ruby
TheNet has joined #ruby
<ponga> well that's why English language has dummy subject too
charliesome has joined #ruby
<ponga> i don't think machine would need something that humans don't
iasoon has quit [Ping timeout: 276 seconds]
<ponga> i mean, "its raining" has nothing to do with 'it'
<dorei> ponga: i think humans always 'deduct' context
<ponga> its empty object
goodcodeguy has joined #ruby
charliesome has quit [Client Quit]
GaryOak_ has quit [Ping timeout: 265 seconds]
<ponga> dorei: at the end of the day, deduction of context is very difficult not only subject
mengu has joined #ruby
<ponga> it applies to every component
cajone has left #ruby [#ruby]
lechuk has quit [Read error: Connection reset by peer]
einarj has quit [Ping timeout: 272 seconds]
ismaelga has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
cubesandcode has quit [Remote host closed the connection]
<ponga> dorei: and what i was suggesting is a mere opinion that japanese/korean mood grammar helps a lot in deduction of context
bronson has joined #ruby
cardoni has quit []
<ponga> cos its explicit syntax role
beamed_down is now known as Beamed
cardoni has joined #ruby
einarj has joined #ruby
Schwarzbaer has left #ruby ["Leaving"]
Rapier- has joined #ruby
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
RegulationD has joined #ruby
ndrei has quit [Ping timeout: 258 seconds]
havenwood has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
juanpaucar has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
zubov has joined #ruby
maksportnyagin has quit [Quit: maksportnyagin]
mary5030 has joined #ruby
timonv has joined #ruby
tubuliferous_ has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
hololeap has joined #ruby
slawrence00 has joined #ruby
segfalt has joined #ruby
<hololeap> is there a "better" way to write this: hash.select {|k,v| array.include? k }
fmcgeough has joined #ruby
<shevy> seems pretty short as is
JDiPierro has joined #ruby
<adaedra> in active support there's slice
<adaedra> hash.slice(*array)
<ponga> seems pretty short
<hololeap> adaedra: thanks. that's what i was looking for
<apeiros> depending on the relative sizes, array.map { |k| [k, hash[k]] }.to_h may perform much better.
<apeiros> @ hololeap
<apeiros> hash.slice being the best option if available
downwithbender has joined #ruby
juanpaucar has quit [Ping timeout: 264 seconds]
hoov has quit [Ping timeout: 255 seconds]
commondream has joined #ruby
<apeiros> (select + include is O(n*m), map+to_h is O(n), where n = array.size and m = hash.size)
ndrei has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
tubuliferous_ has quit [Ping timeout: 244 seconds]
einarj has joined #ruby
griffindy has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<hololeap> apeiros: thanks. i will keep that in mind
jmignault has joined #ruby
bronson has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<jhass> hololeap: if you don't need the keys: hash.values_at(*array)
rahult has quit [Quit: Back to the world of zombies]
yh__ has joined #ruby
<hololeap> jhass: i need to keep the keys since i am passing it as an option hash
<jhass> was a 50/50 chance ;)
<hololeap> :)
lapinferoce has joined #ruby
commondream has quit [Ping timeout: 256 seconds]
mengu has quit [Ping timeout: 240 seconds]
<adaedra> this is a nice channel.
endash has joined #ruby
<adaedra> where asking a question may rice 5 valid answers in less than 5 minutes.
<adaedra> "rice" >_>
<adaedra> rise*
fabrice31 has joined #ruby
<shevy> we have a lot of rice here in the channel
<shevy> and baguette
<adaedra> no
<adaedra> I ate it.
bronson has quit [Ping timeout: 245 seconds]
<shevy> you make me hungry
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ta has joined #ruby
<shevy> adaedra do you eat italian-made pizza as well?
<adaedra> It can happen, yes.
<shevy> we have a lot of turkish pizza... pizza slices. they are not bad but not nearly as good as those made in big stone-ovens
fella5s has joined #ruby
banister has joined #ruby
<adaedra> I don't know, I just remember chocolate from Austria.
enebo has joined #ruby
dblessing has joined #ruby
firevolt has quit []
dstarh has joined #ruby
firevolt has joined #ruby
<shevy> hmm
<shevy> we usually have the best chocolate imported from ... (a) switzerland and (b) belgium
quimrstorres has quit [Remote host closed the connection]
atox has quit [Remote host closed the connection]
<adaedra> ok
airdisa has joined #ruby
einarj has quit [Ping timeout: 272 seconds]
<ericwood> hmmm I wonder if imagemagick can stack animated gifs
shazaum has joined #ruby
<hololeap> what is the best IDE for ruby/rails projects? i've been using eclipse with the aptana and dltk plugins, but they seem a bit out of date and don't recognize newer syntax
<ericwood> hololeap: people seem to like rubymine, but you'll find *most* rails people prefer using a text editor + terminal
lapinferoce has left #ruby ["Leaving"]
<hololeap> ericwood: sure. what text editor would you recommend in linux?
atox has joined #ruby
doodlehaus has joined #ruby
<ericwood> hololeap: that's a very personal question! I personally like Vim, but I have coworkers who enjoy sublime text
<shevy> I saw another editor based on sublime
<adaedra> hololeap: vim, emacs.
<ericwood> atom is becoming popular but I don't know if it has a linux build...gEdit or whatever is alright
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
<ericwood> Vim takes a while to master but it's fantastic and crazy powerful
<adaedra> atom is js-based, not having a Linux build would be surprising
einarj has joined #ruby
abuzze_ has joined #ruby
<hololeap> i've been using vim for a while, but i was looking for something a little bit more GUI-fied. limetext looks pretty neat
malcolmva has quit [Ping timeout: 276 seconds]
Igorshp has quit [Remote host closed the connection]
<adaedra> gvim
fella5s has quit [Ping timeout: 258 seconds]
<shevy> don't joke man
Xiti has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<ericwood> I use MacVim :D
<shevy> gvim is vim except for that it is slower!
<ponga> fuck
<adaedra> shevy: but it has a toolbar D:
fabrice31 has joined #ruby
<adaedra> :o
<ericwood> overall I prefer the GUI versions of Vim
urbanmonk has joined #ruby
<ponga> wunderlisthelper is using all my pc resource,
<ponga> memory leak?
<ericwood> adaedra: you can configure that in your vimrc!
dopie has quit [Quit: This computer has gone to sleep]
<ericwood> mine hides all the window chrome
abuzze_ has quit [Read error: Connection reset by peer]
<adaedra> ericwood: mine too.
<adaedra> but I switched back to console vim.
<shevy> see!
jerius has joined #ruby
<ericwood> adaedra: I wanted fancier colors :P
abuzze_ has joined #ruby
<adaedra> And MacVim has some weird bugs with fullscreen and multi-screen
<ericwood> MacVim is fantastic because of how it integrates with the system clipboard, that was my main thing :)
<adaedra> ericwood: 256color mode
abuzze has quit [Ping timeout: 245 seconds]
<ericwood> adaedra: there's a build I found that fixes all of those problems in yosemite fyi!
<ericwood> and the tab bugs
<adaedra> this one is on mavericks
<adaedra> but iTerm has none of these problems, so all is good.
abuzze_ has quit [Read error: Connection reset by peer]
<hololeap> i haven't used gui versions of vim. it seemed kinda anti-vim to have things like mouse support
<adaedra> being able to click to change position is nice, though.
<ericwood> I'll say this: I don't click but scrolling support is amazing
<adaedra> that's what I miss.
abuzze has joined #ruby
<ericwood> scrolling is the only reason I set up mouse support
goodcodeguy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mengu has joined #ruby
mengu has joined #ruby
pabloh has quit [Quit: Saliendo]
<shevy> \O/
<zotherstupidguy> >> p Resolv.getaddress "www.ruby-lang.org"
<ruboto> zotherstupidguy # => uninitialized constant Resolv (NameError) ...check link for more (https://eval.in/368164)
<zotherstupidguy> >> require 'resolv'; p Resolv.getaddress "www.ruby-lang.org"
<ruboto> zotherstupidguy # => (https://eval.in/368165)
belak has quit [Ping timeout: 246 seconds]
neektza has joined #ruby
TheNet has quit [Read error: Connection reset by peer]
abuzze_ has joined #ruby
<ericwood> figured out how to layer animated gifs but it won't quantize them (aka have one repeat until they all finish)
hectortrope has quit [Quit: WeeChat 0.4.2]
<ericwood> is there a channel for imagemagick stuff? :)
Vile` has quit [Ping timeout: 264 seconds]
tesuji_ has quit [Read error: Connection reset by peer]
fmcgeough_ has joined #ruby
fmcgeough has quit [Ping timeout: 244 seconds]
fmcgeough_ is now known as fmcgeough
<shevy> when you guys want to store configuration in a yaml file... should this be "config.yml" or "configuration.yml"? (nevermind the extension, it could be .yaml too)
Vile` has joined #ruby
tesuji has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
tesuji has quit [Read error: Connection reset by peer]
abuzze has quit [Ping timeout: 264 seconds]
mengu has quit [Read error: Connection reset by peer]
mengu__ has joined #ruby
dopie has joined #ruby
malcolmva has joined #ruby
gaboesquivel has joined #ruby
belak has joined #ruby
sandelius has joined #ruby
kobain has joined #ruby
Igorshp has joined #ruby
thatslifeson has joined #ruby
livathinos has joined #ruby
kobain has quit [Max SendQ exceeded]
thatslifeson has left #ruby [#ruby]
kobain has joined #ruby
werelivinginthef has joined #ruby
JDiPierro has quit [Remote host closed the connection]
zzak has quit []
zzak has joined #ruby
mengu__ has quit [Ping timeout: 240 seconds]
kobain has quit [Max SendQ exceeded]
kobain has joined #ruby
Rapier- has quit [Remote host closed the connection]
Rapier- has joined #ruby
arup_r has quit [Remote host closed the connection]
orionstein has quit [Quit: ZNC - http://znc.in]
<kq_away> I want to iterate over each consecutie pair of items in my array
<kq_away> how can I do that?
<kq_away> I want [1,2,3,4] -> [[1,2], [2,3], [3,4]]
Agoldfish has joined #ruby
<kq_away> so I don't think each_slice is my thing
orionstein has joined #ruby
<hanmac1> kq_away: each_cons(2)
Igorshp has quit [Remote host closed the connection]
JDiPierro has joined #ruby
<kq_away> thanks!
ta has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<mwlang> Isn’t there an apache module or at least some published regexps/rules out there somewhere that can be used to detect connections that are scanning (and webscraping) your website? (I might be thinking of IPTABLES rules, btw).
Igorshp has joined #ruby
mary5030 has joined #ruby
<mwlang> basically, instead of maintaining a blocklist in Ruby, I want to move this out to the system-level firewall or http server and have it automatically kick-in based on a frequency threshold.
<jhass> mwlang: your term to google is IDS, intrusion detection system. Unrelated to Ruby btw
banister has quit [Read error: Connection reset by peer]
sigurding has joined #ruby
abuzze_ has quit [Read error: Connection reset by peer]
paulcsmith has joined #ruby
<kq_away> can I use it as map, hanmac1 ?
einarj has quit [Ping timeout: 264 seconds]
antgel has quit [Ping timeout: 240 seconds]
<kq_away> it doesn't seem to return anything
<mwlang> jhass: yeah, you’re right…I’m staring in amazement at the Ruby implementation of this in front of me… :-p
abuzze has joined #ruby
<hanmac1> kq_away: each_cons(2).to_a
banister has joined #ruby
quimrstorres has joined #ruby
<mwlang> not at all sure why ppl build this in Ruby at all other than its an “easy way” to provide a backend to the customer who can add ip addresses to block.
mandarinkin has joined #ruby
<kq_away> yay
<kq_away> thanks again
[k- has joined #ruby
antgel has joined #ruby
hoov has joined #ruby
downwithbender has quit [Ping timeout: 258 seconds]
abuzze has quit [Read error: Connection reset by peer]
<jhass> mwlang: a remotely decent IDS let's you add triggers freely, reading some from a database your ruby app writes to shouldn't be hard then
abuzze has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
iamninja has quit [Ping timeout: 272 seconds]
dopie has quit [Quit: This computer has gone to sleep]
edwinvdg_ has joined #ruby
<mwlang> jhass: hmmm…I hadn’t thought about keeping the blocklist, but that’s actually a good idea how to integrate.
abuzze has quit [Read error: Connection reset by peer]
<mwlang> at least it gets the business of rejecting connections out of the ruby server.
<mwlang> (rails app in this case)
abuzze has joined #ruby
einarj has joined #ruby
abuzze_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
umgrosscol has joined #ruby
Soda has quit [Remote host closed the connection]
abuzze has quit [Read error: Connection reset by peer]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
abuzze has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
<ericwood> what's a good place to ask for help with imagemagick? preferrably on IRC
abuzze has joined #ruby
rbennacer has joined #ruby
<adaedra> have you looked if #imagemagick or #magick exists?
<ericwood> nah too much work
<mwlang> ericwood: ask your question…I might be able to answer since I use imagemagick a bit.
<jhass> ericwood: /msg alis help
pwattstbd has quit [Ping timeout: 272 seconds]
urbanmonk has quit [Quit: urbanmonk]
TheNet has joined #ruby
<ericwood> mwlang: trying to layer animated gifs in a way where the shorter ones loop to match the duration of the longest one
sankaber has joined #ruby
<ericwood> trying to recreate a modern version of blingee :|
<TheNet> How can I run a single FileUtils command as root? I don't want to run the entire script as root, ideally I'd prompt the user for a password.
abuzze has quit [Read error: Connection reset by peer]
abuzze_ has quit [Ping timeout: 258 seconds]
io_syl has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
<ericwood> TheNet: sudo
abuzze has joined #ruby
davedev24_ has joined #ruby
vikaton has joined #ruby
<TheNet> ericwood: and `` instead of FileUtils?
p8952 has quit [Quit: ZNC - http://znc.in]
<ericwood> I suppose so
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
<mwlang> ericwood: I’d just google rmagick animated gifs for that one. There’s a few examples like https://gist.github.com/grough/1988486 for one.
cyberarm has joined #ruby
<ericwood> mwlang: yeah, combining animated gifs is easy enough, but the looping /quantizing of shorter ones is tricky
sevenseacat has joined #ruby
abuzze_ has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
urbanmonk has joined #ruby
abuzze_ has quit [Read error: Connection reset by peer]
yh__ has quit [Ping timeout: 256 seconds]
<ericwood> I suppose I could split each gif into its frames then iterate over and combine each
<mwlang> ericwood: I was thinking you just needed a loop to find the longest one and then another loop to construct based on the difference.
abuzze has joined #ruby
<mwlang> ericwood: exactly
Soda has joined #ruby
<ericwood> break each into arrays, loop over longest, etc
io_syl has quit [Client Quit]
endash has quit [Quit: endash]
abuzze has quit [Read error: Connection reset by peer]
_blizzy_ has joined #ruby
<ericwood> that's not too awful I guess. more work than I was hoping for on such a stupid project :P
<mwlang> ericwood: heh…starting to be more work to avoid the stupid work. :-D
abuzze has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
podman has joined #ruby
banister has quit [Ping timeout: 264 seconds]
abuzze has joined #ruby
tautvydas has quit [Ping timeout: 256 seconds]
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
banister has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
lxsameer has joined #ruby
riotjones has quit [Remote host closed the connection]
abuzze has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
abuzze has joined #ruby
rbennacer has joined #ruby
GriffinHeart has joined #ruby
<hfp> Hi all, if I remember correctly, there is a way to write all your environment variables in a file and have a gem to configure them before launching your app, notifying you if some are missing etc. Then all you have to do to keep your secrets is to .gitignore the file. Anybody remembers the name for that gem?
phutchins has joined #ruby
Stalkr_ has joined #ruby
Rollabunna has joined #ruby
Stalkr_ has quit [Changing host]
Stalkr_ has joined #ruby
Stalkr_ is now known as stalkr^
<hfp> mwlang: Yes, looks like it, thanks. Is it Rails only or does it work with anything Ruby?
stalkr^ is now known as stalkr_
stalkr_ is now known as Stalkr_
yalue has joined #ruby
Stalkr_ has quit [Client Quit]
<mwlang> hfp: I think it was written for Rails…ther’s also a dotenv project that’s for any ruby app, but I have no experience with it.
<havenwood> hfp: It's Figarails so consider dotenv instead when you're off the rails.
<havenwood> mwlang: Beat me to the punch. ;)
<hfp> Yes this isn't for a Rails project so I'll use dotenv then
jottr_ has joined #ruby
sankaber has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 265 seconds]
Hirzu_ has quit [Ping timeout: 255 seconds]
aryaching has joined #ruby
<mwlang> havenwood: that’s a *rare* occurance!
clauswitt has quit [Quit: Textual IRC Client: www.textualapp.com]
phutchins has quit [Ping timeout: 255 seconds]
Kricir has joined #ruby
bronson has joined #ruby
Beamed is now known as beamed_down
SouL_|_ has joined #ruby
zotherstupidguy has joined #ruby
yh__ has joined #ruby
cjim_ has joined #ruby
joonty has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 240 seconds]
ismaelga has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
einarj has quit [Ping timeout: 240 seconds]
fabrice31_ has joined #ruby
lavros has joined #ruby
RegulationD has joined #ruby
selu has joined #ruby
einarj has joined #ruby
charliesome has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Quit: WeeChat 1.2]
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
Channel6 has joined #ruby
oo_ has joined #ruby
casadei has joined #ruby
aryaching has quit []
GriffinHeart has quit [Remote host closed the connection]
abuzze_ has joined #ruby
tagrudev has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jottr_ has joined #ruby
thiagovsk has joined #ruby
mtakkman has joined #ruby
dopie has joined #ruby
TheNet has joined #ruby
dudedudeman has quit [Changing host]
dudedudeman has joined #ruby
ismaelga has quit [Remote host closed the connection]
mary5030 has joined #ruby
abuzze has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
ismaelga has joined #ruby
ismaelga has quit [Remote host closed the connection]
ahmetkapikiran has joined #ruby
vivekananda has joined #ruby
aryaching has joined #ruby
lordkryss has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
abuzze_ has quit [Read error: Connection reset by peer]
mwlang has quit [Quit: mwlang]
abuzze has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
abuzze has joined #ruby
ismaelga has joined #ruby
Zamyatin has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
Eiam_ has quit [Ping timeout: 255 seconds]
ismaelga has quit [Remote host closed the connection]
ismaelga has joined #ruby
abuzze has joined #ruby
qwertme has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
duggiefresh has joined #ruby
Zamyatin has joined #ruby
mary5030 has quit [Remote host closed the connection]
snockerton has joined #ruby
mary5030 has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
chinmay_dd has quit []
Rollabunna has quit [Quit: Leaving...]
Zamyatin has quit [Max SendQ exceeded]
yh__ has quit [Ping timeout: 250 seconds]
Zamyatin has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
mary5030 has quit [Ping timeout: 256 seconds]
Ilyes512 has quit [Ping timeout: 252 seconds]
Zamyatin has joined #ruby
lkba_ has quit [Ping timeout: 245 seconds]
dopie has quit [Quit: This computer has gone to sleep]
Ilyes512 has joined #ruby
juanpaucar has joined #ruby
pdoherty has joined #ruby
dopie has joined #ruby
Ilyes512 has quit [Read error: Connection reset by peer]
abuzze has quit [Read error: Connection reset by peer]
yh__ has joined #ruby
abuzze has joined #ruby
Fraeon has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 264 seconds]
dseitz has joined #ruby
abuzze has quit [Read error: Connection reset by peer]
abuzze has joined #ruby
<hololeap> i'm trying to implement something like Queue, where threads that try to access an empty data set are blocked until new data is added. any ideas how to accomplish this? i would rather not use sleep and wakeup since that might interfere with other sleep calls
Dopagod has quit [Ping timeout: 250 seconds]
commondream has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> hololeap: doesn't SizedQueue do that?
<jhass> oh, actually Queue does it
<jhass> why not use Queue?
abuzze has quit [Read error: Connection reset by peer]
a346 has quit [Quit: a346]
abuzze has joined #ruby
meph has quit [Quit: Leaving.]
mcpierce has quit [Ping timeout: 272 seconds]
abuzze has quit [Read error: Connection reset by peer]
tubuliferous_ has joined #ruby
abuzze has joined #ruby
turkey007 has joined #ruby
jbomo has joined #ruby
turkey007 has left #ruby [#ruby]
<hololeap> i'm trying to make queue persistant by adding db calls to push, pop, and shift. i thought about inheriting Queue and adding the extra functionality to those methods, but Queue's synchronizing only works while super() is called, not before or after
<hololeap> so i'm trying to implement the same functionality without actually using Queue
commondream has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
lidenskap has joined #ruby
<hololeap> it would be best if the threads were blocked until the DB call finishes
konsolebox has quit [Quit: Leaving]
mtakkman has quit [Ping timeout: 250 seconds]
paulcsmith has joined #ruby
commondream has joined #ruby
cht has quit []
ahmetkapikiran has quit [Quit: ahmetkapikiran]
<shevy> perl has 671 users, ruby has 955 users yet tiobe says perl is much more popular than ruby
tubuliferous_ has quit [Ping timeout: 276 seconds]
<dudedudeman> don't forget #ruby-lang
That1Guy has joined #ruby
Pathfinder has quit [Ping timeout: 272 seconds]
cirn0 has joined #ruby
<havenwood> shevy: tiobe is silly
TheNet has joined #ruby
<havenwood> shevy: or more haphazard and bizarre really
oo_ has quit [Read error: Connection reset by peer]
<jhass> hololeap: https://github.com/jhass/DeBot/blob/master/thread/src/thread/queue.cr should be easy to port to ruby
livathinos has quit []
oo__ has joined #ruby
commondream has quit [Remote host closed the connection]
<hololeap> jhass: what language is that?
<jhass> Crystal
juanpaucar has quit [Remote host closed the connection]
commondream has joined #ruby
<adaedra> is there a #crystal?
<jhass> #crystal-lang
lidenskap has quit [Ping timeout: 255 seconds]
<jhass> I should probably reg #crystal and forward it :D
<shevy> dudedudeman yeah but the #ruby-lang guys are our enemies; jhass suggested that #ruby-lang is eliminated, now jhass has become an enemy on #ruby-lang
p8952 has joined #ruby
<shevy> pls pls pls no -lang suffixes
<adaedra> freenode politics.
hectortrope has joined #ruby
<dudedudeman> shevy: huh. the more you know.
oo__ has quit [Remote host closed the connection]
<shevy> dudedudeman slightly exaggerated :D
<dudedudeman> ha, i know.
<shevy> but it's true that he suggested a merger!
<dudedudeman> help is help, most of the time
<adaedra> yeah
ringarin has quit [Read error: Connection reset by peer]
<adaedra> jhass did not only suggest.
<adaedra> :p
<dudedudeman> suggested a merger, and got banned?
<jhass> shevy: actually I didn't yet
<jhass> all I suggested so far is to make #ruby instead of #ruby-lang the official Ruby channel
<shevy> haha
juanpaucar has joined #ruby
<shevy> did we break 1000 here yet?
<adaedra> so currently, this place is a counterfait version of #ruby-lang?
iamdevnul has joined #ruby
s2013 has joined #ruby
gambl0re has joined #ruby
<shevy> I mean I am aware that we can break it if all from #ruby-lang, who are not here, would join
GaryOak_ has joined #ruby
riotjones has joined #ruby
cryptarium has joined #ruby
<shevy> # exec a command in that environment; just as a convenience
<shevy> $env->exec( $command );
AxonetBE has quit [Quit: AxonetBE]
<shevy> do we have something similar in ruby? something where we execute commands in environments... I assume this is similar to a chroot-jail?
urbanmonk has quit [Quit: urbanmonk]
<jhass> what is it doing?
<ponga> shevy: it does, but i can't remember
<jhass> how is environment defined there?
abuzze has quit [Ping timeout: 276 seconds]
<hololeap> jhass: what are the ruby equivalents to "wait" and "signal" in that code?
<ponga> i found it when i was trying to send my ruby app to friend using windows
handlebar has joined #ruby
<havenwood> shevy: Where are you getting that line noise from?
<jhass> hololeap: but those just delegate to a ConditionVariable, essentially
<shevy> hmm... "App::Env is most useful in situations where a Perl program must invoke multiple applications each of which may require an environment different and possibly incompatible from the others"
qurve has joined #ruby
<xxneolithicxx> im reorganizing my code, need some advice
<shevy> havenwood I was on #perl for a moment
<havenwood> shevy: Aha!
<shevy> they have that bot that announces news
ArchRogem has joined #ruby
<shevy> though that is quite a spammy bot there
<dudedudeman> i should be a bot
Cache_Money has joined #ruby
<shevy> dudedudeman I'd believe you at once that you are one! an idling bot
<hololeap> jhass: ah, that mixin should be perfect. thanks :)
<havenwood> dudedudeman: oh, i can make you a bot...
<dudedudeman> bot me, baby!
zotherstupidguy has joined #ruby
<xxneolithicxx> I have class Product::API and module Product::Resource with a bunch of API resource classes that are instances of resources accessible through API
<qurve> Does stdlib contain anything for dealing with CIDR blocks? Specifically I need to expand a CIDR block into an array of all the IPs in that block.
* dudedudeman is bot
* dudedudeman does bot stuff
<xxneolithicxx> i dont like this organization though as a Resource doesnt exist outside the context of the API and I cant make API both a class and module
riotjones has quit [Ping timeout: 250 seconds]
<hololeap> the standard library always seems to have something new
rippa has joined #ruby
pokui has joined #ruby
msgodf has quit [Ping timeout: 272 seconds]
aswen has quit [Ping timeout: 240 seconds]
<jhass> qurve: ipaddr does it iirc
<pokui> hi all, for the purposes of #to_s can a class get the name of an instance?
<xxneolithicxx> the Product::API class is like a dynamic RESTFUL client instance that builds its methods from JSON data. I would have liked Product::API to be the class and Product::API::Resources::<Resource> but this isnt possible
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<qurve> Thanks, I'll check it out jhass.
<xxneolithicxx> how would you reorganize something like that so it makes structure sense
<jhass> pokui: what do you mean? an instance doesn't have a name
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mcpierce has joined #ruby
<pokui> jhass: sorry .. I'll try to be more clear. if I say a = "12234" is it possible for String to get the variable name 'a'? Not sure that's more clear.
<pokui> the program doesn't quite need it, just trying to debug a set of classes I've written.
<jhass> pokui: a = "1234"; b = a; what' would you get now?
fabrice31_ has quit [Remote host closed the connection]
tcrypt has joined #ruby
<jhass> {Object.new => Object.new} and here, what would you get for both objects as name?
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pokui> jhass: good points. hadn't thought that through.
JDiPierro has quit []
camilasan has quit [Remote host closed the connection]
sent1nel has joined #ruby
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 240 seconds]
pwattstbd has joined #ruby
<Darkwater> throw error on initializer, catch it, get calling line from stacktrace, extract variable name
<Darkwater> solid plan
mtakkman has joined #ruby
<Darkwater> ..fuck, now I wonder if that's actually possible
camilasan has joined #ruby
<shevy> >> {Object.new => Object.new}
<ruboto> shevy # => {#<Object:0x41de024c>=>#<Object:0x41de0210>} (https://eval.in/368199)
<shevy> hmmm
<shevy> what a strange hash
mcpierce has quit [Read error: Connection reset by peer]
<adaedra> why?
gagrio has quit [Ping timeout: 245 seconds]
mcpierce has joined #ruby
<adaedra> >> Hash[[Array.new(2, Object.new)]]
<ruboto> adaedra # => {#<Object:0x41ae4408>=>#<Object:0x41ae4408>} (https://eval.in/368202)
<shevy> adaedra what does the hash have?
<adaedra> what do you think of this one?
<shevy> anonymous objects?
<adaedra> yes
<adaedra> what's strange about it for you? they are objects like anything else
<shevy> cat = Cat.new
<shevy> that's a cat
<Darkwater> no, that's an error
<Darkwater> what's Cat
TheNet has joined #ruby
<shevy> a cat
<slash_nick> i thought Cat.new was a cat
<shevy> on unix it's even a command!
<snapcase> does it have a 'meow' method?
<adaedra> cat is an object of type Cat
<Darkwater> $ cat.meow
<Darkwater> legig
<slash_nick> snapcase: just #mew
<Darkwater> legit
<shevy> snapcase yeah, else nobody could believe it to be a cat
<adaedra> require 'French'
<Darkwater> $ echo 'Meow!' > meow
<adaedra> now it as #miaou
<Darkwater> $ cat meow
<Darkwater> Meow!
decoponio has joined #ruby
<shevy> adaedra funny... in german it would be #miau
<Darkwater> miauw in dutch
<adaedra> Katze#miau
DerisiveLogic has joined #ruby
<shevy> ponga what is the noise that cats make in korea when they meow?
<centrx> PONGA
DerisiveLogic has quit [Remote host closed the connection]
<centrx> that's the noise noice
DerisiveLogic has joined #ruby
Dopagod has joined #ruby
j0n3 has joined #ruby
cassianoleal has joined #ruby
<Darkwater> ねこ・にゃあー
haxrbyte_ has quit [Read error: Connection reset by peer]
antgel has quit [Ping timeout: 258 seconds]
haxrbyte has joined #ruby
cryptarium has quit [Ping timeout: 264 seconds]
<izzol> Guten Tag.
<adaedra> Hallå.
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<izzol> I'm writing a small tool which will be parsing e-mails in postfix. I'm going to use 'mail' gem for it.
sevenseacat has quit [Quit: Me dun like you no more.]
<izzol> But not sure if this is the best way?
babaganousha has left #ruby [#ruby]
<izzol> maybe there is a better gem just for mime/email ?
<ponga> shevy: 야옹 ya-on
antgel has joined #ruby
<ponga> surprisingly no starting consonant
commondream has quit [Remote host closed the connection]
<izzol> that one 'mail' is working fine I guess, but not sure if it will be fast enough.
speakingcode has joined #ruby
commondream has joined #ruby
io_syl has joined #ruby
<shevy> ya-on??? hmmm
baroquebobcat has joined #ruby
<ponga> shevy: japanese noise is well adopted in korean now
<ponga> people here use nya too
<adaedra> nya~
<shevy> hehe
<shevy> nya is as strange as ya-on
<ponga> i was seriously shocked at heartattack level when i found out that nyan cat was viral in west
<shevy> the craziest things become popular
<ponga> c'mon it was kinda OK in niconico(japanese youtube alternative)
<shevy> look at hanmac, he knows all those strange manga or anime things
<ponga> my impression was like "ok yet another japanese internet"
<ponga> does hanmac speak japanese?
<ponga> if so it will make it worse
<adaedra> NYAN NYANNYAN NYANNYANNYANNYANNYANNYAN
<GaryOak_> I use the rspec Nyancat formatter
Pupeno has joined #ruby
commondream has quit [Ping timeout: 255 seconds]
<shevy> ponga not that I know of; I think there are only very few in Europe who can speak japanese
<ponga> lol what the heck is that
<shevy> other than japanese in europe that is :)
shuber_ has quit [Ping timeout: 256 seconds]
freestyl3r has joined #ruby
<shevy> I mean, people from japan who would now live in europe...
<ponga> yeah
<adaedra> Japanese in Europe?
<ponga> not many westerner learns japanese, even fewer for those at superior fluency
<adaedra> Other than the ones taking pictures of everything?
freerobby has quit [Quit: Leaving.]
ascarter has joined #ruby
icebourg has joined #ruby
withnale_ has joined #ruby
freerobby has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
s2013 has joined #ruby
<freestyl3r> hello. let's say i have a class name as a string e.x.: var = "Animal". How can i call the class methods of Animal by using the "var" variable?
sandelius has joined #ruby
qurve has quit []
haxrbyte has joined #ruby
<adaedra> You have to get the class itself, first
<GaryOak_> freestyl3r: you can assign the class to the var like var = Animal, then you can call var.animal_class_method
<adaedra> >> const_get("String")
<ruboto> adaedra # => undefined method `const_get' for main:Object (NoMethodError) ...check link for more (https://eval.in/368209)
<adaedra> mmh, how was it now
jottr_ has quit [Ping timeout: 264 seconds]
maletor has joined #ruby
mary5030 has joined #ruby
beamed_down is now known as Beamed
<freestyl3r> GaryOak_: i only have access to the class as a string
konsolebox has joined #ruby
konsolebox has quit [Remote host closed the connection]
<adaedra> >> Object.const_get('String')
<ruboto> adaedra # => String (https://eval.in/368211)
<adaedra> freestyl3r: ^
<freestyl3r> Kernel.const_get("String") or Object.const_get("String") seems to work
<adaedra> then you can use GaryOak_ suggestion on the obtained class
io_syl has quit []
druuu has joined #ruby
haxrbyte_ has joined #ruby
<freestyl3r> actually the function accepts a symbol e.x. :string and then i call rails .classify on it which turns it into "String". so the final call is Kernel.const_get(:string.to_s.classify)
<freestyl3r> is there a cleaner way to do that?
<adaedra> looks ok
Pupeno has quit [Quit: Leaving...]
<freestyl3r> i'm trying to mimic rails behavior: belongs_to :user
<freestyl3r> and from :user get the class. ok thanks
mandarinkin has quit [Ping timeout: 255 seconds]
skyjumper has joined #ruby
<skyjumper> is pry-stack_explorer the only way to get a stack trace in pry-byebug?
<adaedra> mh
<adaedra> I don't remember using that
haxrbyte has quit [Ping timeout: 255 seconds]
segfalt has quit [Quit: segfalt]
arietis has quit [Quit: Leaving.]
speaking1ode has joined #ruby
<adaedra> ah, I didn't display the stack, that's why :x
<adaedra> Here you are: `wtf?`
<skyjumper> only works with exceptions
<adaedra> ah yes
p8952 has quit [Quit: ZNC - http://znc.in]
Spami has joined #ruby
Lucky__ has joined #ruby
f3lp has joined #ruby
<izzol> hmm, if I want to read a file it's better to use: File.foreach, File.open or File.read?
aganov has quit [Remote host closed the connection]
f3lp has quit [Max SendQ exceeded]
commondream has joined #ruby
<adaedra> Depends
<izzol> adaedra: I'm expecting lot of files with size 2-10M
<izzol> and I want to open one, then close it, another, close it and so on.
<shevy> hmm
<adaedra> And do what, on these files?
<shevy> izzol File.foreach would be the most efficient
<shevy> you iterate line over line there
<izzol> adaedra: parse them, so I need to read the file, check if the files has some "string".
alex88 has quit []
speaking1ode has quit [Quit: leaving]
<izzol> shevy: ahh, ok.
hanmac1 has quit [Read error: Connection reset by peer]
<adaedra> yeah, as long as you read it forward.
<izzol> hmm, ok, I think I did not explain it well :P
phutchins has joined #ruby
<izzol> Now I have: file = File.open("test") and then I'm doing: mail = Mail.read(file) to read it.
<adaedra> ah
<izzol> so I think File.foreach will not help too much.
<adaedra> so you will need all file in memory
<adaedra> yeah, IO.read()
<sandelius> Sometimes I stop and think how awesome ruby actually is. I'm still a happy Rubyist after all these years :)
<adaedra> mail = Mail.read(IO.read("test"))
* adaedra high-fives sandelius
<izzol> ok, I don't know how it works, so I'm going to read a ruby-doc ;P
<izzol> thanks adaedra :)
sktkbk has joined #ruby
jespada has joined #ruby
<sandelius> I mean self.included, self.inherited etc is freaking awesome!
gambl0re has quit []
lkba has joined #ruby
urbanmonk has joined #ruby
aspiers has quit [Ping timeout: 265 seconds]
<sandelius> Crystal Lang is really something that is going to be interesting to follow
banister has quit [Ping timeout: 276 seconds]
paulcsmith has quit [Quit: Be back later ...]
phutchins has quit [Ping timeout: 244 seconds]
<shevy> sandelius how many years ruby?
pdoherty has quit [Remote host closed the connection]
paulcsmith has joined #ruby
paulcsmith has quit [Remote host closed the connection]
cjim_ has quit [Quit: (null)]
bronson has joined #ruby
<sandelius> shevy I think it's about 8 now :) I'm old...
paulcsmith has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
<sandelius> no 7
<shevy> damn yeah
<sandelius> I'm so old I can't keep track any longer :)
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
jordanm has joined #ruby
<sandelius> more
p8952 has joined #ruby
codeFiend has quit [Quit: codeFiend]
anisha has quit [Quit: Leaving]
tuelz has joined #ruby
<zotherstupidguy> how to do skip an exception in ruby and continue a loop...
cosmicexplorer has quit [Quit: ERC (IRC client for Emacs 25.0.50.1)]
Hounddog has quit [Remote host closed the connection]
<adaedra> catch it
<zotherstupidguy> shevy i got a song for you https://www.youtube.com/watch?v=aqXW57WM9TA
<ytti> python spy spotted
<ytti> alerting the ops
bronson has quit [Ping timeout: 244 seconds]
<zotherstupidguy> adaedra catch??
<adaedra> *woop* *woop*
<sandelius> zotherstupidguy rescue
swastika has joined #ruby
<adaedra> this is ze polis
<swastika> die juden wir mussen ausrotten
<adaedra> !ops
<zotherstupidguy> yes i used begin, rescue still the loop ends
<adaedra> doesn't work anymore? D:
<ruboto> sepp2k, fflush, apeiros, banisterfiend, zzak, Mon_Ouie, seanstickle, Havenn, jhass, Radar, Karpah, miah, workmad3, Coraline
<jhass> !kick swastika
swastika was kicked from #ruby by ruboto [swastika]
swastika has joined #ruby
<swastika> what did i do?
<havenwood> adaedra: thanks
<zotherstupidguy> you spoke in swedish
<jhass> !ban swastika !P swastika
swastika was kicked from #ruby by ChanServ [Banned: swastika]
<adaedra> zotherstupidguy: eh!
SpicyMagpie has quit [Read error: Connection reset by peer]
<zotherstupidguy> adeadra yes it stopped working on me :(
<adaedra> zotherstupidguy: is your begin/resuce inside the loop?
<zotherstupidguy> i tried to rescue it, but it said no
<zotherstupidguy> yeah, is that the mistake :)
wjimenez5271 has joined #ruby
<sandelius> zotherstupidguy gist it
<zotherstupidguy> okz
<zotherstupidguy> but its a network thing so a bit of trouble
jottr_ has joined #ruby
spyderman4g63 has joined #ruby
mtakkman has quit [Ping timeout: 256 seconds]
shellfu has joined #ruby
f3lp has joined #ruby
timonv has quit [Ping timeout: 256 seconds]
ebonics has quit [Ping timeout: 272 seconds]
commondream has quit [Remote host closed the connection]
codeFiend has joined #ruby
rbennacer has quit [Remote host closed the connection]
paulcsmith has quit [Quit: Be back later ...]
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
tuelz has quit [Ping timeout: 256 seconds]
<sandelius> zotherstupidguy either remove skip or change it to next
doertedev has quit [Quit: Lost terminal]
Stalkr_ has joined #ruby
pandaant has quit [Remote host closed the connection]
codeFiend has quit [Quit: codeFiend]
rbennacer has joined #ruby
jottr_ has quit [Ping timeout: 258 seconds]
crack_user has joined #ruby
rbennacer has quit [Remote host closed the connection]
deuterium has quit [Quit: zzZZZzzz..]
Fraeon has joined #ruby
lkba_ has joined #ruby
michaeldeol has joined #ruby
withnale_ has quit [Ping timeout: 272 seconds]
ebonics has joined #ruby
rbennacer has joined #ruby
chinmay_dd has joined #ruby
rbennacer has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 250 seconds]
sent1nel has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 256 seconds]
speaking1ode has joined #ruby
abuzze has joined #ruby
dumdedum has quit [Quit: foo]
<sandelius> zotherstupidguy how did it go?
joonty has quit [Quit: joonty]
spider-mario has joined #ruby
soulcake has quit [Quit: Quack.]
<zotherstupidguy> sandelius still checkin
soulcake has joined #ruby
speakingcode has quit [Ping timeout: 244 seconds]
shuber_ has joined #ruby
aspiers has joined #ruby
<zotherstupidguy> sandelius i think it works ;)
<zotherstupidguy> sandelius thanks
<sandelius> zotherstupidguy goodie
<sandelius> np
kinduff has joined #ruby
<kinduff> morning
Wobbley has quit []
Wobbley has joined #ruby
abuzze has quit [Ping timeout: 256 seconds]
tubuliferous has joined #ruby
Hirzu has joined #ruby
<adaedra> evening
<dudedudeman> afternoon
sktkbk has quit [Quit: Leaving]
cjim_ has joined #ruby
sigurding has quit [Quit: sigurding]
P1RATEZ has joined #ruby
ismaelga has quit [Remote host closed the connection]
Aww is now known as NotAww
tubuliferous_ has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 258 seconds]
NotAww is now known as Aww
spyderman4g63 has joined #ruby
nfk has joined #ruby
<jhass> this is too silent
mikecmpbll has quit [Ping timeout: 244 seconds]
<hololeap> here's my attempt at a redis-backed queue. i would love any comments/feedback: https://github.com/hololeap/queque/blob/master/lib/queque.rb
<adaedra> jhass: that's too easy :D
paulcsmith has joined #ruby
jackjackdripper has joined #ruby
gluten_hell_ has joined #ruby
ismaelga has joined #ruby
A124 has quit [Remote host closed the connection]
<sandelius> jhass that's some scary shit
<jhass> sandelius: more fun with $_GET
Agoldfish is now known as Agoldfish|Away
spyderman4g63 has quit [Ping timeout: 252 seconds]
<dudedudeman> oh, someone said php!
<sandelius> jhass that's just sad... :/
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<kinduff> jhass: lmao
<dudedudeman> which is funny, because i'm reading this: https://philsturgeon.uk/career/2015/05/21/happily-stepping-into-the-shadows/
phutchins has joined #ruby
chthon has quit [Quit: Ex-Chat]
yh__ has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
A124 has joined #ruby
antgel has quit [Ping timeout: 252 seconds]
<jhass> hololeap: I'd raise ArgumentError instead of LocalJumpError
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
tuelz has joined #ruby
yh__ has joined #ruby
Eiam has joined #ruby
<adaedra> jhass: actually, we should blame the devs, not the language. Doing "eval(params.require(:foo))" would be as easy and dangerous.
<jhass> yeah, but indirectly attacking people over the tool they use makes one self feel much better :(
vin` has joined #ruby
RegulationD has quit [Remote host closed the connection]
<hololeap> jhass: how come? i was just mirroring what happens when you call yield without a block
<kinduff> we love laughing at php
RegulationD has joined #ruby
<adaedra> WHERE IS YOUR GOD NOW
<adaedra> See you all
MatthewsFace has joined #ruby
<jhass> hololeap: dunno, I see LocalJumpError as an internal Ruby thing, for argument validation I raise ArgumentError
ponga has quit [Remote host closed the connection]
<kinduff> im not sure if it's a sin if that's inside an integration test
ismaelga has quit [Remote host closed the connection]
<hololeap> jhass: ok
<jhass> hololeap: it's opinion ;)
ismaelga has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<jhass> I'd also try to pick a more specific error class for the one in line 108
urbanmonk has quit [Quit: urbanmonk]
aspiers has joined #ruby
bronson has joined #ruby
robertyaman has joined #ruby
<robertyaman> Hello?
<jhass> hololeap: oh and I can't spot where you use activesupport?
<dudedudeman> robertyaman: holler
<jhass> robertyaman: hi
vin` has quit [Remote host closed the connection]
<hololeap> jhass: you're right :) i guess i removed it all
<jhass> hololeap: you might want to figure out whether Redis::List is thread safe, could save thhe synchronize calls on length and empty?
MatthewsFace has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
<jhass> hololeap: I'd also include the monitor into your class, extend clears method caches and is thus not advisable during runtime
casadei has quit [Remote host closed the connection]
baweaver_ has joined #ruby
segfalt has joined #ruby
vickleton has joined #ruby
scuey has joined #ruby
baweaver_ has quit [Remote host closed the connection]
robertyaman has quit []
robertyaman has joined #ruby
neanderslob has joined #ruby
baweaver_ has joined #ruby
crack_user has quit [Quit: Leaving.]
<dudedudeman> hey folks. I'm trying to do some calls from my postgres database, and it's freaking out on my where query. I'm doing something x = class.all, and then doing y = x.where(:foo => 'true')
robertyaman is now known as EArobert
tautvydas has joined #ruby
<dudedudeman> that's what i was doing when using a sql database, but postgres doesn't like that apparently
rbennacer has joined #ruby
s2013 has joined #ruby
<dudedudeman> says 'undefined column'
<dudedudeman> wait..
<kinduff> dudedudeman: you sure?
yh__ has quit [Ping timeout: 252 seconds]
<dudedudeman> not any more
<kinduff> postgres acts in misterious ways
<dudedudeman> i'm an idiot
somnium has quit [Ping timeout: 272 seconds]
<GaryOak_> dudedudeman: you using Sequel, because class.all returns an array
einarj has joined #ruby
segfalt has quit [Ping timeout: 272 seconds]
That1Guy has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
c0m0 has quit [Ping timeout: 245 seconds]
iliketurtles has joined #ruby
<dudedudeman> GaryOak_: well, maybe. it's more of an issue where i was calling the where statement on the wrong table...
<dudedudeman> wrong class*
neohunter has joined #ruby
<GaryOak_> ahh, that could give you a unknown column error
[k- has quit [Quit: Lingo: www.lingoirc.com]
<dudedudeman> learn somethign new every day
Zai00 has quit [Quit: Zai00]
troulouliou_dev has joined #ruby
<dudedudeman> I'm just trying to get that info in a 'metrics' view for my app
Spami has joined #ruby
<GaryOak_> like a dashboard?
<dudedudeman> SURE
<dudedudeman> sorry.. caps.
<GaryOak_> haha
<dudedudeman> but yes, something where it tells me these were done today, these were done in the last week, these need to be done in the next 3 weeks, and so on
<dudedudeman> currently, my view is just returning a #
<GaryOak_> gotcha, I'm doing the exact same thing
<dudedudeman> GaryOak_: ooo! nice
deric_skibotn has joined #ruby
abuzze has joined #ruby
einarj has quit [Ping timeout: 265 seconds]
iliketurtles has quit [Client Quit]
fabrice31 has joined #ruby
<GaryOak_> I tried making a chainable Sequel wrapper, but Sequel is almost as good, but what I wrote is more domain specific
tubuliferous_ has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
io_syl has joined #ruby
terlar has quit [Ping timeout: 272 seconds]
zotherstupidbot has joined #ruby
gustavn has joined #ruby
<dudedudeman> ah, are you trying to set up something where it shows how often a site was accessed? that kind of stuff?
somnium has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
gustavn has quit [Client Quit]
<zotherstupidguy> nearby!
EArobert has quit []
gustavn has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
benlieb has joined #ruby
shuber_ has quit [Remote host closed the connection]
arietis has joined #ruby
shuber_ has joined #ruby
gustavn has left #ruby [#ruby]
<GaryOak_> dudedudeman: nah doing background job stats
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baroquebobcat has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
cirn0 has quit [Remote host closed the connection]
haxrbyte_ has quit [Read error: Connection reset by peer]
Spami has quit [Ping timeout: 250 seconds]
haxrbyte has joined #ruby
cirn0 has joined #ruby
ascarter has joined #ruby
djbkd has joined #ruby
pdoherty has joined #ruby
<hololeap> jhass: i'm having a hard time just using "include MonitorMixin" in my class. it looks like @mon_mutex isn't getting set when the module is included. any ideas? i updated the code on github
<jhass> hololeap: it adds the methods to your class
<jhass> you just call synchronize, signal etc on self
iamninja has joined #ruby
<hololeap> jhass: that's what i'm doing
<jhass> oh, you also have to call super in your constructor then
jottr_ has joined #ruby
* apeiros doesn't like MonitorMixin
<apeiros> I always use Monitor
<apeiros> composition over inheritance
gluten_hell_ has quit [Quit: Lingo - http://www.lingoirc.com]
paulcsmith has quit [Quit: Be back later ...]
paulcsmith has joined #ruby
<apeiros> granted, "always" is an exaggeration. I usually use Mutex, and so far maybe twice replaced Mutex with Monitor when I needed it to be reentrant.
paulcsmith has quit [Read error: Connection reset by peer]
codeFiend has joined #ruby
<hololeap> jhass: oh, that makes sense. i forgot that super applied to modules and not just inherited classes
paulcsmith has joined #ruby
codeFiend is now known as aeontech
<hololeap> jhass: that fixed it :)
Spami has joined #ruby
iamjarvo has joined #ruby
That1Guy has joined #ruby
lidenskap has joined #ruby
doodlehaus has quit [Ping timeout: 245 seconds]
jottr_ has quit [Ping timeout: 272 seconds]
dopie has quit [Quit: This computer has gone to sleep]
arietis has quit [Quit: Leaving.]
iliketurtles has joined #ruby
Igorshp has quit [Remote host closed the connection]
affenhoden has joined #ruby
abuzze has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
juanpaucar has quit [Remote host closed the connection]
shock_one has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
arietis has joined #ruby
shock_one has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kinduff has quit [Ping timeout: 265 seconds]
cirn0 has quit [Remote host closed the connection]
airdisa has quit []
hectortrope has quit [Quit: WeeChat 0.4.2]
dopie has joined #ruby
mikecmpbll has joined #ruby
kinduff has joined #ruby
cosmicexplorer has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
GriffinHeart has quit [Ping timeout: 255 seconds]
paulcsmith has quit [Quit: Be back later ...]
cosmicexplorer has quit [Client Quit]
shock_one has quit [Ping timeout: 264 seconds]
paulcsmith has joined #ruby
aspiers has quit [Ping timeout: 258 seconds]
shock_one has joined #ruby
hardlin3r has joined #ruby
SouL_|_ has quit [Read error: Connection reset by peer]
nfk has quit [Quit: yawn]
cjim_ has quit [Quit: (null)]
<hololeap> anyone know what $` is?
Freijo has joined #ruby
<jhass> I can never remember (
<jhass> :(
<jhass> >> $`
<ruboto> jhass # => nil (https://eval.in/368274)
kinduff has quit [Ping timeout: 272 seconds]
<jhass> The string to the left of the last successful match
<jhass> >> "foo bar".match(/bar); $`
<ruboto> jhass # => /tmp/execpad-9daa278b24de/source-9daa278b24de:2: unterminated regexp meets end of file ...check link for more (https://eval.in/368275)
websoftwarez has joined #ruby
<jhass> >> "foo bar".match(/bar/); $`
<ruboto> jhass # => "foo " (https://eval.in/368276)
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
nobitanobi has joined #ruby
<hololeap> found it
SouL_|_ has joined #ruby
<jhass> well, I did first ;P
aeontech has quit [Ping timeout: 246 seconds]
mtakkman has joined #ruby
<wasamasa> this feature sounds like ruby's match object was outright stolen from emacs
<jhass> I hate people who use the char globals
<jhass> *single char
codeFiend has joined #ruby
DynamicMetaFlow has joined #ruby
davispuh has joined #ruby
MasterPiece has joined #ruby
abuzze has joined #ruby
<eam> jhass: hey they're two characters
casadei has joined #ruby
marr has quit []
<jhass> I don't count $ into the significant (=carrying information) name
<eam> ;-)
mary5030 has quit [Remote host closed the connection]
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
<eam> on a sort of related subject, guess what the largest $number capture variable is?
mary5030 has joined #ruby
<apeiros> jhass: it's stored internally with that part too, though
<eam> $32767
<apeiros> there was a time where you could set instance variables without @. you couldn't access them through syntax.
soulcake has quit [Quit: Quack.]
neanderslob has quit [Read error: Connection reset by peer]
<apeiros> >> as = Symbol.all_symbols; eval("$foobar = 1"); Symbol.all_symbols-as
<ruboto> apeiros # => [:$foobar] (https://eval.in/368278)
<eam> hey speaking of accessing ivars, is there a more efficient way to store a C structure on an instance than by rb_ivar_get(self, "@thing") ?
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> say I want to stash a pointer somewhere
<apeiros> eam: wrap_struct
<apeiros> is the most efficient I think
<eam> and that line is something like 40% of the entire cost of the fetch call
Ilyes512 has joined #ruby
<apeiros> ok. my knowledge about C interface performance is very very limited
<apeiros> #ruby-core and the ML might be more helpful there
<apeiros> and/or SO
<eam> kk
aswen has joined #ruby
That1Guy has joined #ruby
segfalt has joined #ruby
soulcake has joined #ruby
dopie has quit [Quit: This computer has gone to sleep]
enebo has quit [Quit: enebo]
neanderslob has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
balazs has joined #ruby
<apeiros> eam: it might well be that the rb_iv_get(self, "@db") is the actually expensive part
spyderman4g63 has joined #ruby
<apeiros> iirc at least until 1.8 that was a hashtable lookup
<eam> I suspect it is
<eam> well, and I think it needs to parse "@db" right?
<eam> I'm wondering if I should maintain my own hashtable of all handles for all instances
<apeiros> I don't think it has to parse "@db"
<apeiros> that's the key in the hash table
<apeiros> it has to hash it
soulcake has quit [Client Quit]
<eam> thought I saw it enter the parser in gdb, might be wrong though
<apeiros> well, I'm just guestimating from thinking about how I'd do it and the tiny parts I remember from 1.8 :)
<apeiros> so take it all with a huge grain of salt
<eam> ah yeah so, it needs to rb_intern() the string into an ID
<eam> I think that might be it
<balazs> Hi, where do people put executables with rubygems that are not ruby, like bash scripts ?
<GaryOak_> balazs: you can put them in a bin directory
<jhass> same as the ones that are ruby
awer has joined #ruby
ismaelga has quit [Remote host closed the connection]
jottr_ has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<awer> hey all. NEw to Ruby and trying to understand how to put a progress bar onto to blocks of code. any help would be appreciated http://paste.ee/p/xeM1U
quimrstorres has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<apeiros> eam: ah yes. all identifiers are interned.
codecop_ has quit [Remote host closed the connection]
<eam> I think I might be wrong about intern parsing though
IrishGringo has joined #ruby
<eam> yeah I'm wrong, just hashes the string
freerobby has quit [Quit: Leaving.]
adaedra is now known as `scootaloo
`scootaloo is now known as adaedra
aswen has quit [Ping timeout: 240 seconds]
spyderman4g63 has quit []
<awer> jhass: thanks, thats what ive been looking at
<awer> jhass: im just not sure where to add it...
<jhass> then you might want to try a more specific question
<jhass> whereever you determine how far you are
Narzew has joined #ruby
michael_mbp has quit [Excess Flood]
apakatt has joined #ruby
<GaryOak_> programming sure has a lot of stuff you have to learn to build a good package
thomcom has quit [Quit: Textual IRC Client: www.textualapp.com]
Beamed has left #ruby [#ruby]
<awer> jhass: ok, well i have a shell command that is called script1 and another called script2 . then i simply use 'puts' to display their output to the shell. I want the progress of script1 and script2 to be displayed by the mean of the progress bar
codeFiend is now known as aeontech
pokui has quit [Ping timeout: 255 seconds]
<jhass> awer: first question: how to determine their progress?
<jhass> how do you know when it'll finish/how much is done?
<awer> jhass: indeed im not sure of that
michael_mbp has joined #ruby
<awer> jhass: how would ruby know?
<jhass> that's what you need to figure out before you can display a progress bar
<jhass> there's no general way
<jhass> it depends on what you run
mtakkman has quit [Ping timeout: 258 seconds]
<awer> im running a nmap script
<awer> so that will always differ in time
<dudedudeman> awer: are you trying to write this outside the scope of a gem?
n008f4g_ has quit [Ping timeout: 272 seconds]
Bira has joined #ruby
<awer> dudedudeman: im trying to write it with the ruby-progressbar gem
bronson has quit [Remote host closed the connection]
<jhass> that gem makes it easy to print one
<jhass> that's all
<jhass> it doesn't magically guess the runtime of arbitrary stuff
<jhass> that's your job
tjohnson has joined #ruby
freerobby has joined #ruby
baweaver_ has quit [Read error: Connection reset by peer]
<awer> jhass:
<awer> jhass: well maybe it would be better to some how grep out the verbose output of the nmap command. that way i get a time remaining
<jhass> you can do that, sure
<jhass> you might need streaming output for that though, check open3 stdlib
shock_one has quit [Remote host closed the connection]
shock_one has joined #ruby
moreno has joined #ruby
<awer> hmm, it might be more hassle than its worth...
<jhass> you'd need to do some actual coding, yeah
<dudedudeman> the first time you write something is always more hassle than it's worth. :)
aeontech has quit [Ping timeout: 246 seconds]
<GaryOak_> until you have to do it
<dudedudeman> but, when you do it again in the fture, boom, you'll be faster at it
<balazs> GaryOak: then by bash scripts get that weird wrapper when the project is installed
ascarter has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
ascarter has joined #ruby
vroomanj has quit [Remote host closed the connection]
shock_one has quit [Ping timeout: 276 seconds]
aspiers has joined #ruby
TheNet has joined #ruby
BTRE has joined #ruby
<TheNet> is there a good gem to watch a directory for file changes?
pwattstbd has quit [Quit: Textual IRC Client: www.textualapp.com]
<ytti> inotifyrb + 4 lines of code
<TheNet> something like WatchDir.watch('/path') { |path_to_changed_file| puts path_to_changed_file }
<jhass> guard? :P
gizmore has joined #ruby
razrunelord has joined #ruby
shock_one has joined #ruby
spyderman4g63 has joined #ruby
moreno has quit [Read error: Connection reset by peer]
malcolmva has quit [Quit: Leaving]
crack_user has joined #ruby
astrobun_ has joined #ruby
enebo has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
bronson has joined #ruby
kirun has joined #ruby
<awer> thanks for your advice guys
astrobunny has quit [Ping timeout: 246 seconds]
<awer> can anyone point me to any good documenetation for learning the basics? i looked at lynda.com looks pretty good?
<ddfreyne> TheNet: guard. If you want to have a more low-level lib, try guard/listen.
<jhass> awer: Chris Pine's learn to program is generally recommended
tuelz has quit [Ping timeout: 272 seconds]
<shevy> TheNet inotify
<TheNet> Thanks guys
<rbennacer> how can i turn "true" into the bool true
<rbennacer> ?
tuelz has joined #ruby
abuzze has quit [Remote host closed the connection]
<apeiros> rbennacer: "true" == "true"
<TheNet> lol
<TheNet> rbennacer: this probably won't help you but "true" _is_ true already
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<jhass> *truthy
<rbennacer> mmmmm
<apeiros> if you want to allow precisely "true" and "false", I'd probably use case/when: case val; when "true" then true; when "false" then false; else raise; end
<rbennacer> this might work hehehe apeiros
jenrzzz has joined #ruby
<rbennacer> thanks
<apeiros> if you only want "false" to be false and all other true: val != "false"
<jhass> apeiros: not enough true. {"true" => true}["true"]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<apeiros> the raise probably with ArgumentError, %{"true" or "false" expected, got #{val.inspect}:#{val.class}}
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
unshadow has joined #ruby
tvw has joined #ruby
<jhass> wait, I can do better; TRUE_LOOKUP = {"true": true}; def lookup_true(maybe_true); TRUE_LOOKUP.fetch(maybe_true) { raise %(expected "true") }; end; lookup_true("true")
<jhass> 10 true. beat it
<apeiros> that's not a competition I want to be in :-p
commondream has joined #ruby
tuelz has quit [Ping timeout: 276 seconds]
banister has joined #ruby
<adaedra> What the hell
<jhass> you're not true enough?
razrunelord has quit []
wookiehangover has joined #ruby
<shevy> you guys are now false
<adaedra> no u
zubov has quit [Ping timeout: 256 seconds]
<adaedra> def shevy; false; end
<apeiros> shevy missed the opportunity to say "this is so false"
<adaedra> this is so true
Ilyes512 has quit [Quit: Textual IRC Client: www.textualapp.com]
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
<Fluent> >> !!()
<ruboto> Fluent # => false (https://eval.in/368288)
<jhass> >> class TrueClass; def !; true; end; !!()
<ruboto> jhass # => /tmp/execpad-018a5843f164/source-018a5843f164:7: syntax error, unexpected end-of-input, expecting ke ...check link for more (https://eval.in/368289)
<jhass> :(
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> >> class TrueClass; def !; true; end; end; !!()
<ruboto> jhass # => true (https://eval.in/368290)
<Fluent> :\\
<jhass> but good catch, !!"true" indeed turns "true" into true
<adaedra> >> def true.inspect; "false"; end; true
<ruboto> adaedra # => false (https://eval.in/368291)
<Fluent> teehee, ty
<apeiros> jhass: your first code ended badly…
nobitanobi has quit [Remote host closed the connection]
<adaedra> I thought !! was considered by stype
<adaedra> er
<adaedra> bad style
<apeiros> there have been opponents of !!
<jhass> count me one of them
doodlehaus has joined #ruby
<apeiros> I was not one of them. but since ! has become a method, I switched to ternary if I don't want to leak internals.
<apeiros> jhass: what was/is your solution? most !! opponents were proponents of leaking internals if memory serves right
<jhass> yeah, I think I don't have much of an issue with that
<apeiros> I don't care much what way is used to convert to true/false. but I'm an opponent of leaking internals :)
<jhass> I find !! unclear, I don't mind the method call actually
speaking1ode has quit [Ping timeout: 255 seconds]
<apeiros> a) because you might accidentally leak memory (large return value is stored somewhere as truthy value)
shuber_ has quit [Remote host closed the connection]
<apeiros> b) because (by observation) people don't read docs. they try methods. and they'll rely on your method returning those internals.
<apeiros> (though, I'm somewhat in the camp of "fuck them, if they don't read docs it's their own damn fault")
postmodern has joined #ruby
<jhass> yeah
<apeiros> (for b) that is)
tuelz has joined #ruby
fabrice31 has joined #ruby
<apeiros> i.e., a) is more of a concern to me :)
<jhass> also people relying on the return value of a predicate in another way than for truthiness deserve the issues
lidenskap has quit [Remote host closed the connection]
spyderman4g63 has quit [Remote host closed the connection]
aswen has joined #ruby
wpp has joined #ruby
hakunin has quit []
<jhass> memory leak might be valid, didn't think much about it
StephenOTT has joined #ruby
speakingcode has joined #ruby
spyderman4g63 has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
spyderman4g63 has quit [Remote host closed the connection]
wpp has quit [Max SendQ exceeded]
<Fluent> I sure know how to spark conversation
shuber_ has joined #ruby
spyderman4g63 has joined #ruby
<adaedra> Fluent: rather cat or dog?
<apeiros> Fluent: we're tinder
wpp has joined #ruby
<jhass> I think most of my predicates end up being something like @x == :foo or @x.nil? or @x with @x being true or false already
commondream has quit [Remote host closed the connection]
<Narzew> It is separate channel for RoR development ?
<jhass> Narzew: yes, #RubyOnRails
<apeiros> I really miss attr_query or whatever you want to name it
<shevy> jhass I just googled for "linux desktop environments"
wildroman2 has quit [Remote host closed the connection]
<shevy> jhass and the first result is https://wiki.archlinux.org/index.php/Desktop_environment
<apeiros> which would generate a ? method too
<shevy> perhaps there comes the day when I won't need to search for stuff and instead directly jump to the arch wiki
<jhass> apeiros: crystal has :P getter?
<apeiros> nice
<jhass> shevy: valid mode of operation :P
scuey has quit [Ping timeout: 272 seconds]
StephenOTT has quit [Client Quit]
fabrice31 has quit [Ping timeout: 256 seconds]
<shevy> yeah apeiros
<shevy> you know what
<shevy> <jhass> apeiros: crystal has :P getter?
<shevy> I'm gonna file an issue request because of that now
shuber_ has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
spyderman4g63 has quit [Ping timeout: 240 seconds]
<apeiros> shevy: ask for attr_* with :foo? to create foo and foo?
<dudedudeman> does anyone know if i can point puma to a specific IP address, and not just a port?
mary5030 has joined #ruby
<apeiros> e.g. attr_reader :foo? -> foo? // attr_accessor :foo? -> foo= + foo? // all with @foo of course. and foo? returning true/false.
<shevy> apeiros I see, ok
rdark has quit [Quit: leaving]
<apeiros> dudedudeman: you mean bind it to one local address? I think so, yes
That1Guy has joined #ruby
<apeiros> how to do it depends on how you start/use puma
baroquebobcat has joined #ruby
d5sx43 has joined #ruby
PaulCape_ has quit [Quit: .]
bluOxigen has left #ruby [#ruby]
PaulCapestany has joined #ruby
<jhass> doesn't -b take a socket tuple?
<adaedra> for puma?
<adaedra> it takes a uri
<adaedra> like tcp://1.2.3.4:5678
<jhass> ah, right
<adaedra> mmh, does it means it can do HTTP over UDP
<dudedudeman> i understand osme of these words
<jhass> doubt it
mary5030 has quit [Ping timeout: 265 seconds]
sandelius has joined #ruby
<jhass> ERROR: Invalid URI: udp://localhost:3000
freerobby has quit [Quit: Leaving.]
Zai00 has joined #ruby
<dudedudeman> ..... it would help if i had my config/puma.rb setup to use the port i actually wanted it to use. .. >_>
turtil has joined #ruby
beneggett has joined #ruby
<jhass> production btw? consider a unix socket
<dudedudeman> me?
<jhass> yes
<dudedudeman> oh, well, yes 'production' for all of 3 people to use
<Fluent> >> $><<$<.read
<ruboto> Fluent # => #<IO:<STDOUT>> (https://eval.in/368294)
<Fluent> Hmph, coo
serivich has joined #ruby
kenneth has joined #ruby
Dopagod has quit [Ping timeout: 265 seconds]
brb3 has quit []
brb3 has joined #ruby
davispuh has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
kenneth has quit [Client Quit]
davispuh has joined #ruby
kenneth has joined #ruby
Mezjin has quit [Read error: Connection reset by peer]
Mezjin has joined #ruby
<shevy> dudedudeman you are working on something lazy in code?
kenneth has quit [Read error: Connection reset by peer]
kenneth has joined #ruby
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
marr has joined #ruby
lictor36 has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
kenneth has quit [Read error: Connection reset by peer]
russt_ has quit [Quit: That's all, folks!]
russt has joined #ruby
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
aryaching has quit []
freestyl3r has left #ruby ["WeeChat 1.2"]
baweaver_ has joined #ruby
serivich has quit [Ping timeout: 244 seconds]
gusrub has joined #ruby
hoov has quit []
JoshGlzBrk has joined #ruby
JoshGlzBrk has quit [Client Quit]
<dudedudeman> lazy in code? shevy
baweaver_ has quit [Remote host closed the connection]
lavros has quit [Quit: leaving]
invinceable has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
kenneth has joined #ruby
<shevy> yeah
<shevy> something lazy
<shevy> it fits the dude
<shevy> what are you coding?
bMalum has joined #ruby
aspiers has quit [Ping timeout: 245 seconds]
invinceable has quit [Client Quit]
nobitanobi has joined #ruby
<dudedudeman> oh oh, it's the same app i've been working on, but i'm currently working on getting it hosted at a server at work
<shevy> ack
invinceable has joined #ruby
<shevy> you are "working" on something ...
<shevy> this is so totally un-dude man
jtdowney has joined #ruby
Nowaker has joined #ruby
<dudedudeman> i'm lazying on something. how about that
<shevy> yay!
<wpp> hello! Can someone help me debug a tcp related issue with rubygems?
horsecowdog has joined #ruby
invinceable is now known as 17WABXDQP
bigkevmcd has quit [Ping timeout: 265 seconds]
n008f4g_ has joined #ruby
_5moufl has quit [Ping timeout: 265 seconds]
avelldiroll has quit [Ping timeout: 265 seconds]
nwkr has quit [Ping timeout: 265 seconds]
ReinH has quit [Ping timeout: 265 seconds]
gizmore has quit [Ping timeout: 265 seconds]
17WABXDQP has quit [Client Quit]
invinceable has joined #ruby
<wpp> I even have wireshark traces and all...
_5moufl has joined #ruby
<baweaver> always busy, always building
invinceable has quit [Client Quit]
<shevy> busy beaver
<wpp> (I know this is not strictly ruby related but #rubygems seems rather empty at this time)
<adaedra> jhass: yeah, doubted it too, and not really usable...
gizmore has joined #ruby
<shevy> wpp dunno if anyone can but you could try to make a pastie with all necessary info
invinceable has joined #ruby
<shevy> then perhaps someone from those who'll look at it, can figure out what is happening
invinceable has left #ruby [#ruby]
avelldiroll has joined #ruby
<dudedudeman> make a gisty, not a pastie
invinceable has joined #ruby
apeiros has joined #ruby
invinceable has quit [Client Quit]
tuelz has quit [Ping timeout: 244 seconds]
<wpp> 5mins, thx
<shevy> well whatever he wants, as long as he conveys the info somehow!
Kricir has quit [Remote host closed the connection]
beneggett has quit [Ping timeout: 246 seconds]
yaw has joined #ruby
kadoppe has quit [Ping timeout: 256 seconds]
<shevy> "Widget layouts, desktop appearance, default settings and even branding can be set up with simple scripts written in Javascript."
<shevy> :(
<shevy> javascript everywhere...
<wpp> ok basically summarized what I've written in #rubygems https://gist.github.com/wpp/286607220876d553d365
<wpp> that way I don't spam here. thanks for taking a look!
maletor has quit [Quit: Computer has gone to sleep.]
kadoppe has joined #ruby
replay has joined #ruby
tuelz has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
<dudedudeman> man, is #ruby-lang really that dead?
psy has joined #ruby
<weaksauce> wpp do you have a restrictive firewall at work?
<shevy> dudedudeman we took over the momentum here :>
<dudedudeman> good.
<shevy> now that is one detailed gisty
duderonomy has quit [Ping timeout: 244 seconds]
<dudedudeman> yes, i am very impressed
mary5030 has quit [Remote host closed the connection]
<wpp> weaksauce no (and it worked the weeks before)
mary5030 has joined #ruby
<wpp> weaksauce started noticing the issue on monday, tuesday...
<weaksauce> I just curled your link and it gave a 302 moved
<wpp> weaksauce yeah thats what I get with my "regular" network, aka LTE router at home
<wpp> weaksauce we also tried another LTE router @work and that worked fine also
<weaksauce> what kind of router do you have at work?
bootstrappm has joined #ruby
crdpink has quit [Quit: q term]
mary5030_ has joined #ruby
<weaksauce> wpp^
<wpp> weaksauce sry, afk: dont know from the top of my head.
lidenskap has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
<wpp> weaksauce think that might be the issue? that would be weird since it worked last week...
<weaksauce> things change on their side?
<weaksauce> perhaps it wasn't 302 redirecting before and the router doesn't handle it well but the issue didn't show up because it wasn't redirecting.
dopie has joined #ruby
<jhass> wpp: maybe just to rule out things, same behavior on port 80?
ascarter has joined #ruby
shock_one has quit [Remote host closed the connection]
<weaksauce> wpp I just did 80 and it worked the same if you want to test that
shock_one has joined #ruby
crdpink has joined #ruby
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
<wpp> jhass weaksauce I'm currently @home so I can't test till tmrw. I've just loaded the dump from earlier today into wireshark.
<jhass> wpp: traceroute (also continous one via mtr) might be interesting too
<jhass> might very well be an issue with your ISP or one of the transit ISPs
jayeshsolanki has quit [Quit: bye!]
<wpp> jhass mhm we previously had issues with route to aws. (but fixed that with the mentioned mtu setting)
<jhass> well, that sounds like a workaround and less like a solution tbh :)
<jhass> if some router in the path is so aggressive to reject pretty standard mtu's, who knows what else it's up to
tautvydas has quit [Remote host closed the connection]
<wpp> haha yes. but it helped narrow the problem down
vdamewood has quit [Ping timeout: 272 seconds]
shock_one has quit [Ping timeout: 244 seconds]
Juanchito has joined #ruby
shuber_ has joined #ruby
DynamicMetaFlow has joined #ruby
DynamicMetaFlow has quit [Max SendQ exceeded]
arietis has quit [Ping timeout: 256 seconds]
DynamicMetaFlow has joined #ruby
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kenneth has quit [Read error: Connection reset by peer]
decoponio has quit [Quit: Leaving...]
ReinH has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
towski_ has joined #ruby
chrissonar has quit [Remote host closed the connection]
That1Guy has joined #ruby
maletor has joined #ruby
icebourg has quit []
havenwood has quit [Ping timeout: 264 seconds]
shuber_ has quit [Ping timeout: 245 seconds]
baroquebobcat has quit [Quit: baroquebobcat]
jenrzzz has joined #ruby
kenneth has joined #ruby
zotherstupidbot has quit [Ping timeout: 245 seconds]
Morrolan has quit [Ping timeout: 246 seconds]
shuber_ has joined #ruby
zotherstupidbot has joined #ruby
quimrstorres has joined #ruby
Brozo has joined #ruby
ducklobster has joined #ruby
sanguisdex has quit [Remote host closed the connection]
ducklobster has quit [Remote host closed the connection]
Morrolan has joined #ruby
vt102 has quit [Remote host closed the connection]
<wpp> anyways thanks jhass weaksauce As I'm currently not able to reproduce it I'll just hit the bed. have a great day!
ducklobster has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
replay has quit [Ping timeout: 246 seconds]
wpp has quit []
<eam> wpp: you should be able to replicate issues with PMTUD if you suspect it
jmignault has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> too slow ;)
That1Guy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sanguisdex has joined #ruby
jespada has quit [Ping timeout: 256 seconds]
jespada has joined #ruby
jmignault has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
kinduff has joined #ruby
<eam> heh
apakatt has quit [Quit: ?]
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
TheMoonMaster has quit [Ping timeout: 250 seconds]
sanguisdex has quit [Remote host closed the connection]
freerobby has joined #ruby
sent1nel has joined #ruby
enebo has quit [Ping timeout: 272 seconds]
sts has joined #ruby
<sts> hello! does anyone know where I can find documentation about the rake DSL? Currently interested in what 'task :foo do |f| f.prerequisites' does.
enebo has joined #ruby
sanguisdex has joined #ruby
turtil has quit [Ping timeout: 250 seconds]
chinmay_dd has quit [Remote host closed the connection]
TheMoonMaster has joined #ruby
centrx has quit [Ping timeout: 244 seconds]
P1RATEZ has quit [Changing host]
P1RATEZ has joined #ruby
Jarboe has joined #ruby
renanoronfle has joined #ruby
Narzew has quit [Read error: No route to host]
Narzew has joined #ruby
d5sx43 has quit [Remote host closed the connection]
icebourg has joined #ruby
djbkd has quit [Remote host closed the connection]
jtdowney has quit []
wallerdev has joined #ruby
spyderman4g63 has joined #ruby
kinduff has quit [Quit: Saliendo]
jgt has joined #ruby
<jgt> hey folks
<jgt> is there a way to make a pass at a file, figure out all the constants, and see which need to be `require`d in order to not throw an Uninitialized Constant?
Cust0sLim3n has joined #ruby
spyderma_ has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
spyderman4g63 has quit [Read error: Connection reset by peer]
<apeiros> jgt: my smell-alarm clocks are ringing
<jgt> I know… I know…
<apeiros> jgt: you can parse the file and find all literal constants. this won't cover dynamic contants.
<apeiros> parsers exist aplenty.
Agoldfish|Away is now known as Agoldfish
<jgt> cheers
haxrbyte_ has joined #ruby
<apeiros> but seriously, reconsider what you're doing :-p
Freijo has joined #ruby
Freijo has quit [Client Quit]
<jhass> ripper should suffice for that, no?
mjuszczak has joined #ruby
<apeiros> I hear ripper has troubles. but it might, yes.
<shevy> hehe
<bootstrappm> that sounds like autoload behavior jgt
<shevy> ripper has troubles
unshadow has quit [Quit: leaving]
<jhass> just make sure you assign the instance to a local named jack and all will be fine
<bootstrappm> morning all btw
centrx has joined #ruby
jmhmccr has joined #ruby
<sts> hm. is there a way to trace why a task was called in rake?
swgillespie has joined #ruby
<sts> or in which context it was called?
duderonomy has joined #ruby
pdoherty has joined #ruby
<jhass> doubt it, why would you need that?
mjuszczak has quit [Client Quit]
dopie has quit [Quit: This computer has gone to sleep]
<jhass> or you mean just for debugging?
<jhass> if the later, just invoke rake with --trace
haxrbyte has quit [Ping timeout: 265 seconds]
icebourg has quit []
nateberkopec has joined #ruby
davispuh has quit [Remote host closed the connection]
mjuszczak has joined #ruby
longfeet has joined #ruby
<sts> jhass: the thing is i defined a file task, which is beeing called twice and I have no idea why.
<jhass> then try --trace
vivekananda has quit [Read error: Connection reset by peer]
vivekananda has joined #ruby
iliketurtles has joined #ruby
hololeap has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<sts> jhass: that doesn't show anything.. https://gist.github.com/sts/4d65cc39f17af0a4f665
cubesandcode has joined #ruby
<jhass> is your task maybe defined twice?
<jhass> note that task :foo do puts "a"; end; task :foo do; puts "b"; end; will print both, a and b
sanguisdex has left #ruby [#ruby]
<bootstrappm> hey sts that doesn't look like Rake is invoking it twice
<bootstrappm> that looks like its invoking it once and your task does those operations twice
<bootstrappm> the ones tha produce the output
replay has joined #ruby
shock_one has joined #ruby
kuroro2 has joined #ruby
<kuroro2> /mode $me +x
kuroro2 has quit [Client Quit]
mordocai has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
<sts> bootstrappm: I don't know how it could execute it twice ... https://gist.github.com/sts/921459a2790f78dcb3db
psy has quit [Disconnected by services]
fmcgeough has quit [Quit: fmcgeough]
Rapier- has quit [Quit: (null)]
psy__ has joined #ruby
<jgt> ah, found a better approach for my autoloading thing :)
<jgt> what I really wanted was to load all files under some dir
redondo has quit [Quit: redondo]
<jgt> made it work with Dir[File.expand_path('../../import/*.rb', __FILE__)].each(&method(:require))
fabrice31 has joined #ruby
horsecowdog has quit [Remote host closed the connection]
kenneth has joined #ruby
<hanmac> jgt but beware! Dir[] is not sorted so you cant trust the order of the files
<bootstrappm> sts I'd take a look at the output of that FileList dependency
saintcajetan has quit []
saintcajetan has joined #ruby
balazs has quit [Ping timeout: 246 seconds]
jonatin has joined #ruby
jonatin has quit [Client Quit]
Igorshp has joined #ruby
Brozo has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 265 seconds]
<bootstrappm> jgt did you take a look at the autoloading link? because loading all the files in a dir isn't really related to loading just the constants you're gonna use ...
<sts> bootstrappm: did a pp FIleList[... inside that file task. https://gist.github.com/sts/e4479f187918d634a585
Brozo has joined #ruby
apakatt has joined #ruby
<bootstrappm> odd indeed sts, I'm gonna take a look at how file tasks are defined and see whatsup
Synthbread has joined #ruby
snockerton1 has joined #ruby
ismaelga has joined #ruby
<jhass> sts: are you sure that the file isn't loaded twice by rake for some strange reason?
iasoon has joined #ruby
<jhass> try a puts "hey" at the toplevel
snockerton has quit [Ping timeout: 240 seconds]
tuelz has quit [Ping timeout: 265 seconds]
vikaton has quit []
Synthead has quit [Ping timeout: 244 seconds]
ascarter has quit [Remote host closed the connection]
djbkd has joined #ruby
Brozo has quit [Client Quit]
<jgt> bootstrappm: In this case, I know the constants I wanted to load and the constants in the files under that dir match 1:1
<bootstrappm> cool
<jgt> hanmac: Thanks, I didn’t know that. I think I’m safe in this case though :)
<sts> or crap. yes it is jhass
Bira has quit [Remote host closed the connection]
<sts> thanks
ascarter has joined #ruby
P1RATEZ has quit []
vikaton has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
<sts> fixed
<bootstrappm> (y) !
orion has joined #ruby
<sts> bootstrappm: thanks too :)
ascarter has quit [Max SendQ exceeded]
dseitz has quit [Read error: Connection reset by peer]
<orion> Hi. If I have a Ruby application sitting behind a load balancer, is it better to collect HTTP logs from the LB or directly from the application?
tuelz has joined #ruby
<orion> It *seems* inconsequential to me.
ascarter has joined #ruby
handlebar has quit [Quit: Leaving]
<hanmac> jgt: i for my self does prefer to have require_relative between the files so each of them only does require what they need
<sts> orion: you will probably want to log at the webservers running on you application servers, if so.
<orion> sts: Why?
<sts> orion: if its a lb -> (nginx?) -> app stack
baweaver has joined #ruby
d5sx43 has joined #ruby
<eam> orion: likely both, logging at every point is useful
baweaver has quit [Remote host closed the connection]
<orion> But that'll double my storage costs.
<eam> orion: the importance of each depends on the type of load balancer
<sts> orion: you will want to know where each request landed, and it will probably be easier to debug. consider requests which accidently bypass the LB..
baweaver has joined #ruby
<Radar> morning
<waxjar> orion: keep in mind that if you're interested in IPs, they might very well all be your load balancer's IP if you log from your application
<eam> "double my storage costs" <-- your logfile size shouldn't be significant
<jhass> unless your app logs all the X-Forwarded-For variants
kirun has quit [Quit: Client exiting]
<sts> waxjar: depends on the webserver configuration (X-Forwarded-For, mod_rpaf, mod real ip)..
<orion> Well, let's assume the LB sets X-Forwarded-For and X-Real-IP.
multi_io has quit [Ping timeout: 272 seconds]
rbennacer has joined #ruby
<sts> orion: then you are able to use Nginx mod RealIP..
<sts> orion: to log the correct ip
<waxjar> sts: sure, just a heads up :)
<sts> waxjar: ;
multi_io has joined #ruby
balazs has joined #ruby
<orion> sts: Sure, but we have centralized logging. Which logs should ultimately get sent to logstash? The Ruby application's HTTP logs or nginx's logs?
<orion> Is there a reason to prefer one over the other?
ismaelga has quit []
<eam> log any system which you consider critical and will want to fix when it inevitably fails
<bootstrappm> yeah centralized logging is definitely the way to go. Don't want to be logging into all those server just to see whats up
<sts> orion: i'd send the nginx logs + also log them locally
<bootstrappm> and if your app is setup smoothly orion the app's logs are more important
<bootstrappm> in my experience once you have your nginx / apache set there's no code you can push that can really mess it up too bad
<orion> I see.
commondream has joined #ruby
d5sx43 has quit [Remote host closed the connection]
<bootstrappm> if you start fiddling w/ caching or headers or something you'll need to turn nginx / apache logging on and send it somewhere to have visibility into what you're doing
<bootstrappm> but if you just set it and forget it you shouldn't be looking into the webserver logs too much
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bootstrappm> all your 500s will show up in the ruby apps logs
cirn0 has joined #ruby
Jackneill has quit [Remote host closed the connection]
<orion> I see.
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
icebourg has joined #ruby
<sts> orion: what does your stack look like?
<bootstrappm> but if you're looking to be safe I'd log them and send them somewhere anyway. Maybe not logstash where storage is expensive ... but local logging + a cron that sends the files to s3 would be being safe
swgillespie has joined #ruby
<orion> sts: nginx -> application -> ...
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Igorshp has quit [Remote host closed the connection]
A205B064 has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
sanguisdex has joined #ruby
turtil has joined #ruby
awer_ has joined #ruby
apakatt has quit [Quit: ?]
spider-mario has quit [Remote host closed the connection]
d5sx43 has joined #ruby
awer has quit [Ping timeout: 244 seconds]
kenneth has joined #ruby
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TheNet has joined #ruby
commondream has quit [Remote host closed the connection]
spider-mario has joined #ruby
<cubesandcode> Is this a good guide for installing ruby/rails, command line tools, and homebrew? http://www.moncefbelyamani.com/how-to-install-xcode-homebrew-git-rvm-ruby-on-mac/
ascarter has joined #ruby
<cubesandcode> I'm not good with command line suff so I'm afraid of messing something up
nobitanobi has quit [Remote host closed the connection]
duderonomy has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
duderonomy has quit [Max SendQ exceeded]
scripore has joined #ruby
<adaedra> install brew
<adaedra> brew install rbenv, brew install ruby-build
spyderma_ has quit [Remote host closed the connection]
konsolebox has joined #ruby
<adaedra> eval "$(rbenv init -)"
<adaedra> gem install rails
konsolebox has quit [Max SendQ exceeded]
<adaedra> ah, I forget rbenv install [version]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> adaedra: what do you like about rbenv over rvm/chruby?
konsolebox has joined #ruby
<cubesandcode> so do you not need command line tools for xcode to do that
redlegion has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<adaedra> cubesandcode: oh yes you do, for brew
<adaedra> jhass: it's a simple shell script that just works
konsolebox has quit [Max SendQ exceeded]
<adaedra> I find rvm too much and too complicated
edwinvdgraaf has joined #ruby
konsolebox has joined #ruby
e1nh4nd3r has quit [Ping timeout: 246 seconds]
<GaryOak_> chruby
<jhass> dunno, rbenv is quite big
<adaedra> never tried chruby
<jhass> with that argument chruby would be better for you :P
konsolebox has quit [Max SendQ exceeded]
kenneth has quit [Read error: Connection reset by peer]
<jhass> that really is a simple shell script
<adaedra> I didn't like rvm that much, changed to rbenv, liked it, never changed again
<GaryOak_> rvm gets bad when you are trying to understand what is happening
<jhass> about as long as rbenvs init command
konsolebox has joined #ruby
<shevy> jhass what webserver do you use locally?
<adaedra> rvm is like a squid putting its tentacles everywhere in my shell
<jhass> shevy: for dev?
konsolebox has quit [Max SendQ exceeded]
growlove has quit [Remote host closed the connection]
konsolebox has joined #ruby
<shevy> jhass yeah. not sure if you also run local pages - I use lighttpd for my local knowledgebase for instance
orion has left #ruby [#ruby]
<jhass> boxcars
<adaedra> cubesandcode: install xcode from app store, run it once, it should be ok
<shevy> huh ... never heard of that before
konsolebox has quit [Max SendQ exceeded]
<jhass> I do things like ruby -run -e'httpd' . if I need to serve a bunch of files from a dir
aswen has quit [Ping timeout: 240 seconds]
<jhass> it's a simple reverse proxy
<adaedra> cubesandcode: but yeah, begin by learning how to act with brew
<jhass> I also have my recursor answer all queries for *.dev with 127.0.0.1
TheNet has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has quit [Quit: /quit]
nobitanobi has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> so I say boxcars point foo.dev to port 3000 please
<shevy> hmm
<jhass> and open foo.dev
umgrosscol has quit [Remote host closed the connection]
konsolebox has joined #ruby
konsolebox has quit [Max SendQ exceeded]
<jhass> allows different sessions to the same server in the same browser and things like that
konsolebox has joined #ruby
P1RATEZ has joined #ruby
e1nh4nd3r has joined #ruby
<cubesandcode> I just installed homebrew and when I ran 'brew doctor' I had some errors appear
konsolebox has quit [Max SendQ exceeded]
<cubesandcode> Did I mess up in someway
kenneth has joined #ruby
konsolebox has joined #ruby
<jhass> did you read the initial note?
scripore has quit [Quit: This computer has gone to sleep]
bigkevmcd has joined #ruby
bmurt has quit []
konsolebox has quit [Max SendQ exceeded]
<cubesandcode> yeah, I'm just not sure if these things are going to affect anything
mjuszczak has quit []
<jhass> worry if something doesn't work
rbennacer has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
<cubesandcode> alright lol
<jhass> shevy: https://github.com/azer/boxcars if you didn't find it
konsolebox has quit [Max SendQ exceeded]
towski_ has quit [Ping timeout: 265 seconds]
baweaver_ has joined #ruby
konsolebox has joined #ruby
jaequery has joined #ruby
towski_ has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
duggiefresh has quit []
baweaver has quit [Ping timeout: 250 seconds]
einarj has joined #ruby
havenwood has joined #ruby
beneggett has joined #ruby
longfeet has quit [Ping timeout: 258 seconds]
baweaver has joined #ruby
renanoronfle has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
scripore has joined #ruby
ta has joined #ruby
dopie has joined #ruby
baweaver has quit [Client Quit]
d5sx43 has quit [Quit: Leaving...]
baweaver_ has quit [Ping timeout: 256 seconds]
mengu has quit [Remote host closed the connection]
Xiti has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
zotherstupidbot has quit [Ping timeout: 264 seconds]
zotherstupidbot has joined #ruby
horsecowdog has joined #ruby
shuber_ has quit [Ping timeout: 258 seconds]
arietis has joined #ruby
<cubesandcode> adaedra: When I do eval "$(rbenv init -)" nothing happens
scripore has quit [Quit: This computer has gone to sleep]
arietis has quit [Client Quit]
kriskropd has joined #ruby
redlegion has quit [Ping timeout: 256 seconds]
MasterPiece has quit [Ping timeout: 240 seconds]
shevy has quit [Read error: Connection reset by peer]
Igorshp has joined #ruby
rodferso1 has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
einarj has quit [Remote host closed the connection]
<jhass> I doubt it's supposed to produce any output
<cubesandcode> oh okay thanks then
Narzew has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Leaving...]
wolflee has quit [Ping timeout: 246 seconds]
icebourg has quit []
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wolflee has joined #ruby
mary5030 has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
mary5030_ has quit [Ping timeout: 252 seconds]
duderonomy has joined #ruby
BTRE has quit [Quit: Leaving]
scripore has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
dopie has quit [Quit: This computer has gone to sleep]
horsecowdog has quit [Remote host closed the connection]
shevy has joined #ruby
iasoon has quit [Ping timeout: 272 seconds]
kinduff has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<kinduff> afternoon
werelivinginthef has quit [Remote host closed the connection]
pdoherty has quit [Ping timeout: 272 seconds]
<apeiros> evening kinduff
__chris has quit [Quit: This computer has gone to sleep]
__chris has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Xiti has joined #ruby
__chris has quit [Client Quit]
<shevy> MORNING!!!
yaw has joined #ruby
<jhass> apeiros: we need a new channel rule
<jhass> "The timezone of this channel is UGT"
<apeiros> universally grue time?
shuber_ has joined #ruby
<jhass> you don't know UGT? :o
<apeiros> it shall be law that the time in this channel is always noon.
<shevy> universal godzilla time
<apeiros> nope, I didn't know ugt
Hijiri has joined #ruby
vickleton has quit [Remote host closed the connection]
codepete has quit []
<apeiros> hehehe, I love this: "Now, instead of spending time figuring out what time of day is it for every member of the channel, we spend time explaining newcomers benefits of UGT."
codepete has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> ;)
<bootstrappm> jajaja that's great
<shevy> what is UGT
quimrstorres has quit [Remote host closed the connection]
<apeiros> shevy: see link above
* shevy is a newcomer.
<shevy> "UGT (abbr.): Universal Greeting Time."
<shevy> is this like Mr. Spock and the spock sign?
<shevy> V
balazs has quit [Ping timeout: 246 seconds]
<bootstrappm> i didn't click the link at first and was about to go on believing Godzilla and noon :(
<shevy> sorry
<bootstrappm> hahaha
<shevy> the truth is often much more boring than fiction :(
<shevy> that's why we like movies
<bootstrappm> i think UGTs good though, I use it since somebody in #debian yelled at me once i think
<shevy> save for those with too much cgi effects
<shevy> damn #debian
<bootstrappm> i greeted y'all at like 1pm today but 'twas morning indeed
<shevy> our old nemesis
casadei has quit [Remote host closed the connection]
<shevy> dpkg is perl!!!
<bootstrappm> they're quite mean from my short time there
iliketurtles has joined #ruby
<bootstrappm> made me go for elementaryOS instead
<jhass> shevy: explains why it's so slow
<shevy> hehe
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> dpkg is semi-ok; what annoys me is, when I have more than one tab in a terminal, and in one terminal I do apt-get install something
<shevy> I have to wait in the other tabs until that one is finished, as the "resource is locked" :(
bMalum has quit [Quit: bMalum]
<shevy> so if I install something big like kde, it's thumb twiddling time until that one has finished...
scripore has quit [Quit: This computer has gone to sleep]
insidious has joined #ruby
<jhass> mmh, is there any that allows concurrent installs?
<shevy> dunno... I googled, they say I could force-install stuff but it might break things
<shevy> then I just went to do something else and returned when it was finished...
vikaton has quit []
snockerton1 has quit [Quit: Leaving.]
<shevy> I should use arch, shouldn't I?
<shevy> I usually look for DVD downloads so I don't have to install much lateron
Igorshp has quit [Remote host closed the connection]
pdoherty has joined #ruby
shellfu is now known as shellfu_afk
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
ascarter has joined #ruby
nobitanobi has joined #ruby
crack_user has quit [Quit: Leaving.]
FernandoBasso has joined #ruby
coolfool has quit []
coolfool has joined #ruby
balazs has joined #ruby
edwinvdg_ has joined #ruby
wildroman2 has joined #ruby
blackmesa has joined #ruby
AntKnee has quit []
AntKnee has joined #ruby
<kinduff> having a hard time move some records to the beginning of an active record relationship
<kinduff> records = Record.all
<kinduff> selected = [Record.find(1), Record.find(5), Record.find(10)].map{|record| records.index(record) }
<adaedra> cubesandcode: sorry, wasn't there
<kinduff> selected.reverse.each{|s| records.insert(1, records.delete_at(s)) }
<cubesandcode> adaedra: No worries, I think everything installed well
<kinduff> but there's not delete_at method for ar relationship
<adaedra> cubesandcode: cool!
insidious has quit [Quit: Textual IRC Client: www.textualapp.com]
commondream has joined #ruby
<adaedra> jhass: why your question, by the way? Is there a problem with rbenv?
atox has quit [Remote host closed the connection]
mfonda has joined #ruby
<jhass> I don't like that it breaks the .ruby-version contract RVM and chruby provide
Alina-malina has quit [Ping timeout: 258 seconds]
<adaedra> It does?
lidenskap has quit [Remote host closed the connection]
<jhass> yeah, doesn't allow non-specific versions
edwinvdgraaf has quit [Ping timeout: 250 seconds]
<mfonda> how to configure where gem fetches packages from? or more specificall, how to reset this to whatever the default is?
<jhass> like 2.2 to get the latest 2.2 available
<adaedra> ah
serivich has joined #ruby
<adaedra> I see
<jhass> mfonda: check gem env, if it's changed, that's most like in ~/.gemrc or /etc/gemrc
<adaedra> I'll look at chruby one day then
awer_ has quit [Ping timeout: 258 seconds]
baweaver has quit [Remote host closed the connection]
lidenskap has joined #ruby
baweaver has joined #ruby
awer has joined #ruby
e1nh4nd3r has quit [Read error: Connection reset by peer]
A124 has quit [Ping timeout: 264 seconds]
e1nh4nd3r has joined #ruby
<mfonda> jhass: thanks. yeah looks like it's changed in ~/.gemrc. What's the standard source to use?
<jhass> https://rubygems.org (which it should use if you specify none there)
<mfonda> jhass: thanks!
commondream has quit [Remote host closed the connection]
TateBubok has joined #ruby
Alina-malina has joined #ruby
crack_user has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TateBubok has quit [Client Quit]
cirn0 has quit [Remote host closed the connection]
A124 has joined #ruby
fabrice31 has joined #ruby
commondream has joined #ruby
mfonda has left #ruby [#ruby]
maletor has quit [Quit: Computer has gone to sleep.]
C1V0 has joined #ruby
<Aeyrix> Is uh
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Aeyrix> FB messenger broken for anyone else?
rodferso1 has quit [Remote host closed the connection]
maletor has joined #ruby
<wallerdev> works for me
Channel6 has quit [Quit: Leaving]
<cubesandcode> prob a stupid question but i have both rvm and rbenv installed, that wont be an issue right
segfalt has quit [Quit: segfalt]
Mia has joined #ruby
Mia has joined #ruby
<Aeyrix> wallerdev where are you based!?
<Aeyrix> Wow no need for!
<baweaver> have you ever mixed water and sodium?
<Aeyrix> My phone is moronic
<wallerdev> im in SF
fabrice31 has quit [Ping timeout: 256 seconds]
<Aeyrix> Hmm
cirn0 has joined #ruby
<wallerdev> using the iphone app
<baweaver> Oh hey, another bay area person
<Aeyrix> Australia here. Maybe the bit of the internet that flips the bits upside down is broken.
druuu has quit [Ping timeout: 244 seconds]
<wallerdev> makes sense
_havenn has joined #ruby
edwinvdg_ has quit [Remote host closed the connection]
<wallerdev> can you not connect at all?
Igorshp has joined #ruby
<wallerdev> or just messages dont go through
commondream has quit [Remote host closed the connection]
<Aeyrix> It tells me it's waiting on my network.
cirn0 has quit [Remote host closed the connection]
<wallerdev> maybe they blocked facebook in australia
<baweaver> wallerdev: where at?
duderonomy has quit [Ping timeout: 256 seconds]
<Aeyrix> Kek
<Aeyrix> FB works. Messenger doesn't.
<wallerdev> what do you mean where at
<Aeyrix> In SF
<wallerdev> im at 6th and market right now haha
<baweaver> job wise over here
edwinvdg_ has joined #ruby
bkxd has joined #ruby
commondream has joined #ruby
<baweaver> Normally around 2nd and Harrison
<eam> "how far along market are you"
<Aeyrix> 3ft
Axy has quit [Ping timeout: 255 seconds]
<wallerdev> oh cooool
havenwood has quit [Ping timeout: 276 seconds]
<GaryOak_> So hip
<Aeyrix> Heh
<wallerdev> i actually just got a recruiter trying to hire me for a place over there, well south park area
<adaedra> cubesandcode: not a good idea imo.
<Aeyrix> I had the same reaction when I found I work like 5min from R@dar.
<cubesandcode> adaedra: should i uninstall one?
<adaedra> They both do the same thing, use either rvm on rbenv.
nateberkopec has joined #ruby
<baweaver> There are tons of companies right in this area
<adaedra> They will fight over dominance to manage your ruby version, cubesandcode
<baweaver> Highlander style
<baweaver> There can only be one
<wallerdev> theres like 500000 tech companies in soma
<wallerdev> anyway off to get team ice cream
iasoon has joined #ruby
<eam> and even then not nearly as many as in the south bay
<wallerdev> lol :p
shock_one has quit [Remote host closed the connection]
<baweaver> and good food trucks
<GaryOak_> there's like 2 tech companies where I live
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wallerdev> yeahhh i love food trucks
<Aeyrix> Did someone say Highlander
shock_one has joined #ruby
<eam> GaryOak_: where's that?
<GaryOak_> Eastern Washington State
<shevy> GaryOak_ but you have 3 universities?
<wallerdev> sanguchon and curry up now <3
<eam> the land of microsoft
<shevy> I thought that was seattle
<GaryOak_> nah, nah
<baweaver> wallerdev: I tend to check into MoBowl a lot
speakingcode has quit [Ping timeout: 256 seconds]
<eam> shevy: seattle is in washington
<Aeyrix> Messenger is back.
<eam> not eastern though
<Aeyrix> Wew lad
versahu has joined #ruby
<versahu> hi
<Aeyrix> h
crus has joined #ruby
jenksy has quit [Ping timeout: 246 seconds]
C1V0 has quit []
<GaryOak_> Eastern WA is a literal and figurative desert
shock_one has quit [Ping timeout: 240 seconds]
<GaryOak_> shevy: everyone here moves to Seattle except dumb old me :(
mordocai has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
deric_skibotn has quit [Ping timeout: 245 seconds]
<baweaver> Funny, Microsoft was trying to recruit me the other day too
<shevy> understandable
<shevy> it's literally Canada up there to the north!
shadeslayer has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<GaryOak_> basically
ShortyCode has joined #ruby
websoftwarez has quit [Remote host closed the connection]
baweaver has quit [Read error: Connection reset by peer]
commondream has quit [Remote host closed the connection]
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
commondream has joined #ruby
jespada has quit [Quit: WeeChat 1.1.1]
dopie has joined #ruby
baweaver has joined #ruby
sgambino has joined #ruby
scripore has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
wallerdev has quit [Quit: wallerdev]
qwertme has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
DerisiveLogic has quit [Ping timeout: 245 seconds]
wildroman2 has quit [Remote host closed the connection]
commondream has quit [Ping timeout: 265 seconds]
crack_user has quit [Quit: Leaving.]
kenneth has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
AlphaAtom has quit [Quit: Textual IRC Client: www.textualapp.com]
AlphaAtom has joined #ruby
kenneth__ has joined #ruby
kenneth has quit [Read error: Connection reset by peer]
GaryOak_ has quit []
jenksy has joined #ruby
<shevy> who of you uses lots of colours in a console program
dopie has quit [Quit: This computer has gone to sleep]
dru` has joined #ruby
jenksy has quit [Changing host]
jenksy has joined #ruby
awer has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 258 seconds]
<eam> shevy: how many is lots
<shevy> well more than the ansicolours
kinduff has quit [Ping timeout: 276 seconds]
<shevy> in particular, I am interested in people who use gnome-terminal or kde konsole and use colours
<shevy> because, I now have RGB colours in kde konsole - but it does not work in gnome-terminal
bMalum has joined #ruby
baweaver has quit [Remote host closed the connection]
segfalt has joined #ruby
thiagovsk has quit [Quit: Connection closed for inactivity]
<eam> I'mt not even aware of how colors other than ansi would work
shock_one has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver_ has joined #ruby
<shevy> this should work if you have ruby + kde konsole:
<shevy> ruby -e 'puts "\e[38;2;#{222};#{131};#{141}m Hello world!"'
<shevy> the RGB values are in the #{}
<shevy> hmm is it dangerous to convert from #<Encoding:UTF-8> to #<Encoding:ISO-8859-1> ?
pdoherty has quit [Ping timeout: 265 seconds]
thiagovsk has joined #ruby
versahu has quit [Remote host closed the connection]
<eam> shevy: those are just regular ansi color sequences
serivich has quit [Ping timeout: 272 seconds]
gizmore has left #ruby [#ruby]
gizmore has joined #ruby
<shevy> I can't get that to support in xterm
shock_one has quit [Ping timeout: 272 seconds]
<eam> what's your $TERM
baweaver_ has quit [Remote host closed the connection]
<shevy> "xterm"
<eam> tryxterm-256color
<shevy> ok
baweaver has joined #ruby
chinmay_dd has joined #ruby
baweaver has quit [Remote host closed the connection]
<eam> (don't buy the book, I'd probably rather eat poison than mess with terminfo)
ta has quit [Remote host closed the connection]
baweaver has joined #ruby
macmartine has joined #ruby
<eam> that stuff is the blackest of magic
iliketurtles has quit [Quit: zzzzz…..]
<shevy> <gizmore> aloha... i am muted on #ruby ... maybe you can help me settle this past incident?
cubesandcode has quit [Remote host closed the connection]
centrx has joined #ruby
<baweaver> it'd be more of a question for Radar
<Radar> He's muted because of this: http://logs.ryanbigg.com/ruby?date=2015-05-14#3161762
<Radar> !unmute gizmore
Sawbones has joined #ruby
<Radar> gizmore: Please try to be a productive member of the channel.
<gizmore> ping
<shevy> yeah you are right Radar
<shevy> <gizmore> i am registered... not sure how i am muted, but i was an asshole two weeks ago
<gizmore> sorry... i was being rude for no reason
<shevy> he admitted to it ;P
edwinvdg_ has quit [Ping timeout: 256 seconds]
<Radar> oh the unmute did work from ruboto. I should really turn modes back on.
chinmay_dd has quit [Ping timeout: 264 seconds]
<gizmore> indeed... productivity is what i am missing here for myself
<gizmore> thank you Radar
yaw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<eam> so a few weeks or more ago I was asking about in-memory sql dbs - finally settled on a solution. Using sqlite, even though it's pretty slow, and replaced the key/val style lookups with mdbm
<eam> the result is about a 3 orders of magnitude speedup
<Radar> shevy: Don't you have bot access? For some reason I thought you did.
<shevy> hmm don't think so
* jenksy is missing bot access also. ;)
<eam> sqlite was around a 4ms query time, mdbm is around 4us
<baweaver> !r4ia
<shevy> I know about 3 IRC commands... /j /quit ... and /nick
<Radar> baweaver: It won't work here because helpa is +q'd
<shevy> ah and /me
* baweaver shrugs
<Radar> weird
* shevy beavers
sent1nel has quit [Remote host closed the connection]
<eam> my problematic query that took ~120sec is now about 110ms
<baweaver> heh
<Radar> eam: nice :)
Lucky__ has joined #ruby
<shevy> what did you do
<shevy> rewrite in C?
<Radar> eam: Do you have a link to that?
scripore has quit [Quit: This computer has gone to sleep]
<eam> well, it was always C at runtime - but I do the sqlite/mdbm construction in ruby
bogdanteleaga has quit [Ping timeout: 264 seconds]
macmartine has quit [Remote host closed the connection]
<eam> Radar: will push the new code later today, but the old stuff was this (pure sqlite) https://github.com/square/libcrange/blob/master/source/functions/sqlite.c
_havenn is now known as havenwood
casadei has joined #ruby
<Radar> shevy: apparently it was already in C!
<shevy> I envy eam ... he knows the secret of C
<eam> and I wrote https://github.com/eam/ruby-mdbm so I could build my mdbm alongside my sqlite db
<shevy> I still have to finish "The C Programming Language" :\
<eam> in a nicer language like ruby
mjuszczak has joined #ruby
<eam> the workload is "build a new db and swap it in every few minutes"
wallerdev has joined #ruby
<shevy> eam you have such a big moustache!
<eam> unfortunately it is a prosthesis, at the time I was clean shaven (follically disabled)
deric_skibotn has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
<shevy> well this is Larry Wall style beard
<eam> I have a proper unix beard at the moment
shazaum has quit [Quit: This computer has gone to sleep]
Igorshp has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
<shevy> so like RMS
<eam> startlingly similar
bogdanteleaga has joined #ruby
<shevy> I assume this makes programming easier
<wallerdev> back
CloCkWeRX has joined #ruby
dstarh has joined #ruby
iliketurtles has joined #ruby
<eam> ruby makes programming easier, the beard just itches
C1V0 has joined #ruby
<shevy> lol
<shevy> now that's a memorable quote
<Radar> I can confirm also that my Ruby ability increases with beard length and/or density.
Ropeney has joined #ruby
<jenksy> I thought that was true of all languages...
Sawbones has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
avahey has joined #ruby
hardlin3r has quit [Ping timeout: 272 seconds]
Hijiri has joined #ruby
ixti has quit [Read error: Connection reset by peer]
jimms has joined #ruby
<eam> mine's somewhere between "grandpa" and "wizard", right about near "chronically homeless"
icebourg has joined #ruby
<eam> if I shave it I get asked for money on BART
jenksy has quit [Remote host closed the connection]
horsecowdog has joined #ruby
<shevy> lol
<shevy> chronically homeless
icebourg has quit [Client Quit]
rubie has joined #ruby
<shevy> Grace Hopper
<shevy> did not have a beard
<shevy> wow
<rubie> LOL
<rubie> nice find
Igorshp has joined #ruby
dtscode has joined #ruby
<dtscode> Do I remember correctly that you guys have a bot that turns pastebin links into links for another site?
<bootstrappm> yes
<bootstrappm> if you paste a pastebin link it will do it automatically
<dtscode> Do you happen to know if the source is available?
kinduff has joined #ruby
cyberarm has quit [Ping timeout: 240 seconds]
<shevy> I think jhass can answer that when he wakes up again
<shevy> and give you the code
scripore has joined #ruby
<jhass> dtscode: it's just using the API
<dtscode> I figured. I was just hoping to be lazy
<jhass> parse the pastebin.com id from the link, fetch the raw version, post to gist api
cubesandcode has joined #ruby
<ruboto> jhass, we in #ruby do not like pastebin.com, it loads slowly for most, has ads which are distracting and has terrible formatting. Please use https://gist.github.com
horsecowdog has quit [Remote host closed the connection]
<jhass> you see, it's pretty dumb :P
Zai00 has quit [Quit: Zai00]
horsecowdog has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
sirecote has quit [Ping timeout: 272 seconds]
TigerWolf has joined #ruby
replay has quit []
sirecote has joined #ruby
Blaguvest has quit []
debajit has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
cirn0 has joined #ruby
bMalum has quit [Quit: bMalum]
sevenseacat has joined #ruby
deric_skibotn has quit [Ping timeout: 258 seconds]
Igorshp has quit [Remote host closed the connection]