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, other public logging is prohibited
cjim_ has quit [Quit: (null)]
oo_ has joined #ruby
shutupyeahyoukid has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shutupyeahyoukid has quit [Client Quit]
astrobunny has joined #ruby
theotherstupidgu has quit [Ping timeout: 264 seconds]
kblake has joined #ruby
astrobunny has quit [Remote host closed the connection]
theotherstupidgu has joined #ruby
shutupyeahyoukid has joined #ruby
nobitanobi has joined #ruby
kblake has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 245 seconds]
Deele has joined #ruby
kyrylo has quit [Ping timeout: 264 seconds]
airdisa has quit [Read error: Connection timed out]
<shutupyeahyoukid> Is this working? testing
Colourful has joined #ruby
airdisa has joined #ruby
<shutupyeahyoukid> I don't think this is working, Can anyone hear me?
Igorshp has quit [Remote host closed the connection]
thatslif_ has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
mistermocha has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Ping timeout: 246 seconds]
mengu has joined #ruby
Synchunk has joined #ruby
swgillespie has joined #ruby
<jhass> shutupyeahyoukid: might be just your odd nick :P
<shutupyeahyoukid> Thanks for letting me know
shutupyeahyoukid has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 255 seconds]
shutupyeahyoukid has joined #ruby
<shutupyeahyoukid> does it show the new name now?
<jhass> no
yfeldblum has quit [Ping timeout: 256 seconds]
ghostpl has quit [Remote host closed the connection]
<jhass> shutupyeahyoukid: to change your nick, just /nick whatever
jottr has joined #ruby
<Synchunk> Hey, I'm trying to get the current ISO 8601 time, the result using Time.new.iso8601 is "2015-05-02T01:30:31.597+02:00". However, I'm trying to get +0200 at the end, without the colon. I know I could remove it from the string but I'd prefer a.. cleaner solution, if there is one.
mengu has quit [Ping timeout: 240 seconds]
wallerdev has quit [Quit: wallerdev]
diegoviola has joined #ruby
snockerton has quit [Quit: Leaving.]
<Synchunk> Most of the other methods (for example Time.now) use the +0200 format, but .iso8601 doesn't.
pwattste has joined #ruby
<bricker> Synchunk: just curious, why do you want to remove the colon? It would then not be ISO 8601 format
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
lidenskap has joined #ruby
<Synchunk> According to the Wikipedia article that's valid too
Stalkr^ has quit [Quit: Leaving...]
<bricker> Synchunk: you're right, I just looked it up too
<Synchunk> And JIRA (a bug tracking software) only accepts that format :/
shutupyeahyoukid is now known as someguy
<Synchunk> I'm just.. kinda curious why .iso8601 uses a different format than pretty much all other methods.
sankaber has joined #ruby
<bricker> Synchunk: dunno. Probably strftime is your best bet.
oo_ has quit [Remote host closed the connection]
<Synchunk> bricker, awesome, thanks!
<Synchunk> Looks like a better solution than removing the last colon :)
<jhass> >> require "time"; Time.now.strftime("%Y-%m-%dT%H:%M:%z")
<ruboto> jhass # => "2015-05-02T00:23:+0000" (https://eval.in/322285)
endash has quit [Quit: endash]
<bricker> Synchunk: it seems that the colon is there because of the XML spec... just quick guess based on the ruby docs for #xmlschema
<Synchunk> that was fast. thanks! :)
metalic has joined #ruby
Kellin has joined #ruby
<jhass> >> require "time"; Time.now.strftime("%FT%T%z")
<ruboto> jhass # => "2015-05-02T00:24:58+0000" (https://eval.in/322287)
badhatter has joined #ruby
jlast has joined #ruby
wallerdev has joined #ruby
<mjuszczak> Is this valid in ruby?
<mjuszczak> uri = URI.parse(config[:sources][0])
<mjuszczak> the [0] to reference the first item
tomphp has joined #ruby
<mjuszczak> it's working but I wanted to make sure it was sane...
<Synchunk> It could throw an error if config[:sources] is nil, and could return nil if [0] doesn't exist
<jhass> don't see anything wrong about it, at least from the provided context
<Synchunk> but if you know that they exist, that shouldn't be a problem :)
<Synchunk> jhass, I used %FT%T.%L%z as JIRA is probably annoying again and complains about the missing milliseconds otherwise... Thanks everyone!
dseitz has joined #ruby
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soda has joined #ruby
<jhass> Synchunk: I think you want %3N
ReK2 has joined #ruby
casadei_ has joined #ruby
michaeldeol has quit [Ping timeout: 272 seconds]
<jhass> or I guess that's actually the same as %L
nii236 has joined #ruby
JDiPierro has quit [Remote host closed the connection]
snakeb0t has joined #ruby
<Synchunk> >> require "time"; a=Time.now; puts "#{a.strftime('%L')} <-> #{a.strftime('%3N')}"
<ruboto> Synchunk # => 320 <-> 320 ...check link for more (https://eval.in/322313)
<Synchunk> Yup, seems like it
snakeb0t has quit [Remote host closed the connection]
bklane has quit []
segfalt_ has joined #ruby
<Synchunk> good to know about %xN though :)
snakeb0t has joined #ruby
<Papierkorb> In general, when I do something like this: a.b.c, where a or b may return nil, is there a nice way to handle that without tons of ifs?
<jhass> not in core ruby
snakeb0t has quit [Remote host closed the connection]
segfalt has quit [Ping timeout: 240 seconds]
segfalt_ is now known as segfalt
<Papierkorb> jhass: Is there a magic gem to fancy-fy that construct?
someguy has quit [Quit: Leaving]
<jhass> if .b .c are inexpensive, a && a.b && a.b.c is as good as you get
casadei_ has quit [Ping timeout: 250 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Ping timeout: 265 seconds]
<jhass> ActiveSupport has Object#try: a.try(:b).try(:c)
<Papierkorb> interesting, thanks
<jhass> somebody extracted that into its own gem I guess
someguy has joined #ruby
Prysmm has quit [Read error: Connection reset by peer]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
snakeb0t has joined #ruby
lidenskap has quit [Remote host closed the connection]
yaw has quit [Ping timeout: 255 seconds]
someguy has quit [Client Quit]
lidenskap has joined #ruby
someguy has joined #ruby
<al2o3-cr> $ print([x for x in range(10)])
<snakeb0t> al2o3-cr #=> [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]... more info at (https://eval.in/322322)
FernandoBasso has quit [Quit: leaving]
hiyosi has joined #ruby
scripore has joined #ruby
balazs has joined #ruby
<Papierkorb> jhass: I like 'try' already. thanks!
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<al2o3-cr> $ import math; print(math.sqrt(10))
<snakeb0t> al2o3-cr #=> 3.1622776601683795... more info at (https://eval.in/322328)
<jhass> al2o3-cr: bots besides ruboto are not allowed to have triggers that are not prefixed with the bots nick in this channel
snakeb0t has quit [Remote host closed the connection]
<jhass> besides I don't see how a python bot is relevant here...
<al2o3-cr> jhass: ok sorry :(
claw has quit [Ping timeout: 256 seconds]
claw has joined #ruby
<Papierkorb> bonus points though if it'd somehow convert the given script into ruby
workmad3 has joined #ruby
fowl has left #ruby ["Leaving"]
charliesome has quit [Quit: zzz]
balazs has quit [Ping timeout: 256 seconds]
DanKnox has quit [Excess Flood]
redlegion has joined #ruby
DanKnox_ has joined #ruby
DanKnox_ is now known as DanKnox
<ReK2> Ruby Programming and resources for Information Security professionals, security enthusiasts and hackers of all shades https://www.reddit.com/r/ruby_infosec
ghr has joined #ruby
lidenska_ has joined #ruby
<Papierkorb> ReK2: what's that reddits goal? (or how does it compare to /r/netsec?)
robustus has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 255 seconds]
<weaksauce> Papierkorb the null object pattern is one way to deal with it... the monad maybe(i think that's what it's called?) pattern is another.
bricker has quit [Quit: leaving]
AlphaAtom has quit [Ping timeout: 272 seconds]
<ReK2> is focused on ruby not python
<ReK2> there are lot of python resources for infosec but almost no ruby
dseitz has joined #ruby
robustus has joined #ruby
<Papierkorb> weaksauce: with "null obj pattern" you mean a function would return a non-nil object which is invalid by its own definition?
bim has joined #ruby
<ReK2> lot of infosec people give up and move to python
djbkd_ has quit [Quit: My people need me...]
<Papierkorb> weaksauce: e.g. foo.valid? == false
<ReK2> such is ok.. but just trying to create some community
<ReK2> around ruby
bim is now known as Guest29587
airdisa has quit []
ll14m4n has joined #ruby
<Papierkorb> ReK2: Ah ok
<weaksauce> Papierkorb it's not necessarily for your particular use case.
lidenskap has quit [Ping timeout: 244 seconds]
<weaksauce> but it's a stand in object that has reasonable defaults for things that don't exist yet
davedev24_ has joined #ruby
<weaksauce> but you could adapt it
ghr has quit [Ping timeout: 245 seconds]
theotherstupidgu has quit [Ping timeout: 250 seconds]
<weaksauce> say a returned something like this `self.could_be_nil? || ANullObject.new`
<diegoviola> how to improve concentration when writing code?
ll14m4n has left #ruby [#ruby]
claptor has joined #ruby
<diegoviola> I have problems concentrating
<diegoviola> :(
<weaksauce> diegoviola different paths for different people.
<diegoviola> I want to do too many things at once
<weaksauce> music without words that I have heard a ton and is mellow works for me
davedev2_ has quit [Ping timeout: 276 seconds]
<weaksauce> some people like coffee shops
<diegoviola> and I end up doing nothing
<weaksauce> some people like white ambient noise
<Papierkorb> diegoviola: music .. or no music .. tell your irc client to not notify you for new messages .. watch a movie on a 2nd monitor you've seen like 100 times already ..
theotherstupidgu has joined #ruby
<weaksauce> you might have adhd
Guest29587 has quit [Ping timeout: 252 seconds]
<Papierkorb> diegoviola: go for a walk maybe .. technically, you could also pick up meditation (That's a bit more involved, but if you have that issue in general, maybe worth a thought)
oo_ has joined #ruby
DerisiveLogic has quit [Ping timeout: 250 seconds]
<someguy> I use an app called sleep pillow, It's been pretty great
iamninja has quit [Read error: Connection reset by peer]
Motoservo has joined #ruby
iamninja has joined #ruby
jottr_ has joined #ruby
<postmodern> how does one determine if a Mechanize::Page is html?
<postmodern> i suppose page['Content-Type']?
<postmodern> was wondering if there was an explicit method i could call
oo_ has quit [Ping timeout: 256 seconds]
_blizzy_ has quit [Ping timeout: 265 seconds]
tomphp has quit [Read error: Connection reset by peer]
jottr has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
Zambz has joined #ruby
pontiki has joined #ruby
<pontiki> hi o/
Zambz has left #ruby [#ruby]
swgillespie has joined #ruby
mjuszczak has quit []
<diegoviola> Papierkorb: thanks
nii236 has quit [Ping timeout: 245 seconds]
Synchunk has left #ruby ["thanks and bye! =)"]
zzing has quit [Ping timeout: 256 seconds]
tuelz1 has joined #ruby
RegulationD has joined #ruby
amclain has joined #ruby
zzing has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<centrx> postmodern, #content_type is there ;)
tuelz1 has quit [Ping timeout: 244 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
Brozo has joined #ruby
rkazak_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
lfox has joined #ruby
Colourful has quit [Quit: Page closed]
<postmodern> centrx, hmm not for images which come back as Mechanize::Files
zorak8 has quit [Read error: Connection reset by peer]
willharrison has joined #ruby
havenwood has joined #ruby
zorak8 has joined #ruby
ponga has joined #ruby
pwattste has quit [Ping timeout: 245 seconds]
tuelz1 has joined #ruby
_blizzy_ has joined #ruby
<willharrison> anyone read any of these and would you recommend it?
lfox has quit [Client Quit]
x1337807x has joined #ruby
vickleton has quit [Quit: Ex-Chat]
<banister> willharrison second one is shit (happy lambda)
taiansu has joined #ruby
<banister> first one...i dont see why there has to be a whole book about it
<banister> last one, idk
<willharrison> tbh, I was thinking that about the first and suspected that about the second
<willharrison> seeing as he has quit writing it
juanpablo__ has joined #ruby
<banister> willharrison how do u know he quit writing it?
<banister> i can't even see a date when he started it
d10n-work has quit [Quit: Connection closed for inactivity]
<willharrison> also the last one, the guy hasn't posted about since 2014 or something
<willharrison> but I figured for 4 bucks, I'd check them out if they were ok
aewffwea has joined #ruby
taiansu has quit [Ping timeout: 246 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<banister> willharrison ah ok
<banister> willharrison honestly i think it's better if you learn a functional language, and let that influence your ruby
<banister> rather than reading about "functional programming in ruby"
juanpablo__ has quit [Ping timeout: 256 seconds]
<willharrison> that's actually the plan, but I like to read cheap stuff off leanpub sometimes. it's a guilty pleasure
<banister> willharrison learn you haskell for great good is a good place to start imo
<willharrison> I am SICP and plan to start it once the semester is over
<aewffwea> banister: I'd advise anyone to properly learn OO fully first
<willharrison> aewffwea I know OO pretty well
<banister> aewffwea i assumed he had that already :)
<aewffwea> banister: I assume almost no one has :)
<willharrison> although, I have read a few articles stating it might be better to learn functional before OO
<willharrison> but who knows
<aewffwea> willharrison: I disagree
dc has joined #ruby
<banister> willharrison that's probably a good idea
<willharrison> to me they seem very separate and I don't see how the order would matter too much
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<aewffwea> willharrison: People tend to stick to what they learn first
<willharrison> I do agree with that
<banister> functional programming has an emphasis on simplicity that is probably good for any programmer
jenrzzz has joined #ruby
<banister> OO can get thorny and easy to overcomplicate things
<aewffwea> willharrison: Also, the most problematic thing about people learning OO is not them learning OO but forgetting ADT and procedural programming, and sometimes functional programming
<banister> aewffwea ADT?
<willharrison> ah, I see
<aewffwea> banister: OO doesn't overcomplate things... Programmers do
<aewffwea> banister: Abstract Data Types
Oka_ has joined #ruby
<banister> aewffwea lol ok, compsci 101 :)
<willharrison> OO is something you really have to wrap your head around
redlegion has quit [Read error: error:1408F119:SSL routines:SSL3_GET_RECORD:decryption failed or bad record mac]
<banister> aewffwea that's a tautology, true by definition :)
<aewffwea> willharrison: Is more difficult to change the way you think, that learning how to think in some ways
nobitanobi has joined #ruby
<willharrison> yeah, I struggled with OO after years of procedural programming
redlegion has joined #ruby
<aewffwea> '<banister> aewffwea that's a tautology, true by definition :)' --> that's asotautology, true by definition :)
<aewffwea> also
Oka has quit [Ping timeout: 265 seconds]
yfeldblum has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nii236 has joined #ruby
<banister> this guy is a dork
<willharrison> who?
<banister> aewffwea
someguy has quit [Quit: This computer has gone to sleep]
<willharrison> lol
balazs has joined #ruby
<banister> night
<willharrison> night
jlast has joined #ruby
JDiPierro has joined #ruby
<\13k> the fact that OO brings up so much discussion is a sign in itself, right?
Oka_ is now known as Oka
Oka has quit [Quit: さようなら]
casadei_ has joined #ruby
Oka has joined #ruby
ADot has joined #ruby
balazs has quit [Ping timeout: 255 seconds]
Asher has quit [Quit: Leaving.]
Asher has joined #ruby
<weaksauce> that it's popular?
jlast has quit [Ping timeout: 256 seconds]
ghr has joined #ruby
casadei_ has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest30158 has quit [Quit: Leaving]
I has joined #ruby
I is now known as Guest18455
Guest18455 has left #ruby [#ruby]
bim has joined #ruby
oo_ has joined #ruby
bim is now known as Guest63951
tomphp has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
lidenska_ has quit [Remote host closed the connection]
nii236 has quit [Ping timeout: 240 seconds]
Xiti has quit [Quit: Xiti]
jud has quit [Read error: Connection reset by peer]
Guest63951 has quit [Ping timeout: 245 seconds]
jud has joined #ruby
jud has joined #ruby
<aewffwea> \13k: not really
Xiti has joined #ruby
Papierkorb has quit [Ping timeout: 256 seconds]
Brozo has left #ruby ["Leaving..."]
dc has quit [Remote host closed the connection]
dseitz has quit [Read error: Connection reset by peer]
exadeci has quit [Quit: Connection closed for inactivity]
mary5030 has joined #ruby
sheer has joined #ruby
redlegion has quit [Quit: my balls itch]
wallerdev has quit [Ping timeout: 264 seconds]
fedexo has joined #ruby
dorei has quit []
mistermocha has joined #ruby
duderonomy has quit [Ping timeout: 264 seconds]
nii236 has joined #ruby
Asher has quit [Ping timeout: 276 seconds]
Asher has joined #ruby
RegulationD has joined #ruby
oo_ has quit [Remote host closed the connection]
Asher has quit [Read error: Connection reset by peer]
ADot has quit [Quit: Leaving.]
metalic has quit [Quit: Leaving]
mjuszczak has joined #ruby
<mjuszczak> OK I'm really confused. sudo gem sources is not showing the sources of /etc/gemrc
<mjuszczak> but if I sudo su and then run gem sources, it does. Any ideas?
Asher has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
duncannz has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
dfinninger has joined #ruby
fgo has joined #ruby
hewenhong has joined #ruby
rikai has joined #ruby
<rkazak_> are the gems installed under/as root?
<\13k> mjuszczak try debugging with `sudo gem environment`
SHyx0rmZ has joined #ruby
mistermocha has quit [Read error: Connection timed out]
<mjuszczak> That helps, thanks. There's no way to see what gemrc file it's looking t?
mistermocha has joined #ruby
blazes816 has joined #ruby
fgo has quit [Ping timeout: 246 seconds]
turtil has joined #ruby
<\13k> mjuszczak it reads a gemrc file in "SYSTEM CONFIGURATION DIRECTORY" also ~/.gemrc
MasterPiece has quit [Quit: Leaving]
<mjuszczak> thanks!
hewenhong has quit [Remote host closed the connection]
dc has joined #ruby
rgb-one has quit [Remote host closed the connection]
hewenhong has joined #ruby
tcrypt has quit [Ping timeout: 256 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blazes816 has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
dfinninger has quit [Remote host closed the connection]
nobitanobi has quit [Remote host closed the connection]
tomphp has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
workmad3 has joined #ruby
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PhantomSpank has quit [Remote host closed the connection]
Spami has joined #ruby
duderonomy has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
dvlwrk has quit [Ping timeout: 265 seconds]
nii236 has quit [Ping timeout: 250 seconds]
sent1nel has joined #ruby
lavros has joined #ruby
jlast has joined #ruby
balazs has joined #ruby
jeromelanteri has joined #ruby
jeromelanteri has quit [Client Quit]
jeromelanteri has joined #ruby
gazay has joined #ruby
papashou has joined #ruby
jeromelanteri has quit [Client Quit]
argoneus has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 265 seconds]
j416 has quit [Ping timeout: 245 seconds]
argoneus has joined #ruby
j416 has joined #ruby
sheer has left #ruby ["Quitting."]
nii236 has joined #ruby
pocketprotector has joined #ruby
<pocketprotector> I have an enbarrasing question. What do you call this "server[network][ip]" - is that a 2d array?
fgo has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<pocketprotector> im trying to find the correct documentation to make such a structutre, but i am not versed in the naming
A205B064 has quit [Ping timeout: 256 seconds]
<al2o3-cr> pocketprotector: it's called a hash
<pocketprotector> ok so hash.new =)
<al2o3-cr> or just {}
mistermocha has quit [Remote host closed the connection]
mleung has joined #ruby
diegoaguilar has joined #ruby
<pocketprotector> Hash.new is case sensitive.. rly?
<al2o3-cr> pocketprotector: yes
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tuelz1 has quit [Ping timeout: 250 seconds]
<al2o3-cr> Capital letter for class/module names
diegoaguilar has quit [Client Quit]
fedexo has quit [Read error: Connection reset by peer]
iotouch has joined #ruby
JDiPierro has quit [Remote host closed the connection]
<pocketprotector> I am painfully new to ruby.. most of my experience is from shell scripting.
<quazimodo> jhass: hullo
<pocketprotector> so far so good though =)
<al2o3-cr> 8)
<centrx> pocketprotector, everything in programming is case sensitive...
fedexo has joined #ruby
michael_mbp has quit [Excess Flood]
<pocketprotector> can i do something like server[hostname[0..1]] == "ab"
sum_bits has joined #ruby
michael_mbp has joined #ruby
<pocketprotector> err i dont want to be annoying.. i will read the ruby docs
braincrash has quit [Quit: bye bye]
<pocketprotector> one thing i am digging about ruby is that almost anything i try just works
<pocketprotector> as if the interpreter is saying, yeah.. i know what you meant to say.
iotouch has quit [Ping timeout: 250 seconds]
<al2o3-cr> >> server = {"hostname"=> "hostname"}; server["hostname"][0..1] == "ho"
<ruboto> al2o3-cr # => true (https://eval.in/322367)
<al2o3-cr> looks like it :)
CloCkWeRX has joined #ruby
<pocketprotector> dont call my hostnames that
<al2o3-cr> hehe
lavros has quit [Ping timeout: 250 seconds]
zzing has joined #ruby
dseitz has joined #ruby
nii236 has quit [Ping timeout: 256 seconds]
braincrash has joined #ruby
lavros has joined #ruby
sent1nel has quit [Remote host closed the connection]
sent1nel has joined #ruby
thatslif_ is now known as thatslifeson
multi_io has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Quit: WeeChat 1.1.1]
RegulationD has joined #ruby
multi_io has joined #ruby
CloCkWeRX has quit [Ping timeout: 250 seconds]
Lildirt has quit [Quit: Leb wohl, meine Freunde. Ich wünsche Ihnen das beste von Tagen.]
juanpablo__ has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
mjuszczak has quit []
fgo has quit [Ping timeout: 240 seconds]
juanpablo__ has quit [Ping timeout: 276 seconds]
matcouto has joined #ruby
The_Phoenix has joined #ruby
balazs has quit [Remote host closed the connection]
charliesome has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has quit [Remote host closed the connection]
momon has joined #ruby
theotherstupidgu has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
tuelz1 has joined #ruby
theotherstupidgu has joined #ruby
<momon> hi, how to convert integer to month name like 01 to january?
lidenskap has joined #ruby
<centrx> momon, I would probably do: Date::MONTHNAMES[01]
dfinninger has joined #ruby
<momon> thanks :)
lidenskap has quit [Ping timeout: 240 seconds]
momon has quit [Quit: AtomicIRC: The nuclear option.]
centrx has quit [Quit: Shutting down, Please wait...]
dfinninger has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
dc has quit [Remote host closed the connection]
dc has joined #ruby
fedexo has quit [Ping timeout: 265 seconds]
<havenwood> >> require 'date'; require 'time'; Date::MONTHNAMES.map { |month| month.to_s[0, 3] }[01] == Time::RFC2822_MONTH_NAME.unshift(nil)[01]
<ruboto> havenwood # => true (https://eval.in/322386)
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matcouto has joined #ruby
gazay has quit [Quit: gazay]
matcouto has quit [Client Quit]
balazs has joined #ruby
dvlwrk has joined #ruby
theotherstupidgu has quit [Remote host closed the connection]
njs126 has quit [Ping timeout: 256 seconds]
Eiam_ has joined #ruby
theotherstupidgu has joined #ruby
freerobby has quit [Quit: Leaving.]
njs126 has joined #ruby
rohit has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
Hijiri has joined #ruby
mikecmpbll has quit [Quit: ciao.]
theotherstupidgu has quit [Ping timeout: 240 seconds]
sevenseacat has joined #ruby
theotherstupidgu has joined #ruby
kaleido has quit [Ping timeout: 272 seconds]
fgo has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
yh has quit [Ping timeout: 256 seconds]
davedev24_ has quit []
Guest29689 has quit [Changing host]
Guest29689 has joined #ruby
Guest29689 is now known as nitrix
Soda has quit [Remote host closed the connection]
segfalt has quit [Quit: segfalt]
threh has joined #ruby
pontiki has quit [Ping timeout: 272 seconds]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
kaleido has joined #ruby
icebourg has joined #ruby
njs126 has quit [Ping timeout: 240 seconds]
turtil has quit [Ping timeout: 276 seconds]
davidcelis_ is now known as davidcelis
davidcelis has joined #ruby
davidcelis has quit [Changing host]
RegulationD has joined #ruby
njs126 has joined #ruby
sohrab has quit [Quit: leaving]
balazs has quit [Remote host closed the connection]
aryaching has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
RegulationD has quit [Ping timeout: 244 seconds]
workmad3 has joined #ruby
PhantomSpank has joined #ruby
chipotle has quit [Quit: cheerio]
fgo has quit [Ping timeout: 256 seconds]
njs126 has quit [Ping timeout: 255 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
PhantomSpank has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
hewenhong has quit [Remote host closed the connection]
klaas_ has joined #ruby
pengin_ has joined #ruby
astrobunny has joined #ruby
klaas has quit [Ping timeout: 256 seconds]
hewenhong has joined #ruby
pengin has quit [Ping timeout: 250 seconds]
hephaestus_rg has quit [Ping timeout: 256 seconds]
njs126 has joined #ruby
iotouch has joined #ruby
hewenhong has quit [Ping timeout: 256 seconds]
barkerd427 is now known as zz_barkerd427
sum_bits has quit [Ping timeout: 245 seconds]
nii236 has joined #ruby
astrobunny has quit [Remote host closed the connection]
crdpink2 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
_blizzy_ has quit [Ping timeout: 256 seconds]
crdpink has quit [Ping timeout: 256 seconds]
theotherstupidgu has quit [Ping timeout: 256 seconds]
turtil has joined #ruby
turtil has quit [Changing host]
turtil has joined #ruby
fgo has joined #ruby
dkphenom has joined #ruby
theotherstupidgu has joined #ruby
quintinadam has joined #ruby
nii236 has quit [Ping timeout: 272 seconds]
rohit has quit [Ping timeout: 276 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
PhantomSpank has joined #ruby
Eiam_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
CloCkWeRX has joined #ruby
sent1nel has quit [Remote host closed the connection]
njs126 has quit [Ping timeout: 246 seconds]
njs126 has joined #ruby
hephaestus_rg has joined #ruby
casadei_ has joined #ruby
dseitz_ has joined #ruby
dseitz has quit [Disconnected by services]
dseitz_ is now known as dseitz
turtil has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
turtil has joined #ruby
dseitz_ has joined #ruby
zotherstupidguy has left #ruby [#ruby]
zotherstupidguy has joined #ruby
braincra- has joined #ruby
bkxd has joined #ruby
sent1nel has joined #ruby
casadei_ has quit [Ping timeout: 264 seconds]
dseitz has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 264 seconds]
juanpablo__ has joined #ruby
njs126 has quit [Ping timeout: 240 seconds]
njs126 has joined #ruby
icebourg has quit []
Akagi201 has joined #ruby
nobitanobi has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
umby24 is now known as umby24|offline
scottstamp has quit [Ping timeout: 256 seconds]
juanpablo__ has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
rohit has joined #ruby
icebourg has joined #ruby
quintinadam has quit []
njs126 has quit [Ping timeout: 246 seconds]
rohit has quit [Client Quit]
arescorpio has quit [Quit: Leaving.]
tcrypt has joined #ruby
umby24|offline is now known as umby24
ReK2 has quit [Remote host closed the connection]
riotjones has quit [Ping timeout: 240 seconds]
claptor has quit [Quit: this channel is bakas]
RegulationD has joined #ruby
j0hnnyk has joined #ruby
scottstamp has joined #ruby
<quazimodo> question:
<quazimodo> how come we don't all use rubinius
<quazimodo> i know it's a naive question
<quazimodo> is fixing rubinius's shortcomings more difficult than MRI's?
zzing has quit [Ping timeout: 252 seconds]
<quazimodo> i mean, how can you have a serious production ready language if it can't even thread?
<brixen> quazimodo: first you'd need to define the shortcomings
tcrypt has quit [Remote host closed the connection]
<quazimodo> brixen: as in, none or too many to consider
<quazimodo> i'm not a rubinius user, i've limited knowledge
<brixen> there are two main ones that come to mind: 1. across the board perf, and 2. compatibility
tcrypt has joined #ruby
<brixen> I'm just framing the conversation
<brixen> so, there are a lot of things that rbx is faster than MRI on, and a lot that it's not
<brixen> and compatibility is really hard when MRI has such poor specification
RegulationD has quit [Ping timeout: 276 seconds]
<brixen> and it's even harder when you add in C-exts
<brixen> which do *amazing* things
<quazimodo> ... yeah
<brixen> like expect to read memory at random
<brixen> but that said, we continue to support most C-ext gems
<brixen> and perf and compat get better every day
thatslifeson has quit [Remote host closed the connection]
<brixen> best thing anyone can do if they want to help improve rbx, or help rbx improve, is try your app on it
<brixen> let us know how it goes
zzing has joined #ruby
<quazimodo> yeah
<quazimodo> i think i am
<quazimodo> i dno
<brixen> quazimodo: here's a bench someone posted in #rubinius Gitter today https://gist.github.com/chrisseaton/9e77962555c56ab1c767
<quazimodo> carbon nanotubes are gonan mak cpu's faster again
<quazimodo> but ... weneed to be able to safely hit up many cores
<quazimodo> I've my head in haskell atm specifically because of that
<quazimodo> brixen: ah shit i have to go, bbl
<brixen> here's MRI 2.2.2 vs rbx master HEAD https://gist.github.com/brixen/60725b3077d4ca59825d
tcrypt has quit [Ping timeout: 255 seconds]
<brixen> rbx takes longer to start though
njs126 has joined #ruby
njs126 has quit [Max SendQ exceeded]
njs126 has joined #ruby
bim has joined #ruby
jayeshsolanki has joined #ruby
bim is now known as Guest28238
Guest28238 has quit [Ping timeout: 276 seconds]
tuelz1 has quit [Ping timeout: 276 seconds]
j0hnnyk has quit [Remote host closed the connection]
nszceta has joined #ruby
j0hnnyk has joined #ruby
A205B064 has joined #ruby
j0hnnyk has quit [Remote host closed the connection]
KKKGROIDKILLER88 has joined #ruby
j0hnnyk has joined #ruby
<KKKGROIDKILLER88> hi guys
binfalse has quit [Quit: Get MacIrssi - http://www.sysctl.co.uk/projects/macirssi/]
<KKKGROIDKILLER88> what is the best programming language?
<al2o3-cr> KKKGROIDKILLER88: brainfuck
<KKKGROIDKILLER88> why?
<al2o3-cr> google it it's super simple :)
j0hnnyk has quit [Remote host closed the connection]
<sevenseacat> whitespace. *nods*
<KKKGROIDKILLER88> it looks super complicated
<al2o3-cr> hehe
lidenskap has joined #ruby
j0hnnyk has joined #ruby
<KKKGROIDKILLER88> lynda.com doesn't have a course
DexterLB has quit [Ping timeout: 240 seconds]
<sevenseacat> KKKGROIDKILLER88: there is no 'best' programming language, hence we're giving you silly answers.
havenn has joined #ruby
<KKKGROIDKILLER88> well why are there different languages if they're so similar?
<sevenseacat> because they all have different features
<KKKGROIDKILLER88> what do the features highlight?
<KKKGROIDKILLER88> and why can't one language be utilized so that it has those features too?
DexterLB has joined #ruby
<sevenseacat> because a lot of languages are fundamentally different
<KKKGROIDKILLER88> but what are they doing?
havenwood has quit [Ping timeout: 256 seconds]
lidenskap has quit [Ping timeout: 255 seconds]
<KKKGROIDKILLER88> aren't they extensions of assembly?
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
j0hnnyk has quit [Remote host closed the connection]
<KKKGROIDKILLER88> thanks sevenseacat
<KKKGROIDKILLER88> is there a place where someone could learn all the paradigms?
j0hnnyk has joined #ruby
<KKKGROIDKILLER88> like a paid online school like lynda.com or teamtreehouse.com
nii236 has joined #ruby
<sevenseacat> i dont know if any one site would cover them all, i'm not much for online schools
tcrypt has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<KKKGROIDKILLER88> well i failed college so i can't do that :(
j0hnnyk has quit [Remote host closed the connection]
<sevenseacat> the best way is to pick the languages and then go for the language-specific guides
pontiki has joined #ruby
<sevenseacat> eg. we here in #ruby can make you lots of recommendations on how to learn ruby
<KKKGROIDKILLER88> i'm having trouble with the logic
<KKKGROIDKILLER88> what kind of math should i learn to get the logic down?
<wasamasa> uh
<wasamasa> you'll not need math at first
jlast has joined #ruby
<wasamasa> no, you'll need to understand the general, imperative mindset
<wasamasa> telling a computer in the necessary detail what to do and understanding what goes wrong
nii236 has quit [Ping timeout: 255 seconds]
<KKKGROIDKILLER88> well that kind of mindset is in mathematics
<KKKGROIDKILLER88> i never studied math
<wasamasa> it isn't
<KKKGROIDKILLER88> i failed high school algebra and dropped out when i was 15
djbkd_ has joined #ruby
<wasamasa> what you'll need math for is to make programs work better than average
zzing_ has joined #ruby
chipotle has joined #ruby
<KKKGROIDKILLER88> i don't have a high school diploma or ged yet :(
<KKKGROIDKILLER88> i'm willing to learn because this is fun when it works
<sevenseacat> theyre not necessary
<sevenseacat> if you have an example of a problem, we might be able to help you
zzing has quit [Read error: Connection reset by peer]
<KKKGROIDKILLER88> i know html pretty well and i know it's not a real language lol
tcrypt has quit [Remote host closed the connection]
panga has joined #ruby
<wasamasa> it is markup
<KKKGROIDKILLER88> well, what about algorithmic problems?
pontiki has quit [Ping timeout: 245 seconds]
<wasamasa> basically, a less verbose version of what microsoft office will crap out
Guest87266 has joined #ruby
<aewffwea> KKKGROIDKILLER88: Wny wouldn't it be a real language?
j0hnnyk has joined #ruby
<wasamasa> it is a language, just not a programming language
<wasamasa> KKKGROIDKILLER88: you will not need to deal with those for real-world tasks
<wasamasa> KKKGROIDKILLER88: it is general problem solving abilities we're speaking about, even animals expose these
charliesome has joined #ruby
<wasamasa> KKKGROIDKILLER88: like, rats and crows and monkeys
<wasamasa> these are not real-world btw
<KKKGROIDKILLER88> i guess i'm a goldfish
<sevenseacat> indeed, look at real-world problems
jlast has quit [Ping timeout: 256 seconds]
ponga_ has joined #ruby
<KKKGROIDKILLER88> how are those not real world?
<KKKGROIDKILLER88> i head that they ask those types of questions in interviews
<wasamasa> will you ever need a befunge interpreter?
<sevenseacat> befunge is not a language used in the real world
j0hnnyk has quit [Remote host closed the connection]
<sevenseacat> and no-one will ever ask you to calculate the millionth fibonacci number
ponga has quit [Ping timeout: 256 seconds]
<KKKGROIDKILLER88> what will people ask me?
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
umby24 is now known as umby24|offline
<wasamasa> to actually name one of my personal real-world problems, I needed a script that does pre-processing on comics I read before shoving them to my ebook reader
<sevenseacat> depends on what kind of job you have, you're getting into vague terriroty
<KKKGROIDKILLER88> oh
<wasamasa> I did loads of experimentation and ended up whipping a ruby script doing batch conversion
<wasamasa> which proved to be highly useful
<KKKGROIDKILLER88> but if i can do those problems, i can do anything right?
<wasamasa> no
fgo has quit [Ping timeout: 245 seconds]
j0hnnyk has joined #ruby
Guest87266 has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
icebourg has quit []
zzing_ has quit [Ping timeout: 265 seconds]
<KKKGROIDKILLER88> what is the point of codewars then?
<wasamasa> if you can solve number problems, that doesn't mean you know how to use actual libraries
<chipotle> i just nailed a cougar
<chipotle> oops, wrong channel
<KKKGROIDKILLER88> nice
<sevenseacat> lol
<wasamasa> or how to compose their functionality to write a business-relevant tool
<wasamasa> because that's what a company is essentially wanting from you
<wasamasa> you providing extra value to their business
<wasamasa> which can be something as boring as writing yet another CRUD application
<wasamasa> or understanding existing code to add a feature they need
<wasamasa> or fixing bugs
<wasamasa> what they do at interviews, well, that's up to them really
charliesome has quit [Client Quit]
panga has quit [Ping timeout: 276 seconds]
<wasamasa> I was given a day to work on a similiar real-world problem and they evaluated my performance on it
j0hnnyk has quit [Remote host closed the connection]
<chipotle> KKKGROIDKILLER88 and sevenseacat thank you
zzing has joined #ruby
<chipotle> she was 49, mom of three kids, divorced, kids in college
<wasamasa> KKKGROIDKILLER88: the point of these, well, people solve these for fun
<wasamasa> KKKGROIDKILLER88: that's all there is to it, if you learned something from doing them, all the better
threh has quit [Quit: Leaving]
j0hnnyk has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
ponga_ has quit [Ping timeout: 264 seconds]
<sevenseacat> chipotle: you acknowledged wrong channel, so you dont need to keep discussing it.
<KKKGROIDKILLER88> i see
zorak8 has quit [Ping timeout: 250 seconds]
<chipotle> sevenseacat: well, someone responded so i decided to reply. sue me. nowhere in the channel guidelines can you not talk about off topic stuff, wannabe op
<KKKGROIDKILLER88> but if you didn't have the math skills to solve that problem for work, then you'd never have solved it right?
workmad3 has joined #ruby
<sevenseacat> "wannabe"?
<KKKGROIDKILLER88> LOL
j0hnnyk has quit [Remote host closed the connection]
<chipotle> go ahead, ban the columbia network
<chipotle> okay, i remove -wannabe
<chipotle> sevenseacat: people discuss off topic stuff here all the time, i don't see the issue
<KKKGROIDKILLER88> this is the reason i want all immigrants out of my lovely country
<chipotle> heh
<sevenseacat> uh
<chipotle> i think i'm getting trolled
aryaching has quit [Ping timeout: 240 seconds]
<wasamasa> lol
<sevenseacat> i think we can get back to the programming discussion now.
<chipotle> sevenseacat: maybe you and the other ops could make guidelines on the channel. because channels that don't support offtopic stuff is clearly stated in the status
j0hnnyk has joined #ruby
<chipotle> i'm just saying
<chipotle> because i did check teh status before replying
<sevenseacat> chipotle: http://ruby-community.com/pages/user_rules see section 2.10.
j0hnnyk has quit [Read error: Connection reset by peer]
<sevenseacat> your sexual exploits definitely come under 'off-topic talk'.
<chipotle> um, it says slurring
<sevenseacat> anyway. enough.
<chipotle> i did not use any derogatory language
<KKKGROIDKILLER88> well, it's not that much of an accomplishment anyways
<chipotle> sevenseacat: but i think you should put that in the status? because i've never seen it
<sevenseacat> it is in the channel topic.
jayeshsolanki has quit [Ping timeout: 276 seconds]
<KKKGROIDKILLER88> cougars can't get any so they find young people that can't get any and help them out because they can't get what they want and something is better than nothing
<sevenseacat> KKKGROIDKILLER88: enough.
<chipotle> i see. never noticed it was the guidelines
<KKKGROIDKILLER88> okay
<KKKGROIDKILLER88> let's talk about ruby
<chipotle> but if you feel the need, go ahead and ban me, along with the entire columbia.edu network
dseitz_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<sevenseacat> some people like codewars because it helps them practice things they wouldnt normally get experience with
workmad3 has quit [Ping timeout: 272 seconds]
<sevenseacat> or just to keep their skills fresh, or for fun
<chipotle> similar to coding competitions
<KKKGROIDKILLER88> i wonder who the idiot is that admitted retards to columbia...
<sevenseacat> project euler is a similar sort of idea
<sevenseacat> KKKGROIDKILLER88: don't. or i will kick you.
<chipotle> KKKGROIDKILLER88: idk, i'm not a student here.
<KKKGROIDKILLER88> okay sorry
aryaching has joined #ruby
<chipotle> or is a codingwar the new name for a coding competition?
<chipotle> i guess it is
<sevenseacat> talking about http://www.codewars.com/
<chipotle> oh
<KKKGROIDKILLER88> project euler is math
<chipotle> when i googled codewars topcoder.com came up
<KKKGROIDKILLER88> it's 100% math
hiyosi has joined #ruby
j0hnnyk has joined #ruby
<KKKGROIDKILLER88> if i know nothing about math, like nothing... i can't even add divide or subtract without a calculator what can i do?
<sevenseacat> i see, i havent done any of those courses
<chipotle> has anyone really really tried to like atom but couldn't take the 2MB file limitation and just how slow it is?
sent1nel has quit [Remote host closed the connection]
<chipotle> i went back to sublime text 3, despite how much i prefer the atom community
wottam has joined #ruby
RegulationD has joined #ruby
<sevenseacat> sublime text is awesome
<KKKGROIDKILLER88> atom is really crappy
<KKKGROIDKILLER88> i tried using it and had to uninstall it
<KKKGROIDKILLER88> i thought github people were better than that
<sevenseacat> its not crappy
haxrbyte has joined #ruby
Akagi201 has quit [Remote host closed the connection]
<sevenseacat> its just not to everyone's tastes
<KKKGROIDKILLER88> it's a ripoff of sublime with added glitches and bugs
Akagi201 has joined #ruby
<KKKGROIDKILLER88> i used it in yosemite
<chipotle> the developer went MIA for almost a year, then released two bug updates, then has been silent since. it is VERY frustrating. then you have the atom community which is amazing, fast, and the packages seem more put together
<KKKGROIDKILLER88> maybe it was a yosemite problem
<sevenseacat> its interface is a sublime clone, yes
<chipotle> but it seems so slow
swgillespie has joined #ruby
<KKKGROIDKILLER88> what can i do to improve my math skills?\
<chipotle> nah, i've tried atom on yosemite and red hat
<sevenseacat> KKKGROIDKILLER88: practice them
<KKKGROIDKILLER88> i literally can't subtract 1 - 1 without a calculator
agent_white has joined #ruby
<sevenseacat> what
lidenskap has joined #ruby
<KKKGROIDKILLER88> i'm serious
<chipotle> KKKGROIDKILLER88: what do you want to learn/know? i have a phd in theoretical physics and i am a researcher in academia
<KKKGROIDKILLER88> i'd like to improve
<sevenseacat> if you cannot subtrat 1 from 1, i suggest going back to primary school.
<chipotle> basic arithmetic isn' tthat important. hell ,athematica does most of my work.
<KKKGROIDKILLER88> i'm 33
<chipotle> but you need to understand algebra
<chipotle> if you can't do algebra, you are fucked
<KKKGROIDKILLER88> oh
<KKKGROIDKILLER88> algebra 1 or 2
<sevenseacat> yes, but they teach basic subtraction at about five years old.
sent1nel has joined #ruby
<agent_white> Evenin'
Akagi201_ has joined #ruby
<KKKGROIDKILLER88> what kind of algebra?
RegulationD has quit [Ping timeout: 255 seconds]
<sevenseacat> agent_white: afternoon
hephaestus_rg has quit [Ping timeout: 272 seconds]
diegoviola has quit [Quit: WeeChat 1.1.1]
Akagi201 has quit [Ping timeout: 244 seconds]
Zamyatin has joined #ruby
jack_rabbit has joined #ruby
sent1nel has quit [Ping timeout: 255 seconds]
tuelz1 has joined #ruby
Zamyatin has quit [Client Quit]
Channel6 has quit [Quit: Leaving]
Sirupsen has joined #ruby
ramfjord has joined #ruby
tuelz1 has quit [Ping timeout: 256 seconds]
CloCkWeRX has quit [Quit: Leaving.]
j0hnnyk has quit [Remote host closed the connection]
djbkd_ has quit []
nszceta has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<agent_white> sevenseacat: \o
* agent_white waves lag-five
<KKKGROIDKILLER88> o/
<KKKGROIDKILLER88> is that the hitler salute?
<sevenseacat> no.
j0hnnyk has joined #ruby
<KKKGROIDKILLER88> \o
michael_mbp has quit [Excess Flood]
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
michael_mbp has joined #ruby
<havenn> !mute KKKGROIDKILLER88
<wasamasa> ugh
<agent_white> It's funny how some folks like to spend their time on IRC.
<agent_white> s/funny/odd/
<agent_white> (trolling instead of productive things)
KKKGROIDKILLER88 has left #ruby [#ruby]
ballpointcarrot has joined #ruby
STROIDS has joined #ruby
<STROIDS> hi again
<wasamasa> mute evasion?
<STROIDS> so according to this: http://www.urbandictionary.com/define.php?term=%5Co&defid=1926367 what the guy posted is a nazi salute
amclain has quit [Quit: Leaving]
<wasamasa> ...
<wasamasa> just drop this, ok?
lidenskap has quit [Remote host closed the connection]
<havenn> STROIDS: You apparently didn't understand our little chat?
ballpointcarrot has quit [Remote host closed the connection]
<havenn> wasamasa: trolls...
casadei_ has joined #ruby
<STROIDS> okay i will stop being offtopic
<havenn> wasamasa: Weekend though! :D
<wasamasa> havenn: extended weekend even
STROIDS is now known as AdolfEichmann
AdolfEichmann is now known as Adolf_Eichmann
<wasamasa> havenn: ok, you have convinced me that it's not just stupidity
<wasamasa> this is intentional
gusrub has joined #ruby
<Adolf_Eichmann> o/
gusrub has quit [Client Quit]
gusrub has joined #ruby
casadei_ has quit [Ping timeout: 256 seconds]
Adolf_Eichmann has left #ruby ["HEIL \o o/"]
Adolf_Eichmann has joined #ruby
<havenn> !ban Adolf_Eichmann !P
Adolf_Eichmann was kicked from #ruby by ChanServ [User is banned from this channel]
juanpablo__ has joined #ruby
MyMind has quit [Quit: WeeChat 1.2-dev]
michael_mbp has quit [Excess Flood]
sum_bits has joined #ruby
<PhantomSpank> is there any way to get the "build" output in sublime text to be like the one in textmate?
michael_mbp has joined #ruby
juanpablo__ has quit [Ping timeout: 245 seconds]
sum_bits has quit []
sum_bits has joined #ruby
towski_ has joined #ruby
musashi has joined #ruby
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
yfeldblum has joined #ruby
nobitanobi has quit [Remote host closed the connection]
Musashi007 has joined #ruby
bkxd has joined #ruby
tcrypt has joined #ruby
EasyCo has joined #ruby
kyrylo has joined #ruby
<havenn> PhantomSpank: Like build without saving first? Or another difference?
aryaching has quit [Ping timeout: 246 seconds]
<PhantomSpank> in a seperate window
papashou has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenn> PhantomSpank: ahhh
Guest87266 has joined #ruby
tcrypt has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
fgo has joined #ruby
Musashi007 has quit [Quit: Musashi007]
blackmesa has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
yfeldblum has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Remote host closed the connection]
scottstamp has quit [Ping timeout: 256 seconds]
hanmac has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
scottstamp has joined #ruby
sent1nel has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
Musashi007 has quit [Client Quit]
sent1nel has quit [Ping timeout: 240 seconds]
websoftwarez has joined #ruby
websoftwarez has quit [Changing host]
websoftwarez has joined #ruby
baweaver has quit [Remote host closed the connection]
bim has joined #ruby
bim is now known as Guest55688
<shevy> dumdedum
sum_bits has quit [Ping timeout: 244 seconds]
Cosmos has joined #ruby
Guest55688 has quit [Ping timeout: 264 seconds]
hanmac has joined #ruby
Lildirt has joined #ruby
Parsi has joined #ruby
kaspernj has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
zzing has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DerisiveLogic has joined #ruby
_blizzy_ has joined #ruby
j0hnnyk has quit [Remote host closed the connection]
emilkarl has joined #ruby
pontiki has joined #ruby
_blizzy_ has quit [Ping timeout: 256 seconds]
DerisiveLogic has quit [Ping timeout: 246 seconds]
j0hnnyk has joined #ruby
j0hnnyk has quit [Max SendQ exceeded]
lidenskap has joined #ruby
j0hnnyk has joined #ruby
j0hnnyk has quit [Read error: Connection reset by peer]
pontiki has quit [Ping timeout: 265 seconds]
bMalum has joined #ruby
bkxd has quit [Ping timeout: 272 seconds]
bMalum has quit [Quit: bMalum]
genpaku has quit [Ping timeout: 256 seconds]
yokel has quit [Ping timeout: 252 seconds]
workmad3 has joined #ruby
jenrzzz has joined #ruby
j0hnnyk has joined #ruby
j0hnnyk has quit [Max SendQ exceeded]
Guest87266 has quit [Ping timeout: 252 seconds]
j0hnnyk has joined #ruby
atmosx has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
gusrub has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
sameerynho has joined #ruby
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
genpaku has joined #ruby
yokel has joined #ruby
sandstrom has quit [Ping timeout: 256 seconds]
lxsameer has quit [Ping timeout: 272 seconds]
roolo has joined #ruby
hewenhong has joined #ruby
lxsameer_ has joined #ruby
hewenhong has quit [Ping timeout: 256 seconds]
sinkensabe has joined #ruby
tuelz1 has joined #ruby
iotouch has joined #ruby
sameerynho has quit [Ping timeout: 265 seconds]
RegulationD has joined #ruby
tuelz1 has quit [Ping timeout: 240 seconds]
ohaibbq has joined #ruby
DexterLB has quit [Read error: Connection reset by peer]
sent1nel has joined #ruby
hewenhong has joined #ruby
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
n69657 has joined #ruby
n69657 is now known as sinepreggin
RegulationD has quit [Ping timeout: 245 seconds]
<sinepreggin> hi everyone I don't have a high school diploma. can I work as a programmer?
towski_ has quit [Remote host closed the connection]
DexterLB has joined #ruby
bkxd has joined #ruby
sent1nel has quit [Ping timeout: 244 seconds]
Zai00 has joined #ruby
<havenn> sinepreggin: yes
<sinepreggin> how?
bim has joined #ruby
bim is now known as Guest36508
<PhantomSpank> ace the interview
fffdss has joined #ruby
ndrei has quit [Remote host closed the connection]
<sinepreggin> will they pay me the same?
fffdss has quit [Client Quit]
yh has joined #ruby
emilkarl has quit [Quit: emilkarl]
<pontiki> sinepreggin: it can happen. i have to be honest, it's not likely
hewenhon_ has joined #ruby
<pontiki> people can be such pricks about paper
<pontiki> (sorry)
freerobby has joined #ruby
freerobby has quit [Client Quit]
<sinepreggin> what about a regular GED?
lkba has quit [Read error: Connection reset by peer]
hewenhong has quit [Ping timeout: 255 seconds]
thatslifeson has joined #ruby
ndrei has joined #ruby
Mon_Ouie has quit [Ping timeout: 272 seconds]
sandstrom has joined #ruby
ohaibbq has quit [Quit: Leaving...]
sinkensabe has quit [Remote host closed the connection]
<pontiki> i can't say how that alone would help
lkba has joined #ruby
<pontiki> a GED is something advanced schools would want before you'd get in
<sinepreggin> would an employer hire someone with a GED?
<pontiki> not a GED alone
<pontiki> not as a software developer
<sinepreggin> what else would I need?
<pontiki> skills. demonstrable skills
<Nilium> You'd either need work history or a degree or some really convincing background other than just a GED.
<Nilium> I have a GED, I don't ever, ever mention it.
<sinepreggin> what if I graduate from a 3 month programming boot camp?
zotherstupidguy has quit [Read error: Connection reset by peer]
<Nilium> I turned down a guy who went through one of those.
theotherstupidgu has quit [Ping timeout: 256 seconds]
<pontiki> those can be very good, tho
<Nilium> He learned one trick and otherwise had no skills I cared about. Would've been a bad fit, as they say.
zotherstupidguy has joined #ruby
<havenn> Nilium: Didn't learn enough in 3mo to be on a good trajectory forward?
<sinepreggin> what if they speak multiple languages?
<sevenseacat> build up a portfolio of projects. prove yourself awesome. then people will hire you.
<sinepreggin> I speak four languages fluently
<pontiki> ulitmately, most if it comes down your own ability
<Nilium> havenn: Might've, but I wasn't looking for someone with three months.
<sinepreggin> I have a GED and I'm about to go to a programming boot camp
<sinepreggin> I don't know what else to do :(
<Nilium> Go to an actual school?
<sinepreggin> I'm too old
<havenn> Nilium: Yeah, but lots of co are these days. Sure not right for many positions but folk are getting hired out of bootcamps.
theotherstupidgu has joined #ruby
<Nilium> Age isn't really much of a reason.
<sevenseacat> do schools have maximum age requiremetns these days?
<Nilium> No.
<sinepreggin> employers do
<sevenseacat> precisely.
<sevenseacat> no they dont.
<sevenseacat> its illegal for them to do so.
<Nilium> We hire a lot of older programmers just because they tend to be the ones who actually know what they're talking about.
<sinepreggin> I don't have money to go to school
<Nilium> Less a factor of age and more a factor of experience, but I figure after you've been through the industry enough times, you kind of learn stuff.
<sevenseacat> people want to see that you can do real work. education is irrelevant.
juanpablo__ has joined #ruby
happydad has joined #ruby
<havenn> sinepreggin: do you have time?
<havenn> sevenseacat: i agree.
<sinepreggin> so even if I have no GED or dropped out of school in the 7th grade people would want to see my portfolio?
<Nilium> Here's why I have a job: I have a degree in English and ten-ish years of time spent programming entirely for fun because it's what I like to do.
<sevenseacat> sinepreggin: yes.
<sevenseacat> if they dont, well, thats not the kind of place i'd recommend working.
<Nilium> The degree's useless except for communication skills, the ten years of crap I built and most of which is on GitHub now is fairly useful
<pontiki> sinepreggin: no one can make you any promises, and no assurances
<Nilium> This is one of those where-there's-a-will-there's-a-way things
<sevenseacat> yep
<aewffwea> sinepreggin: Go to university
<sinepreggin> fuck it. I'm going to kill myself if i can't find a job after the program
<sevenseacat> ...
<sevenseacat> wat
<Nilium> That seems like an over-reaction.
<pontiki> then you have a plan
ChoiKyuSang has quit [Quit: Going offline, see ya! (( www.adiirc.com )]
<sinepreggin> I failed a lot of college courses because i fell into a pit of depression. I lost four years of my life and now I'm limited in my options
<aewffwea> sinepreggin: The thing is like this...
<sevenseacat> we're not here to be motivational speakers, but we can help with some facts of the industry.
<sinepreggin> I don't want to reveal too much personal information here but fuck it
<pontiki> we are also not counselors
<aewffwea> sinepreggin: If you are a *amazing* programming... you can get a job without a degree or anything
<sevenseacat> indeed, we are not. things like depression are very very common in the tech industry.
<aewffwea> sinepreggin: If you aren't an *amazing* programmer, you probably won't be able to get a full time job
<aewffwea> sinepreggin: If you have issues getting a job, your best bet is to be a freelancer: http://www.rent-acoder.com/
<aewffwea> you'll be able to make a decent living as a freelancer
juanpablo__ has quit [Ping timeout: 256 seconds]
havenn is now known as havenwood
<Nilium> Well, not with rentacoder you won't.
<aewffwea> why not?
<sevenseacat> isnt rentacoder one of those 'race to the bottom' services? like elance?
<Nilium> Yes.
<aewffwea> race to the bottom?
<Nilium> Pays garbage and the people paying are idiots.
<sevenseacat> yes, compete with the offshore teams that will bid $2 an hour
<Nilium> Literally a "do my homework for $5" webiste
<havenwood> sinepreggin: Things change over the decades. Sometimes dramatically.
<sevenseacat> 'build me a clone of facebook in three days for $50 plz'
<aewffwea> sevenseacat: How good of a programmer are you? What's the best program you've made?
<sevenseacat> aewffwea: decent enough. I work as a rails developer.
<aewffwea> sevenseacat: what does that mean?
workmad3 has joined #ruby
<havenwood> sinepreggin: If you enjoy coding it can be very rewarding.
<sevenseacat> aewffwea: uh... it means i'm confident enough to say i'm decent.
<sinepreggin> I enjoy coding
<aewffwea> havenwood: If you enjoy coding, life will be miserable...
<aewffwea> sevenseacat: What does it means to be decent?
<havenwood> aewffwea: uh oh!
<Nilium> I enjoy coding, makes me happy enough.
<sevenseacat> aewffwea: lol
<aewffwea> Nilium: Good for you
<sevenseacat> aewffwea: what is the meaning of life?
lordkryss has joined #ruby
<aewffwea> sevenseacat: There is no meaning... Life just happens, there is no deeper purpose
<Nilium> To have one's arms and legs chopped off and hop around challenging people to duels.
fgo has joined #ruby
ghr has joined #ruby
<havenwood> aewffwea: self is main at the top level. it's confusing and strange but that's just how it is.
thatslif_ has joined #ruby
<sinepreggin> I wish I wasn't born
<sevenseacat> o.O
<havenwood> Object/Class hybrid, who knows!
<aewffwea> havenwood: I missed your point
<havenwood> sinepreggin: Who doesn't from time to time? But we were!
<havenwood> aewffwea: Existential angst of a Ruby top level?
ndrei has quit [Ping timeout: 255 seconds]
<aewffwea> sinepreggin: Where do you live (country)?
<sinepreggin> USA
<havenwood> aewffwea: I thought that's what we were talking about. #ruby after all.
<aewffwea> havenwood: I'm failing to understand your issue
<aewffwea> sinepreggin: Do you have a good resume?
<havenwood> aewffwea: The meaning of main.
<havenwood> The top level.
<aewffwea> havenwood: first object that receives a message?
yh has quit [Ping timeout: 252 seconds]
thatslifeson has quit [Ping timeout: 250 seconds]
<sinepreggin> I have no resume
ChoiKyuSang has joined #ruby
<Nilium> Do you plan to build one?
<sinepreggin> yes
fgo has quit [Ping timeout: 256 seconds]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has quit [Ping timeout: 264 seconds]
<Nilium> What I'd suggest is that you do a lot of open source stuff that you actually enjoy and can ramble about during interviews.
<Nilium> I say ramble but I mean in a coherent fashion.
zotherstupidguy has quit [Remote host closed the connection]
Guest87266 has joined #ruby
zotherstupidguy has joined #ruby
thatslif_ has quit [Remote host closed the connection]
<sinepreggin> thanks I'll try to do that
<Nilium> I don't make hiring decisions, just recommendations, so I can't say what other people do, but I look at anything someone has on GitHub or BitBucket or Sourceforge or whatever (though I'll find it weird if it's Sourceforge). If you don't have that, I look at your job history. If you don't have that I look at your education.
<aewffwea> sinepreggin: You may also want to create an impressive resume like a www.sinepreggin-why-should-you-hire-me.com and create a ruby and rails website explaining why they should hire you
<Nilium> More specifically, I look at all of them.
<Nilium> But that's the order of importance.
<aewffwea> Nilium: You have too much free time :p
<pontiki> Nilium: don't be agist :D
<Nilium> Pfft, Sourceforge isn't ageist, that's just weird.
<sinepreggin> thank you nilium
<sinepreggin> why is sourceforge bad?
<pontiki> it used to be the only game in town for opensource
<Nilium> GitHub took over and it failed to evolve accordingly.
<Nilium> So for a long time, it was strictly CVS and SVN.
chinmay_dd has joined #ruby
<Nilium> Nowadays, it's loaded with deceptive ads and whatnot, and it's just unpleasant to use
<aewffwea> Nilium: Do you work on a big company?
<Nilium> I like to think I work someplace small.
<pontiki> it's always been unpleasant to use
<pontiki> i'm only kidding about the agist thing
<Nilium> Yeah, but the pleasantness for a long time beat setting up your own CVS server
<shevy> these days I use sourceforge only as a "wget target"
yh has joined #ruby
<shevy> reporting a bug is so annoying compared to e. g. issue tracker at github
<Nilium> Then git and GitHub came along and you could just create repos wherever and whenever you wanted and Sourceforge was immediately made clunky as heck
<aewffwea> Nilium: You like to think, or you actually work?
<shevy> Nilium never likes to think
Guest87266 has quit [Ping timeout: 256 seconds]
<Nilium> I'm a series of fluid-filled sacs, so thinking is a misnomer
Motoservo has quit [Quit: Over & out.]
musashi has quit [Quit: Connection closed for inactivity]
spider-mario has joined #ruby
f3lp has quit [Ping timeout: 256 seconds]
<shevy> aewffwea he works as a local butcher!
<Nilium> My mythology grows.
<shevy> imagine all jobs to be taken over by robots one day
<shevy> even programming
<aewffwea> shevy: That's so out...
<aewffwea> shevy: He should be a remote butcher!
<Nilium> I personally hope to be a cyborg one day.
<shevy> hmm at which point has one become a real cyborg?
<Nilium> So, uh, if that's how we get to robots taking over jobs, I'm down.
Stalkr^ has joined #ruby
<shevy> I mean take this dude, he has enhanced leg-jumpers already http://goo.gl/1CJHlD
<Nilium> It's kind of a lower barrier to entry, so I'm more on the complete removal of the human body side of things.
<shevy> and he can even compete against dudes with no enhancements :(
<shevy> Nilium well there are different constraints... I suppose replacing the brain would be the hardest
<Nilium> Brains are difficult to replace, so I just go with the Ghost in the Shell solution: brain cases.
sinepreggin has quit [Remote host closed the connection]
Alina-malina has joined #ruby
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
swgillespie has joined #ruby
<shevy> when I was born, the www did not exist in that form
<shevy> people born today have this advantage of information available
<shevy> I remember the days of geocities homepages though
bkxd has quit [Ping timeout: 264 seconds]
lavros_ has joined #ruby
lavros has quit [Ping timeout: 240 seconds]
<sevenseacat> i had one of those
sinkensabe has joined #ruby
hewenhon_ has quit [Remote host closed the connection]
<Nilium> I had probably 70 because I kept losing my passwords.
<sevenseacat> before that, i used fortunecity and angelfire... remember those too?
hewenhong has joined #ruby
<Nilium> I remember them, I don't think I ever used foretunecity.
swgillespie has quit [Client Quit]
<Nilium> I think angelfire let you use Perl scripts.
RegulationD has joined #ruby
<sevenseacat> my first site was an angelfire site. i built it in like 1996.
<Nilium> My first site was technically on hosting provided by the ISP my family was on
<Nilium> It was built in Frontpage and had URLs to C:\\etc.
<sevenseacat> nice.
hewenhong has quit [Remote host closed the connection]
<Nilium> 7 or 8 year old me had not yet worked out the internet, nor relative paths.
<pontiki> frontpage was sort of interesting for a very early web site builder
<Nilium> It was certainly fun when I was kid.
<sevenseacat> i never used it
relix has joined #ruby
theotherstupidgu has quit [Ping timeout: 264 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
kedare` has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
<Nilium> For some reason the only thing about FrontPage that I really remember is this one thing that showed a map of all pages that linked to each other.
<pontiki> the page manager
<Nilium> Yeah.
zotherstupidguy has quit [Remote host closed the connection]
theotherstupidgu has joined #ruby
hewenhong has joined #ruby
zotherstupidguy has joined #ruby
charliesome has joined #ruby
hewenhong has quit [Remote host closed the connection]
hewenhong has joined #ruby
Cust0sL1men has quit [Ping timeout: 272 seconds]
<Nilium> I should probably try to sleep now before I start getting calls about things going hideously awry
<pontiki> you want to be fully asleep to get woken up when they start :)
chinmay_dd has quit [Quit: Leaving]
KnownSyntax has quit [Quit: Connection closed for inactivity]
lidenskap has quit [Remote host closed the connection]
Pupeno has joined #ruby
jenrzzz has joined #ruby
spider-mario has quit [Ping timeout: 255 seconds]
Juanchito has joined #ruby
sameerynho has joined #ruby
rejerson69 has quit [Ping timeout: 256 seconds]
lxsameer_ has quit [Ping timeout: 246 seconds]
pontiki has quit [Quit: leaving]
lkba_ has joined #ruby
ndrei has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
mengu has joined #ruby
Guest36508 has quit [Remote host closed the connection]
charliesome has quit [Read error: Connection reset by peer]
lkba has quit [Ping timeout: 276 seconds]
zotherstupidguy has quit [Remote host closed the connection]
A205B064 has quit [Ping timeout: 250 seconds]
theotherstupidgu has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
theotherstupidgu has joined #ruby
tomphp has joined #ruby
Alina-malina has quit [Ping timeout: 255 seconds]
bebijlya has quit [Ping timeout: 256 seconds]
cefkamcau has quit [Ping timeout: 256 seconds]
bebijlya has joined #ruby
Alina-malina has joined #ruby
hewenhong has quit [Remote host closed the connection]
<shevy> hehe
nszceta has joined #ruby
charliesome has joined #ruby
tuelz1 has joined #ruby
sinkensabe has quit []
Mon_Ouie has joined #ruby
tuelz1 has quit [Ping timeout: 252 seconds]
theotherstupidgu has quit [Remote host closed the connection]
theotherstupidgu has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
sent1nel has joined #ruby
Sembei has joined #ruby
lkba_ has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 245 seconds]
yeticry has quit [Ping timeout: 252 seconds]
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby
sent1nel has quit [Ping timeout: 244 seconds]
AlexRussia has joined #ruby
sdothum has joined #ruby
hgl has quit [Max SendQ exceeded]
yeticry has joined #ruby
sent1nel has joined #ruby
spider-mario has joined #ruby
jack_rabbit has quit [Ping timeout: 250 seconds]
AlexRussia has quit [Excess Flood]
jenrzzz has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
dfinninger has joined #ruby
sent1nel has quit [Ping timeout: 272 seconds]
Alina-malina has quit [Quit: Leaving]
hgl has joined #ruby
Guest87266 has joined #ruby
RegulationD has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
theotherstupidgu has quit [Ping timeout: 252 seconds]
Jackneill has joined #ruby
casadei_ has joined #ruby
lkba has joined #ruby
dfinninger has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
zotherstupidguy has joined #ruby
yh has quit [Ping timeout: 256 seconds]
Guest87266 has quit [Ping timeout: 240 seconds]
klaas_ is now known as klaas
dfinninger has joined #ruby
toretore has quit [Quit: Leaving]
dfinninger has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 256 seconds]
casadei_ has quit [Ping timeout: 272 seconds]
bruno- has joined #ruby
juanpablo__ has joined #ruby
`scootaloo is now known as adaedra
zotherstupidguy has quit [Ping timeout: 255 seconds]
zotherstupidguy has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
exadeci has joined #ruby
LJT has joined #ruby
AlphaAtom has joined #ruby
theotherstupidgu has joined #ruby
lxsameer_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
lidenskap has joined #ruby
juanpablo__ has quit [Ping timeout: 264 seconds]
Parsi has quit [Read error: Connection reset by peer]
bruno- has quit [Ping timeout: 256 seconds]
tomphp has joined #ruby
Parsi has joined #ruby
sameerynho has quit [Ping timeout: 272 seconds]
qwertme has joined #ruby
lidenskap has quit [Ping timeout: 272 seconds]
yh has joined #ruby
banister has joined #ruby
havenwood has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 255 seconds]
spider-mario has quit [Ping timeout: 276 seconds]
scripore has joined #ruby
webus_ has joined #ruby
bim has joined #ruby
sameerynho has joined #ruby
bim is now known as Guest74191
AlexRussia has joined #ruby
mengu has quit [Remote host closed the connection]
hewenhong has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lxsameer_ has quit [Ping timeout: 265 seconds]
fgo has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest74191 has quit [Ping timeout: 240 seconds]
Zenon has joined #ruby
yoni_ has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
theotherstupidgu has quit [Ping timeout: 265 seconds]
bruno- has joined #ruby
websoftwarez has quit [Ping timeout: 272 seconds]
lxsameer_ has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
lolmaus has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
mengu has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 264 seconds]
platzhirsch has joined #ruby
zotherstupidguy has joined #ruby
happydad has quit []
theotherstupidgu has joined #ruby
Guest87266 has joined #ruby
Pupeno has quit [Quit: Leaving...]
charliesome has quit [Quit: zzz]
sandstrom has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Guest87266 has quit [Ping timeout: 272 seconds]
Pupeno has joined #ruby
Pupeno has joined #ruby
scripore has joined #ruby
scripore has quit [Client Quit]
dvlwrk has quit [Ping timeout: 265 seconds]
lolmaus has quit [Quit: Konversation terminated!]
DEA7TH has joined #ruby
m8 has joined #ruby
jottr_ has joined #ruby
RegulationD has joined #ruby
sameerynho has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
lolmaus has joined #ruby
lxsameer_ has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> how do you guys manage multiple gems?
<shevy> e. g. do you use a .gemspec file for each gem
<shevy> (when you develop one that is, not when you just use gems)
<jhass> bundler
weemsledeux has joined #ruby
soulcake has quit [Quit: Quack.]
<jhass> and they're their own gems, so of course they have their own gemspec
soulcake has joined #ruby
codecop has joined #ruby
<shevy> hmm
<shevy> and when you want to release a new version of one of your gems? you modify the .gemspec file?
iasoon has joined #ruby
<jhass> depends on how they interact
vickleton has joined #ruby
bim has joined #ruby
konsolebox has joined #ruby
bim is now known as Guest15919
moeabdol has joined #ruby
dorei has joined #ruby
lxsameer_ has joined #ruby
<dorei> hello, any idea what is the minimum timeout value I can specify for Timeout::timeout ?
sameerynho has quit [Ping timeout: 272 seconds]
<shevy> probably the minimum amount of time that a computer system can catch
Papierkorb has joined #ruby
jokester has quit [Quit: pwned]
lxsameer_ has quit [Ping timeout: 256 seconds]
<jhass> dorei: I hope you don't use that thing in a threaded context
tuelz1 has joined #ruby
iasoon has quit [Ping timeout: 265 seconds]
theotherstupidgu has quit [Quit: Lost terminal]
iasoon has joined #ruby
tuelz1 has quit [Ping timeout: 244 seconds]
scripore has joined #ruby
badhatter has quit [Ping timeout: 264 seconds]
EasyCo has quit [Quit: Connection closed for inactivity]
rkazak_ has quit [Quit: Sleep.....ing....]
jottr_ is now known as jottr
lolmaus has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
chinmay_dd has joined #ruby
Guest87266 has joined #ruby
Stalkr has joined #ruby
Stalkr^ has quit [Read error: Connection reset by peer]
relix has joined #ruby
serivich has joined #ruby
lolmaus has joined #ruby
cashnguns has joined #ruby
dseitz has joined #ruby
emilkarl has joined #ruby
Guest87266 has quit [Ping timeout: 272 seconds]
agent_white has quit [Quit: gnight]
j0hnnyk has quit [Remote host closed the connection]
sandstrom has quit [Quit: My computer has gone to sleep.]
mostlybadfly has quit [Quit: Connection closed for inactivity]
iotouch has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
tomphp has joined #ruby
sandstrom has joined #ruby
fabrice31 has joined #ruby
fabrice31 has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
jenrzzz has joined #ruby
juanpablo__ has quit [Ping timeout: 264 seconds]
lidenskap has joined #ruby
cassianoleal has joined #ruby
RegulationD has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
lidenskap has quit [Ping timeout: 240 seconds]
duncannz has quit [Read error: Connection reset by peer]
workmad3 has joined #ruby
mostlybadfly has joined #ruby
cajone has left #ruby [#ruby]
lolmaus has quit [Ping timeout: 256 seconds]
RegulationD has quit [Ping timeout: 255 seconds]
charliesome has quit [Quit: zzz]
Alina-malina has joined #ruby
lolmaus has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
mjuszczak has joined #ruby
hgl has quit [Max SendQ exceeded]
bkxd has joined #ruby
hgl has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
yh has quit [Ping timeout: 250 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
icebourg has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
parduse has joined #ruby
icebourg has quit [Client Quit]
nszceta has quit [Max SendQ exceeded]
scripore has quit [Quit: This computer has gone to sleep]
davedev24_ has joined #ruby
rbennacer has joined #ruby
postmodern has quit [Quit: Leaving]
Guest15 has joined #ruby
tuelz1 has joined #ruby
hgl has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 252 seconds]
The_Phoenix has quit [Quit: Leaving.]
hgl has joined #ruby
serivich has quit [Ping timeout: 255 seconds]
tuelz1 has quit [Ping timeout: 250 seconds]
nszceta has joined #ruby
evident_ is now known as evident
joelataylor has quit [Quit: Lingo: www.lingoirc.com]
<mjuszczak> when I do "gem environment", how can I tell where gemrc is being searched? My ruby is installed in /opt/ruby but /etc/gemrc doesn't seem to be being read.
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Zai00 has quit [Quit: Zai00]
scripore has joined #ruby
m8 has quit [Quit: Sto andando via]
yh has joined #ruby
cassianoleal has quit [Ping timeout: 276 seconds]
<apeiros> mjuszczak: I'm not sure, but I think only ~/.gemrc is read
<apeiros> might ask drbrain over in #ruby-lang
<jhass> /etc/gemrc should be read, ~/.gemrc just overrides it I think
iotouch has quit [Quit: This computer has gone to sleep]
yh has quit [Ping timeout: 244 seconds]
Guest87266 has joined #ruby
fgo has joined #ruby
enebo has joined #ruby
LJT has quit [Quit: Sleeping...]
bonhoeffer has joined #ruby
<bonhoeffer> any idea why: user_input=gets.chomp.downcase! produces a nil value for all inputs?
jlast has joined #ruby
sandstrom has left #ruby ["OS X IRC Client (www.textualapp.com)"]
Parsi has left #ruby ["Textual IRC Client: www.textualapp.com"]
fgo has quit [Ping timeout: 265 seconds]
casadei_ has joined #ruby
CaveJohnson is now known as Zackio
workmad3 has joined #ruby
Guest87266 has quit [Ping timeout: 272 seconds]
banister has joined #ruby
kirun has joined #ruby
iotouch has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
einarj has joined #ruby
<jhass> bonhoeffer: because bang methods return nil when they have no effect
<jhass> remove the !
blackmesa has joined #ruby
casadei_ has quit [Ping timeout: 252 seconds]
Guest15919 has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
bim has joined #ruby
bim is now known as Guest33816
juanpablo__ has quit [Ping timeout: 272 seconds]
thiagovsk has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
RegulationD has joined #ruby
mary5030 has joined #ruby
tongcx has joined #ruby
woodennails has joined #ruby
Guest33816 has quit [Remote host closed the connection]
<tongcx> hi guys, I am wondering whether I should use Java or Ruby or Python or JS for backend? My main concern is maintainability and easy to code, what are major cons/pros for these options
<tongcx> my application is a small application working with graph database and dynamic frontend
woodennails has quit [Quit: Leaving]
<apeiros> tongcx: "application" means "web application"?
<apeiros> and "front-end" means "html/js/css"?
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
<bonhoeffer> jhass: thanks!
<tongcx> yes to both
<apeiros> relevant
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> well, you're in #ruby, so: use ruby
RegulationD has quit [Ping timeout: 255 seconds]
bim has joined #ruby
<tongcx> apeiros: i don't know a channel with mixture of people, but i would appreciate some convincing argument
bim is now known as Guest50992
lolmaus has quit [Ping timeout: 256 seconds]
<apeiros> tongcx: that won't work
lolmaus has joined #ruby
mary5030 has quit [Remote host closed the connection]
<apeiros> java, ruby, python, js - they're all well suited to write a backend for a webapp. without you actually knowing the languages, it'll all be just words.
<tongcx> apeiros: alright, is there some tool that both have static type and fast to write?
zz_Outlastsheep is now known as Outlastsheep
* apeiros sobs silently
<jhass> tongcx: crystal :P
<tongcx> jhass: what?
* adaedra pats apeiros
blackmesa has quit [Ping timeout: 245 seconds]
<jhass> tongcx: crystal-lang.org
nszceta has quit [Max SendQ exceeded]
<jhass> (no, don't depend your business on it yet)
<apeiros> tongcx: btw., you just disqualified all 4 languages by that last request
<apeiros> python, ruby & js are not statically typed
<apeiros> java is not fast to write
<apeiros> so I guess yeah, go with crystal.
sandstrom has joined #ruby
platzhirsch has quit [Quit: Leaving.]
taiansu has joined #ruby
platzhirsch has joined #ruby
zz_barkerd427 is now known as barkerd427
pontiki has joined #ruby
<tongcx> apeiros: it's always a tradeoff, I guess if i want fast writing, i use ruby/python. But for relying on compiler to catch errors, i need java, right?
<pontiki> waat?
<jhass> crystal! :D
<adaedra> Java, C++, Rust...
<apeiros> the majority of errors won't be caught by a compiler.
<tongcx> i know there are others, I just mean sth like Java
<pontiki> all interpretted languages catch syntax errors
<pontiki> i don't even...
<apeiros> it's quite naive to rely on that
<adaedra> pontiki: I think he wants type safety
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Igorshp has joined #ruby
<tongcx> when you think about haskell, the compiler can help you a lot if you want to be safe
<pontiki> if you're worried about type in ruby, then you're not understanding OO properly
platzhirsch has quit [Client Quit]
<jhass> tongcx: you realize "safe" is not well defined?
relix has joined #ruby
<tongcx> jhass: yes, i vaguely mean compiler help you to catch erros
bonhoeffer has quit [Quit: bonhoeffer]
<tongcx> jhass: thanks for reminding
<adaedra> Relying on only compiler-given errors is not a good thing
<tongcx> adaedra: yes, "only" is bad. but it at least help a bit
<adaedra> is there a real difference between a compiler-given error and a runtime error caught during tests?
<jhass> I do have to agree, after writing roughly 2-3kloc of crystal I had significantly less runtime bugs as with the same amount of code in ruby
psy has quit [Read error: Connection reset by peer]
<jhass> you often forget something may return nil or so
<apeiros> adaedra: you have to write tests. you have to fit code into the type system. different places of effort spent.
<tongcx> type has its virtue, but with some cost
<jhass> that class of bugs a compiled language does eradicate
<adaedra> (thanks apeiros, it was my point)
yh has joined #ruby
nszceta has joined #ruby
bkxd has joined #ruby
bruno- has quit [Ping timeout: 255 seconds]
psy has joined #ruby
michael_mbp has quit [Excess Flood]
Zai00 has joined #ruby
nszceta has quit [Max SendQ exceeded]
michael_mbp has joined #ruby
qwertme has joined #ruby
<dorei> in a begin - rescue - end "block', if the rescue is empty (ie do nothing), should I use an empty line (as rescue's main body), just a ';' or no line at all (no line between rescue and end) ?
<pontiki> dorei: stylisticly?
jottr has quit [Ping timeout: 250 seconds]
tkuchiki has joined #ruby
<dorei> yeap
Guest50992 has quit [Remote host closed the connection]
<apeiros> dorei: if I really do nothing I even put a comment to make clear it's intentional
<pontiki> that^
<pontiki> remember this: code your write is a letter to your future self. is it a love letter or a poison pen letter?
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
endash has joined #ruby
<dorei> :)
<adaedra> :)
Alina-malina has quit [Quit: Leaving]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Igorshp has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
hectortrope has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
<mjuszczak> jhass: thanks.
<mjuszczak> apeiros: thanks
Igorshp has joined #ruby
roolo_ has joined #ruby
ndrei has quit [Ping timeout: 256 seconds]
griffindy has joined #ruby
ndrei has joined #ruby
iotouch has joined #ruby
roolo has quit [Ping timeout: 256 seconds]
<mjuszczak> I'm installing ruby into /opt/rubies/ruby-<version>/bin... looks like that's ignoring /etc/gemrc. But if I do /opt/rubies/ruby-<version>/etc/gemrc it works fine.
Igorshp has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
Flowrhent has joined #ruby
Zai00 has quit [Quit: Zai00]
roolo_ has quit [Remote host closed the connection]
chinmay_dd is now known as chinmay_dd|nc
jlast has joined #ruby
casadei_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
kyrylo_ has joined #ruby
jlast has quit [Ping timeout: 256 seconds]
cashnguns has quit [Remote host closed the connection]
kyrylo has quit [Ping timeout: 244 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
casadei_ has quit [Ping timeout: 255 seconds]
Outlastsheep is now known as Aslagoat
Aslagoat is now known as Fiestasheep
Fiestasheep is now known as Outlastsheep
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psy has quit [Ping timeout: 265 seconds]
KEmso has joined #ruby
relix has joined #ruby
tomphp has joined #ruby
Papierkorb_ has joined #ruby
cassianoleal has joined #ruby
Papierkorb has quit [Disconnected by services]
Papierkorb_ is now known as Papierkorb
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
jottr has joined #ruby
RegulationD has joined #ruby
iotouch has joined #ruby
Matachines has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
zotherstupidguy has quit [Ping timeout: 246 seconds]
konsolebox has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
Nimf has joined #ruby
psy has joined #ruby
phutchins has joined #ruby
chinmay_dd|nc is now known as chinmay_dd
enebo has quit [Quit: enebo]
<jhass> mjuszczak: what tool?
<jhass> ruby-install?
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
Guest87266 has joined #ruby
Matachines has quit [Read error: Connection reset by peer]
<PhantomSpank> are there any websites that are like codingbat for ruby
iotouch has quit [Quit: This computer has gone to sleep]
phutchins has quit [Read error: Connection reset by peer]
tuelz1 has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
LJT has joined #ruby
sent1nel has joined #ruby
zotherstupidguy has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
zotherstupidguy has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuelz1 has quit [Ping timeout: 240 seconds]
LJT has quit [Client Quit]
Nimf has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> PhantomSpank: perhaps exercism.io or codewars.com
mary5030 has quit [Ping timeout: 256 seconds]
turtil has quit [Ping timeout: 250 seconds]
<PhantomSpank> jhass: thanks
Matachines has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
Outlastsheep is now known as zz_Outlastsheep
<pocketprotector> what was up with that hitler guy last night
<adaedra> o
<adaedra> oO
iotouch has joined #ruby
riotjones has joined #ruby
zotherstupidguy has joined #ruby
<wasamasa> yeah, the guy who thought o/ to be a hitler salute
<adaedra> srsly
<wasamasa> and did claim before that how he couldn't to 1 - 1
<wasamasa> and would need math education to learn to program
<pocketprotector> .. it was random.
nobitanobi has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
Alina-malina has joined #ruby
<mjuszczak> jhass: yes, ruby-install
<mjuszczak> Should I just symlink /etc/gemrc to /opt/rubies/...
phutchins has joined #ruby
Soda has joined #ruby
MasterPiece has joined #ruby
<jhass> mjuszczak: that must set some weird flag then, because for my regularly compiled rubies here it works
riotjones has quit [Ping timeout: 276 seconds]
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
j0hnnyk has joined #ruby
WillAmes has quit [Ping timeout: 256 seconds]
hewenhong has quit [Remote host closed the connection]
tuelz1 has joined #ruby
<mjuszczak> okee. So I guess the symlink is the best option?
j0hnnyk has quit [Read error: Connection reset by peer]
juanpablo__ has joined #ruby
<jhass> mjuszczak: try --sysconfdir=/etc
banister has joined #ruby
<mjuszczak> Yeah, sysconfdir is missing actually
j0hnnyk has joined #ruby
banister has quit [Max SendQ exceeded]
<mjuszczak> when I do ruby environment
banister has joined #ruby
fgo has joined #ruby
juanpablo__ has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Ping timeout: 240 seconds]
j0hnnyk_ has joined #ruby
j0hnnyk has quit [Read error: Connection reset by peer]
MasterPiece has quit [Remote host closed the connection]
j0hnnyk_ has quit [Remote host closed the connection]
<PhantomSpank> jhass: thanks for the codewars tip, the site looks promising!
bim has joined #ruby
<jhass> PhantomSpank: exercism.io's community is stronger in giving feedback IME though
bim is now known as Guest86998
<PhantomSpank> i don't have a git yet
<jhass> but you can also post your solutions here and ask for review I guess ;)
<PhantomSpank> :D
<jhass> what do you mean you have no git yet? just install it
<jhass> note git != github
randiman has joined #ruby
<PhantomSpank> jhass: i meant github
<jhass> oh, it's login with github only indeed
<jhass> well, you should get a github account anyway :P
<PhantomSpank> that's true
Matachines has quit [Read error: Connection reset by peer]
j0hnnyk has joined #ruby
Matachin_ has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
cassianoleal has quit [Ping timeout: 252 seconds]
j0hnnyk has quit [Remote host closed the connection]
cassianoleal has joined #ruby
Guest86998 has quit [Ping timeout: 252 seconds]
evident is now known as evident_
The_Phoenix has joined #ruby
iotouch has quit [Quit: 离开]
Matachin_ is now known as Matachines
wottam has joined #ruby
j0hnnyk has joined #ruby
mleung has quit [Quit: mleung]
ndrei has joined #ruby
dkphenom has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mjuszczak> jhass: I assume you mean sysconfdir when compiiling ruby, right?
<jhass> it's a configure flag and ruby-install seems to pass those along
<jhass> so yeah
quimrstorres has joined #ruby
diegoaguilar has joined #ruby
webus_ has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
<pocketprotector> are there any tools out there that can ready your code and suggest better ways?
<pocketprotector> s/ready/read
TechTonics has joined #ruby
quimrstorres has quit [Remote host closed the connection]
<TechTonics> Hello, is anyone here that would answer a question about a particular ruby gem?
<jhass> pocketprotector: rubocop to a degree, though its default config conflicts a lot with my style :P
<Papierkorb> TechTonics: Just ask
lidenskap has joined #ruby
zotherstupidguy has joined #ruby
<TechTonics> ok, i'm getting "extconf failed, exit code 1" while trying to sudo gem install roo
<jhass> TechTonics: full output & all mentioned logs -> gist.github.com
RegulationD has joined #ruby
kotk has quit [Quit: Leaving...]
<pocketprotector> rubocop lol.. ill check that out
<TechTonics> gist:6f317f97d1422fae1c07 is this what you need?
<jhass> TechTonics: maybe, copy paste the URL in your addressbar
lidenskap has quit [Ping timeout: 272 seconds]
<TechTonics> ahh ok sorry
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> zlib is missing; necessary for building libxml2
<jhass> install zlib
<TechTonics> is zlib another gem ?
<jhass> no, it's a system library
quimrstorres has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
zotherstupidguy has quit [Ping timeout: 252 seconds]
rgb-one has joined #ruby
<TechTonics> i've just ran apt-get install zlib and Unable to locate package zlib
zotherstupidguy has joined #ruby
<jhass> libz perhaps?
<adaedra> TechTonics: try zlib-devel
<pocketprotector> apt-cache search zlib
<jhass> search for packages named similar to zlib, libz
FernandoBasso has joined #ruby
zorak8 has joined #ruby
Sembei has quit [Ping timeout: 272 seconds]
MyMind has joined #ruby
chipotle has quit [Quit: cheerio]
lavros_ has quit [Ping timeout: 252 seconds]
scripore has quit [Quit: This computer has gone to sleep]
lavros has joined #ruby
bonhoeffer has joined #ruby
relix has joined #ruby
scripore has joined #ruby
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
Guest87266 has quit [Ping timeout: 250 seconds]
mjuszczak has quit []
iasoon has quit [Ping timeout: 272 seconds]
endash has quit [Quit: endash]
iasoon has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
moeabdol has quit [Quit: WeeChat 1.1.1]
griffind_ has joined #ruby
toretore has joined #ruby
jottr has joined #ruby
<TechTonics> ok i've tried zlib-devel , liblz1 , zlib-bin , zlibc , ruby-zip , libzzip-0-13 , zlib1g , lib64z1 and nothing has worked yet .. any other ideas?
m8 has joined #ruby
irk has quit [Ping timeout: 256 seconds]
moeabdol has joined #ruby
<adaedra> still the same error?
zzing has joined #ruby
hakunin_ has joined #ruby
<TechTonics> yup
ghr has joined #ruby
<jhass> are you sure?
<jhass> previously you thought the error is extconf failed, exit code 1
<jhass> but that was just a symptom
<jhass> maybe you have a new error with the same symptom?
ryan_ has joined #ruby
<TechTonics> well the output is exactly the same
hakunin has quit [Ping timeout: 244 seconds]
jwinder has joined #ruby
jottr has quit [Ping timeout: 264 seconds]
<jhass> that's weird, do you have anything unusual in your environment? like setting LD_LIBRARY_PATH to a weird location?
<TechTonics> i very well could be missing something .. which the odds are, is the case .. i just don't know what
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> also make sure you have build-essential installed
<TechTonics> build-essential is already the newest version.
<jhass> it's really still saying "checking for gzdopen() in -lz... no" ?
Matachines has joined #ruby
<TechTonics> yuppers
<TechTonics> checking for gzdopen() in -lz... no
<jhass> google suggests apt-get install liblzma-dev zlib1g-dev
ghr has quit [Ping timeout: 264 seconds]
cassianoleal has quit [Ping timeout: 256 seconds]
<TechTonics> lets hope for the googles!
rgb-one has quit [Remote host closed the connection]
cassianoleal has joined #ruby
<TechTonics> it's looking good ..
doodlehaus has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
papashou has joined #ruby
Spami has joined #ruby
Channel6 has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zotherstupidguy has quit [Ping timeout: 265 seconds]
a346 has joined #ruby
<TechTonics> ok well +1 for the googles!!
<TechTonics> it worked
workmad3 has joined #ruby
<TechTonics> thank you for all who participated :)
zotherstupidguy has joined #ruby
McRae has joined #ruby
fgo has joined #ruby
konsolebox has joined #ruby
McRae has quit [Ping timeout: 265 seconds]
konsolebox has quit [Max SendQ exceeded]
ChoiKyuSang has quit [Ping timeout: 256 seconds]
konsolebox has joined #ruby
mjuszczak has joined #ruby
konsolebox has quit [Max SendQ exceeded]
fgo has quit [Ping timeout: 265 seconds]
TechTonics has quit [Quit: Leaving]
<PhantomSpank> self.split.map(&:capitalize).join(" ")
<PhantomSpank> what is the (&:) good for
<PhantomSpank> is it acting like a block
<dorei> map accepts blocks
<dorei> &:map is a shortcut for telling it to use #capitalize as a block
<dorei> &:capitalize even
McRae has joined #ruby
bim has joined #ruby
mengu has quit []
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
bim is now known as Guest30563
<PhantomSpank> self.split.map{|c|c.capitalize}.join(" ")
<PhantomSpank> is the same
<PhantomSpank> right
pwattste has joined #ruby
ChoiKyuSang has joined #ruby
<jhass> PhantomSpank: yes
robbyoconnor has quit [Ping timeout: 252 seconds]
banister has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
zotherstupidguy has joined #ruby
ChoiKyuSang has quit [Client Quit]
dfinninger has joined #ruby
taiansu has quit [Remote host closed the connection]
Cosmos has quit [Ping timeout: 250 seconds]
Guest87266 has joined #ruby
griffind_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
griffindy has joined #ruby
ascarter has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
Guest87266 is now known as nii236
jarboot has quit [Quit: Lost terminal]
nii236 is now known as Guest73337
thatslifeson has joined #ruby
nfk has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
konsolebox has joined #ruby
jwinder has quit [Ping timeout: 256 seconds]
qwertme has joined #ruby
_blizzy_ has quit [Ping timeout: 256 seconds]
thatslifeson has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
rkazak_ has joined #ruby
enebo has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
dfinninger has quit [Remote host closed the connection]
Pupeno has quit [Changing host]
Pupeno has joined #ruby
dfinninger has joined #ruby
taiansu has joined #ruby
Pupeno_ has joined #ruby
crimeircd has joined #ruby
Pupeno has quit [Ping timeout: 256 seconds]
starless has joined #ruby
ChoiKyuSang has joined #ruby
Flowrhent has quit [Remote host closed the connection]
hewenhong has joined #ruby
Flowrhent has joined #ruby
dfinninger has quit [Remote host closed the connection]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
enebo has quit [Quit: enebo]
Guest30563 has quit [Remote host closed the connection]
griffindy has joined #ruby
pwattste has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
YourKicks has joined #ruby
thatslifeson has joined #ruby
mtakkman has joined #ruby
edwinvdg_ has joined #ruby
hewenhong has quit [Ping timeout: 272 seconds]
bim has joined #ruby
bim is now known as Guest98882
Rahul_Roy has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
juanpablo__ has quit [Ping timeout: 246 seconds]
Zenon has quit [Quit: bb]
thatslifeson has quit [Ping timeout: 252 seconds]
Guest98882 has quit [Remote host closed the connection]
mjuszczak has quit []
<KEmso> Is there any "reference" for Ruby?
<KEmso> As it is for C?
workmad3 has quit [Ping timeout: 246 seconds]
<Papierkorb> What kind of reference? Standard, syntax, documentation for the standardlib?
gaganjyot has joined #ruby
<KEmso> Standard.
JDiPierro has joined #ruby
<Mon_Ouie> There was an ISO standard for Ruby 1.8
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dorei> any of you on ms windows? what does ruby set $/ at ms windows?
<KEmso> What is windows?
mjuszczak has joined #ruby
tuelz1 has quit [Ping timeout: 265 seconds]
Oog has joined #ruby
<Oog> what does class << self do
thatslifeson has joined #ruby
<Mon_Ouie> It opens an self's singleton class. If you define an instance method 'bar' on foo's singleton class, you can call it as foo.bar
Azure has quit [Ping timeout: 264 seconds]
<havenwood> KEmso: The Final Draft of the ISO standard is free to review: https://www.ipa.go.jp/files/000011432.pdf
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Mon_Ouie> In this case the goal is to define ApiController.inherited which is automatically called when ApiController is subclassed
<KEmso> havenwood, Thanks.
<Oog> Mon_Ouie: got it thanks
Azure has joined #ruby
thatslifeson has quit [Remote host closed the connection]
aewffwea has quit [Ping timeout: 244 seconds]
zotherstupidguy has quit [Ping timeout: 272 seconds]
quimrstorres has quit [Remote host closed the connection]
yh has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
greenbagels has quit [Quit: Leaving]
LJT has joined #ruby
pontiki has quit [Ping timeout: 256 seconds]
tomphp has quit [Client Quit]
zotherstupidguy has quit [Ping timeout: 250 seconds]
iamjarvo has joined #ruby
zotherstupidguy has joined #ruby
LJT has quit [Max SendQ exceeded]
phutchins has quit [Ping timeout: 272 seconds]
naftilos76 has joined #ruby
LJT has joined #ruby
iamjarvo_ has joined #ruby
ghr has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
scripore has joined #ruby
ascarter has joined #ruby
iamjarvo has quit [Ping timeout: 264 seconds]
casadei_ has joined #ruby
scripore has quit [Client Quit]
ghr has quit [Ping timeout: 264 seconds]
Alina-malina has quit [Quit: Leaving]
soulcake has quit [Ping timeout: 276 seconds]
Soda has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 246 seconds]
taiansu has quit [Remote host closed the connection]
casadei_ has quit [Ping timeout: 245 seconds]
einarj has quit [Remote host closed the connection]
iamjarvo has joined #ruby
nobitanobi has quit [Remote host closed the connection]
iamjarvo has quit [Max SendQ exceeded]
starless has quit [Quit: Leaving]
Guest73337 has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
zotherstupidguy has joined #ruby
iamjarvo has joined #ruby
nobitanobi has joined #ruby
bintelli has joined #ruby
iamjarvo has quit [Client Quit]
nobitanobi has quit [Remote host closed the connection]
iamjarvo_ has quit [Ping timeout: 272 seconds]
LJT has quit [Quit: Sleeping...]
JDiPierro has quit [Remote host closed the connection]
jottr has joined #ruby
randiman has quit [Quit: (null)]
AlphaAtom has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
iamjarvo has joined #ruby
aef_ has quit [Remote host closed the connection]
aef has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
tuelz1 has joined #ruby
mtakkman has quit [Ping timeout: 246 seconds]
RegulationD has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
LJT has joined #ruby
Oog has quit []
taiansu has joined #ruby
Azure has quit [Ping timeout: 264 seconds]
bim has joined #ruby
bim is now known as Guest38949
cassianoleal has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Alina-malina has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
_blizzy_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
zotherstupidguy has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
zotherstupidguy has joined #ruby
DerisiveLogic has joined #ruby
Guest38949 has quit [Remote host closed the connection]
michaeldeol has joined #ruby
YourKicks has quit [Quit: Leaving]
zotherstupidguy has quit [Ping timeout: 244 seconds]
zotherstupidguy has joined #ruby
bintelli has quit [Ping timeout: 246 seconds]
bim has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
bim is now known as Guest10632
<shevy> dorei hmm I have a windows machine downstairs, I can check later
scripore has quit [Quit: This computer has gone to sleep]
<dorei> thanx shevy :)
thekodols has joined #ruby
LJT has quit [Quit: Quiting...]
LJT has joined #ruby
jonr22 has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
zotherstupidguy has joined #ruby
mjuszczak has quit []
Peetooshock has quit [Remote host closed the connection]
quimrstorres has joined #ruby
dvlwrk has joined #ruby
zorak8 has quit [Quit: Leaving]
lavros has quit [Ping timeout: 256 seconds]
Guest10632 has quit [Remote host closed the connection]
sandstrom has joined #ruby
michaeldeol has quit [Quit: Textual IRC Client: www.textualapp.com]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zzing has quit [Read error: Connection reset by peer]
Mark-6ma has joined #ruby
zzing has joined #ruby
colorados has joined #ruby
bMalum has joined #ruby
amundj has joined #ruby
<xxneolithicxx> dorei: line feed
<xxneolithicxx> '\n'
<xxneolithicxx> jruby/ruby on Win 7
quimrstorres has quit [Remote host closed the connection]
scripore has joined #ruby
lavros has joined #ruby
crimeircd has quit []
<dorei> so, it's everywhere a "\n"
<dorei> regardless of os/implementation
charlenopires has joined #ruby
pushpak has joined #ruby
<dorei> thanx a lot xxneolithicxx :)
rkazak_ has quit [Quit: Sleep.....ing....]
<shevy> \o/
<shevy> yeah you can write ruby code in a fairly agnostic manner
<shevy> regardless of the underlying OS
<shevy> it just works
<shevy> that was mostly my impression with my own ruby code on windows
ghr has joined #ruby
<shevy> no idea about threads though
nemish__ has joined #ruby
zotherstupidguy has quit [Ping timeout: 264 seconds]
taiansu has quit [Remote host closed the connection]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
pushpak has quit [Quit: Linkinus - http://linkinus.com]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
nemish_ has quit [Ping timeout: 256 seconds]
ghr has quit [Ping timeout: 244 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
redlegion has joined #ruby
icebourg has quit [Client Quit]
juanpablo__ has joined #ruby
Guest73337 has joined #ruby
centrx has joined #ruby
pwattste has joined #ruby
Peetooshock has joined #ruby
juanpablo__ has quit [Ping timeout: 272 seconds]
ADot has joined #ruby
pontiki has joined #ruby
bruno- has joined #ruby
zotherstupidguy has joined #ruby
havenwood has quit []
ADot has quit [Client Quit]
Guest73337 has quit [Ping timeout: 276 seconds]
diegoaguilar has quit [Quit: Leaving]
LJT has quit [Quit: Sleeping...]
lxsameer has joined #ruby
zz_Outlastsheep is now known as Outlastsheep
m8 has quit [Quit: Sto andando via]
charlenopires has quit [Quit: Be back later ...]
charlenopires has joined #ruby
coderhs has joined #ruby
zotherstupidguy has quit [Ping timeout: 245 seconds]
RegulationD has joined #ruby
bintelli has joined #ruby
dreinull75 has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
renier has joined #ruby
bim has joined #ruby
bim is now known as Guest19820
<bintelli> I want to turn a specific attributes from an ActiveRecord record into a hash of hash. e.g. records = [<id:1, attr1:"a", attr2:"b", attr3:"c">, <id:2, attr1:"x", attr2:"y", attr3:"z">]; I want the result to be hash = {{attr1:"a", attr3:"c"}, {attr1:"x", attr3:"z"]}
<bintelli> any ideas on this?
RegulationD has quit [Ping timeout: 252 seconds]
Danishman has joined #ruby
<centrx> bintelli, your outer hash needs keys or it's just an array
ohaibbq has joined #ruby
workmad3 has joined #ruby
<bintelli> oh ok right
sameerynho has joined #ruby
<bintelli> I'm just trying to get a some attributes, not all attributes, from an ActiveRecord record into a hash that I can use
redlegion has quit [Quit: My balls smell vinegary]
<jhass> bintelli: what now, an array of hashes or a hash of hashes?
choke has joined #ruby
<adaedra> Hashception
ghr has joined #ruby
<_blizzy_> for carrierwave, I have to install fog AND fog-aws for aws, right?
<bintelli> an array of hashes would work too
Pupeno_ has quit [Quit: Leaving...]
lxsameer has quit [Ping timeout: 272 seconds]
<jhass> bintelli: .map {|model| model.attributes.slice(*MY_ATTRIBUTES) }
lidenskap has joined #ruby
<bintelli> great, thanks very much
coderhs has quit [Read error: Connection reset by peer]
sandstrom has quit [Quit: My computer has gone to sleep.]
zotherstupidguy has quit [Remote host closed the connection]
Guest19820 has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 265 seconds]
Alina-malina has quit [Ping timeout: 250 seconds]
coderhs has joined #ruby
jonr22 has quit [Ping timeout: 276 seconds]
DerisiveLogic has quit [Remote host closed the connection]
weemsledeux has joined #ruby
zotherstupidguy has joined #ruby
Musashi007 has joined #ruby
pwattste has quit [Ping timeout: 245 seconds]
taiansu has joined #ruby
sameerynho has quit [Ping timeout: 240 seconds]
DerisiveLogic has joined #ruby
Parker0 has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
lxsameer has joined #ruby
endash has joined #ruby
Parker0 has quit [Client Quit]
Matachines has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
taiansu has quit [Ping timeout: 255 seconds]
falsetto has joined #ruby
Alina-malina has joined #ruby
yfeldblum has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
bruno- has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
Brozo has joined #ruby
kyrylo_ is now known as kyrylo
Matachines has joined #ruby
dfinninger has joined #ruby
coderhs has quit [Ping timeout: 256 seconds]
Alina-malina has joined #ruby
bintelli has quit [Ping timeout: 246 seconds]
zotherstupidguy has quit [Ping timeout: 276 seconds]
maletor has joined #ruby
zotherstupidguy has joined #ruby
charlenopires has quit [Quit: Lingo: www.lingoirc.com]
swgillespie has joined #ruby
lidenskap has quit [Remote host closed the connection]
sameerynho has joined #ruby
<abyss> I have followin lines: https://gist.github.com/anonymous/b733dd99a49f7036a6f6. The output is something like this: https://gist.github.com/anonymous/1a47fd938ee93651a8dd. It's processing apache accesslogs takes sessionid and every timestamp of requests with the same sessionid.
casadei_ has joined #ruby
dfinninger has quit [Remote host closed the connection]
<abyss> What I need is now: to compare every value with the same session I mean: if value[1] - value[0] > 30 min then create new sessionid and put everything from value[1] to value[-1] to this session, and present session set as 0 duration....
<abyss> Someone could help me to achieve that?
lxsameer_ has joined #ruby
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
lxsameer has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Remote host closed the connection]
iamninja has quit [Read error: Connection reset by peer]
<abyss> of course lines from 22 are not correct;)
zotherstupidguy has joined #ruby
iamninja has joined #ruby
bim has joined #ruby
Musashi007 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bim is now known as Guest30703
casadei_ has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
sameerynho has quit [Ping timeout: 256 seconds]
Flowrhent has quit [Quit: Remote host closed the connection.]
sameerynho has joined #ruby
Guest30703 has quit [Remote host closed the connection]
ponga has quit [Quit: Leaving...]
jottr has joined #ruby
doodlehaus has quit [Remote host closed the connection]
lxsameer_ has quit [Ping timeout: 256 seconds]
Matachines has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zzing has quit [Ping timeout: 272 seconds]
zzing has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zotherstupidguy has quit [Ping timeout: 256 seconds]
lidenskap has joined #ruby
rbennacer has joined #ruby
zotherstupidguy has joined #ruby
KEmso has quit [Remote host closed the connection]
zzing has quit [Ping timeout: 246 seconds]
zzing has joined #ruby
Outlastsheep is now known as zz_Outlastsheep
AlexRussia has quit [Ping timeout: 272 seconds]
havenwood has joined #ruby
falsetto has left #ruby ["Textual IRC Client: http://www.textualapp.com/"]
zotherstupidguy has quit [Ping timeout: 255 seconds]
Danishman has quit [Ping timeout: 252 seconds]
sent1nel has quit [Remote host closed the connection]
jottr has joined #ruby
rbennacer has quit [Remote host closed the connection]
blackmesa has joined #ruby
lxsameer_ has joined #ruby
Jackneill has quit [Remote host closed the connection]
RegulationD has joined #ruby
Musashi007 has quit [Read error: Connection reset by peer]
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bim has joined #ruby
bim is now known as Guest9207
byprdct has joined #ruby
Guest9207 has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 264 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
relix has joined #ruby
zorak8 has joined #ruby
lidenskap has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 255 seconds]
bruno- has joined #ruby
ghr has joined #ruby
doodlehaus has joined #ruby
robbyoconnor has joined #ruby
Joufflu has joined #ruby
McRae has quit [Ping timeout: 240 seconds]
Musashi007 has joined #ruby
robbyoconnor has quit [Client Quit]
zotherstupidguy has joined #ruby
robbyoconnor has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
sent1nel has joined #ruby
al2o3-cr has quit [Ping timeout: 240 seconds]
Igorshp has joined #ruby
zorak8 has quit [Quit: Leaving]
yqt has joined #ruby
Igorshp has quit [Remote host closed the connection]
zotherstupidguy has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
Mark-6ma has joined #ruby
Igorshp has joined #ruby
Musashi007 has quit [Quit: Musashi007]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
Hijiri has quit [Quit: WeeChat 1.0.1]
naftilos76 has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vdamewood has joined #ruby
Brozo has quit [Quit: Leaving...]
relix has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Leikila has joined #ruby
<Leikila> Hi
<Leikila> I have The Well-Grounded Rubyist from 2009 and I saw there is a newer version. Should I really get the newest version or will the one from 2009 do fine?
AlexRussia has joined #ruby
<centrx> Leikila, The language is mostly the same
<centrx> mostly identical even
maletor has quit [Quit: Computer has gone to sleep.]
<centrx> Leikila, assuming it's using Ruby 1.9 or higher
<Leikila> Yep, it says "Covers Ruby 1.9.1"
airdisa has joined #ruby
pontiki has quit [Ping timeout: 252 seconds]
roolo has joined #ruby
Guest15 has joined #ruby
kaspernj has quit [Remote host closed the connection]
juanpablo__ has joined #ruby
<centrx> Leikila, almost all syntax changes to Ruby above 1.9 are additions of new functionality, not incompatible changes to previous functionality
<Leikila> I see. What's the purpose of the second edition of this book really for?
<certainty> incorporating new functionality?
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
Guest73337 has joined #ruby
Igorshp has quit [Remote host closed the connection]
juanpablo__ has quit [Ping timeout: 240 seconds]
the_f0ster has joined #ruby
qwertme has joined #ruby
<Leikila> centrx, Have you any experience with the book, "The Ruby way?"
<the_f0ster> hello, I have a class with a variable inside of it like, class Thing; my_hash = {}; end, someone is referencing it from inside of an instance of this class, such as Thing.my_hash, how is this working? I can't access Thing.my_hash from another class.. is this like a private class var somehow ?
cjim_ has joined #ruby
chinmay_dd has quit [Quit: Leaving]
<shevy> the_f0ster it resides on your class level instance
<apeiros> the_f0ster: my_hash is a local variable. you can't access it outside of Thing
<shevy> aaah I was not seeing that it had no @
Mark-6ma has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> shevy: that'd be @my_hash
Igorshp has joined #ruby
<centrx> Leikila, I do not, it looks older, 2006
<shevy> yeah
<the_f0ster> apeiros: actually it worked by doing Thing::my_hash, but it is being called as Thing.my_hash from inside an instance of Thing
<Leikila> centrx, Third edition is 2015
<apeiros> the_f0ster: then what you tell us is not correct.
<shevy> then Thing.my_hash is a method the_f0ster
<the_f0ster> no it is a constant, it is a hash
<apeiros> the_f0ster: maybe you gist real code instead of making something up?
<centrx> Leikila, oh ok
<shevy> no that is not correct the_f0ster , Thing::my_hash can not be a constant
<Leikila> centrx, I also have right here the Programming Ruby 1.9 & 2.0, The Pragmatic book but I haven't heard of it so much. The people that refer to it however claim it to be the "Bible" of Ruby?
<centrx> Leikila, Yes, the Pick-axe
<Leikila> centrx, Oh I see. Can one with very little experience with Ruby read it? Tho having previous experience in other programming languages.
<centrx> Leikila, Metaprogramming Ruby is another good one, more advanced though
zotherstupidguy has quit [Remote host closed the connection]
pontiki has joined #ruby
<centrx> Leikila, Yes, the Pick-axe covers all the basics/core things
aewffwea has joined #ruby
<shevy> PAYMENT_STATUS
<shevy> so suddenly you use a constant
<apeiros> the_f0ster: ok, my_hash and My_hash is not the same
zotherstupidguy has joined #ruby
<certainty> shevy: we don't have time!
<Leikila> centrx, Ah oke. Now I saw the front picture and realized why it's called the pick-axe :p
<shevy> why did you say my_hash when it is not downcased
<apeiros> the_f0ster: a variable which starts with an upper case letter is a constant
Guest73337 has quit [Ping timeout: 256 seconds]
Igorshp has quit [Read error: Connection reset by peer]
<the_f0ster> oh I see
<the_f0ster> sorry about that
<apeiros> the_f0ster: a variable which starts with a-z_ is a local variable
Igorshp has joined #ruby
babykosh has joined #ruby
<centrx> Leikila, The pick-axe is used for mining rubies to make gems and jewels and unicorns
<the_f0ster> so why can I access it on lines 14,20 without the :: operator, but outside of the class I need ::
<shevy> that is why you see: "class Foo" <--- they all start with upcased first character
<apeiros> and yes, constant lookup rules allow access via ContainingNamespace::ConstantName
<the_f0ster> ah
dumdedum_ has joined #ruby
<shevy> the constant resides in that namespace, of your class
<Leikila> centrx, Heh :) I don't know if I should hardcore study Ruby itself tho if I'm mainly interested in Rails. What do you think?
<shevy> so you must scope to it from the outside via :: or you use a method
dc has quit [Remote host closed the connection]
<apeiros> the_f0ster: you do it in your very code earlier and don't wonder about it: ActiveRecord::Base
<Leikila> centrx, Trying to get the newest version of The Ruby Way also.
workmad3 has joined #ruby
<the_f0ster> confused by what is happening when I access it via . from inside of the calss
<shevy> So AppointmentFee::PAYMENT_STATUS would work, and also a class method like AppointmentFee.foo()
<apeiros> the_f0ster: um, you can't
<shevy> inside the class, why would you need a .
<shevy> you can just use the name
<apeiros> that `AppointmentFee.PAYMENT_STATUS` does not work
<apeiros> it would invoke a method
<apeiros> and you have no method named PAYMENT_STATUS
<shevy> perhaps he could define such a method
<shevy> to increase the confusion
<certainty> perhaps he could learn some basic ruby :)
<shevy> :)
<apeiros> the_f0ster: ruby will happily parse it. but once you try to execute it, it'll raise a NoMethodError because you don't have such a method.
<Leikila> centrx, Thanks will read it.
<shevy> the_f0ster you must always define a method if you want to use it. if you want to define a class method, you can do so like this: def self.foo
<shevy> and inside it you can return that constant, for instance
<the_f0ster> apeiros, shevy i didnt write this code but its definitely working, and there is no method named the same with all caps
<the_f0ster> only the hash constant definition
<shevy> I never trust code written by others
<apeiros> the_f0ster: I can guarantee you that it either does not work or has that method defined.
<shevy> I do not even trust my own code either
<certainty> i didn't define Enumerable#reduce, still I can use it. shevy :O
nobitanobi has joined #ruby
<the_f0ster> okay thanks apeiros shevy
<the_f0ster> it doenst work
<shevy> I have no idea what is reduce... that is .inject right?
<shevy> the_f0ster now you are talking! :)
<certainty> yeah
<shevy> certainty you are on the other side
<shevy> certainty you are on the dark side right now
<Leikila> centrx, After you understand Ruby at some level as the topic said and you want to dive deeper in Rails, will you also have to dive deeper in Ruby? Or is there a point where X experience in Ruby is enough?
zotherstupidguy has quit [Ping timeout: 244 seconds]
<certainty> shevy: no you are. Come over here
<shevy> like those people who use .collect rather than .map
<certainty> i don't use collect
<shevy> ok that is good
<shevy> there is still hope for you then
<certainty> phew
<shevy> the good thing is, I can not remember how .inject works so it also would make no difference if I were to use .reduce - I am confused in both cases
zotherstupidguy has joined #ruby
<centrx> Leikila, You don't need a deep knowledge of Ruby to learn/do Rails, but of course deep knowledge always helps everywhere
<certainty> shevy: w00t? you miss out all the fun with folds then
pontiki has quit [Read error: No route to host]
<certainty> you're using #each_with_object right?
pontiki has joined #ruby
cjim_ has quit [Quit: (null)]
<pontiki> shevy: use each_with_object instead :)
<Leikila> centrx, I see. I guess I will give Ruby a year before moving to Rails.
<shevy> .each_with_object reads nicely
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> centrx does deep knowledge of PHP help everywhere
<certainty> or each.with_object
balazs has joined #ruby
yoni_ has quit [Ping timeout: 244 seconds]
<centrx> Leikila, a year!? be more ambitious!
bollullera has joined #ruby
<Leikila> centrx, As I said, I'm here mainly for Rails :(
nobitanobi has quit [Ping timeout: 255 seconds]
<certainty> didn't you hear that rails will not be continued?
<pontiki> stop it
<centrx> everyone switching back to CGI with PHP
<certainty> :)
threh has joined #ruby
<pontiki> anyway Perl::CGI is where it's at, man
<Leikila> certainty, So?
<centrx> Leikila, he's joking
<apeiros> pontiki: and there I thought C CGI was the future
<certainty> Leikila: i'm kidding
<apeiros> I mean, C is portable
<Nilium> PERL
<Leikila> There's always some truth behind every joke. Tell me what you meant :)
<certainty> and of course speeeed
<abyss> I did something like this: https://gist.github.com/anonymous/22a8ab4d8f1600a1bc3c but of course it not working that I expected:/ Any help?
* Nilium may or may not be doing some backend web service stuff in C.
<pontiki> i wrote a C CGI once.
<certainty> Leikila: nah, i just thought it would be ironic if someone spends a year to learn a language in order to use a framework that wont exist anymore after that year
<pontiki> once.
<certainty> i wrote CGIs in c++. That was, erm, painful
<certainty> but C in CGI is there for a reason! xD
<certainty> it's the C gateway interface
<pontiki> the C in CGI stands for "Common"
yoni_ has joined #ruby
<shevy> perl cgi would still be widespread without php
<certainty> pontiki: no way. Does that mean i can use perl in CGI?
<pontiki> certainty: *You* can't, no
<Leikila> certainty, Yea I would be trolled to death..
Musashi007 has joined #ruby
josh1 has joined #ruby
<centrx> Perl 6 is like, released almost, no point in these other distractions
<certainty> pontiki: heh, that's true. My perl is more than rusty, but i think i could dabble my to something close to the goal
<certainty> +way
doodlehaus has joined #ruby
<shevy> Perl 6 will come 2015!
<Leikila> certainty, Even if it was true, after all, people still develop in COBOL ;p
<certainty> Leikila: very true
<shevy> along with GNU Hurd
<certainty> the entire "XZ is dead" doesn't mean anything
kblake has joined #ruby
<certainty> shevy: lol, that was a good one
thekodols has quit [Ping timeout: 250 seconds]
ixti has joined #ruby
<shevy> I am serious about the 2015 though, #bioinformatics is full of excited praise
<certainty> should be renamed to Hurt
Dopagod has quit [Quit: WeeChat 1.0]
<shevy> all along as the rest of the world moved to python :)
RegulationD has joined #ruby
bim has joined #ruby
<certainty> they speak parsel now
<shevy> lisping filth
<certainty> xD
bim is now known as Guest4669
Dopagod has joined #ruby
<certainty> actually i'm more in haskell territory lately
<certainty> lisp is my backpack
segfalt has joined #ruby
* Nilium mainly uses Go now.
zotherstupidguy has quit [Ping timeout: 250 seconds]
doodlehaus has quit [Remote host closed the connection]
lidenskap has joined #ruby
dc has joined #ruby
zotherstupidguy has joined #ruby
Guest15 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 255 seconds]
evident_ has quit [Quit: leaving]
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ghr has joined #ruby
papashou has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dumdedum_ has quit [Quit: foo]
jenrzzz has joined #ruby
bMalum has quit [Quit: bMalum]
Brozo has joined #ruby
lidenskap has quit [Ping timeout: 240 seconds]
DynamicMetaFlow has joined #ruby
Brozo has quit [Remote host closed the connection]
Brozo has joined #ruby
ghr has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
zotherstupidguy has quit [Ping timeout: 240 seconds]
thekodols has joined #ruby
millerti has joined #ruby
Leikila has quit [Quit: Leaving]
platzhirsch has joined #ruby
platzhirsch has left #ruby [#ruby]
sent1nel has quit [Remote host closed the connection]
doodlehaus has joined #ruby
Guest15 has joined #ruby
mengu__ has joined #ruby
casadei_ has joined #ruby
hplc has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
qwertme has joined #ruby
DynamicMetaFlow has joined #ruby
postmodern has joined #ruby
<hplc> as a beginner i wonder what IDE?, any IDE that suggests autocompletion? / autocorrection?, so frustrating to spend more time looking for spelling errors than coding
sent1nel has joined #ruby
<Brozo> I like using sublime text
<hplc> and secondly, does ruby as a language goes as far as GUI making?
a346 has quit [Quit: a346]
casadei_ has quit [Ping timeout: 272 seconds]
<centrx> Ruby Shoes is probably the easiest way to get started with GUI
josh1 is now known as vim_shimm
felltir has joined #ruby
dc has quit [Remote host closed the connection]
bMalum has joined #ruby
<vim_shimm> hplc: If you're doing Rails stuff there's a slick gem called did_you_mean that can give hints for spelling errors.
<hanmac> i have a binding that can make GUI but its still in development
Musashi007 has quit [Quit: Musashi007]
<hplc> isnt rails and ruby same thing?, everywhere it looks like "ruby on rails"?
<pontiki> that right there should tell you they are NOT the same, hpic
<vim_shimm> hplc: Not even close, but I can see why you'd get that perception.
<pontiki> rails is a framework, written in ruby
<centrx> It's really "Rails on Ruby"
doodlehaus has quit [Remote host closed the connection]
<pontiki> it's like saying a road is the same as alphalt
<vim_shimm> hplc: Rails extends Ruby with a lot of conveient methods in the name of smoother development.
zotherstupidguy has joined #ruby
Renich has joined #ruby
<vim_shimm> hplc: A closer metaphor is say, that a given book is written in a certain language. Rails is written in Ruby, the Great Gatsby is written in English.
Brozo has quit [Remote host closed the connection]
felltir has quit [Read error: Connection reset by peer]
felltir has joined #ruby
<tobiasvl> well, the end result project using Ruby on Rails would be The Great Gatsby. not sure that metaphor really works
hackeron_ has joined #ruby
<pontiki> it works well enough as a metaphor
Brozo has joined #ruby
gaganjyot has quit [Quit: Leaving]
<vim_shimm> tobiasvl: How about a cookbook or an essay template?
<tobiasvl> yeah! now we're talking
felltir has quit [Read error: Connection reset by peer]
felltir has joined #ruby
<vim_shimm> Some sort of structured artefact that allows you to create more complex things. Like a carpenters jig for a repetetively reproduced piece. (Like guitar luthiers.)
relix has joined #ruby
hackeron has quit [Ping timeout: 245 seconds]
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
<abyss> nobody can help me with that? Or even give me a right path?;)
dvlwrk has quit [Ping timeout: 256 seconds]
<vim_shimm> abyss: Mabye restate your problem? Whinning for help seldom works on irc. A good guide to asking questions people fight to answer is: https://mikeash.com/getting_answers.html
lidenskap has joined #ruby
decoponio has quit [Quit: Leaving...]
lfox has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nfk|laptop has joined #ruby
<tobiasvl> yeah, I read the backlog and didn't understand your problem abyss
<tobiasvl> so a summary would help
robbyoconnor has quit [Ping timeout: 250 seconds]
nfk|laptop has quit [Client Quit]
lidenskap has quit [Remote host closed the connection]
<abyss> tobiasvl: hmmm, yeah maybe because my weak english :(
lidenskap has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
mistermocha has joined #ruby
<weaksauce> abyss gist the error with a full stack trace when you run the program
<abyss> I will try... First I had that kind of code: https://gist.github.com/anonymous/22a8ab4d8f1600a1bc3c I suppose line 29 is completely wrong because it is not right way to compare two elements from array... So I try this one: https://gist.github.com/anonymous/0bb82f2368eea89bdb26
<abyss> weaksauce: I haven't got any errors but my logic is bad at all... I don't received correct data. I will try to describe what I'd like to do:
<tobiasvl> well you need to give us something, we can't just look at your entire script and find the mistake
<tobiasvl> yes, describe what you want to do
<tobiasvl> and what it does instead
airdisa has quit []
robbyoconnor has joined #ruby
<abyss> I have accesslogs which looks like this one: https://gist.github.com/anonymous/ff2bc21ecab1d3312ae8. I'd like to take from all requests which have sessionid (the last numeric/word line) that sessionid and put to session[sessionid] = [timeOfFirstRequest, timeOfSecondRequests, etc] - this is works fine. Then I'd like to sort values in keys by it's times (so make sure that first request is on first place) (line 21)
sameerynho has joined #ruby
lxsameer_ has quit [Ping timeout: 240 seconds]
railsForDaiz has joined #ruby
<abyss> then I'd like to do sessionize which means - Consider v requests with the same sessionid are coming in every 31 minutes, then we have v sessions of a duration of 0. So if I have sessionid and next request with the same sessionid is after 29 minutes (or less) then nothing is changing and at the finish I subtract last timestamp from the first and I get how long session last...
baweaver has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 250 seconds]
zotherstupidguy has joined #ruby
lidenskap has quit [Remote host closed the connection]
rgb-one has joined #ruby
cjim_ has joined #ruby
<abyss> but when I have request with sessionid and second request with the same sessionid is after 30min then I'd like to move timestamp of request to new sessionid and leave sessionid(that in first request) with duration 0
felltir has quit []
Rephiax has joined #ruby
<abyss> And as you can see I completely I don't know how to do it;) Do you get what I mean? 30min is just how long user idle and if he idle more than 30 min don't count this session.
zotherstupidguy has quit [Ping timeout: 250 seconds]
rgb-one has left #ruby [#ruby]
parduse has quit []
bMalum has quit [Quit: bMalum]
Guest51721 has joined #ruby
zotherstupidguy has joined #ruby
<abyss> And besides it looks like that sorting at line 21 doesn't work because I get minus outcomes:/
RegulationD has joined #ruby
sent1nel has quit [Remote host closed the connection]
atmosx has quit [Quit: parting / quiting]
lidenskap has joined #ruby
vim_shimm has quit [Ping timeout: 264 seconds]
atmosx has joined #ruby
Spami has joined #ruby
segfalt has quit [Ping timeout: 245 seconds]
cjim_ has quit [Quit: (null)]
lidenskap has quit [Remote host closed the connection]
sandstrom has joined #ruby
<weaksauce> your match groups look good
thumpba has quit [Ping timeout: 272 seconds]
<abyss> yes as I mentioned it works fine.
lxsameer_ has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
<abyss> but my aproach is slightly different
ghr has joined #ruby
zotherstupidguy has quit [Ping timeout: 246 seconds]
zotherstupidguy has joined #ruby
sameerynho has quit [Ping timeout: 256 seconds]
threh has quit [Ping timeout: 256 seconds]
thekodols has quit [Ping timeout: 246 seconds]
lxsameer has joined #ruby
<weaksauce> abyss map doesn't alter your original array
ghr has quit [Ping timeout: 246 seconds]
jottr has quit [Read error: Connection reset by peer]
segfalt has joined #ruby
jottr_ has joined #ruby
threh has joined #ruby
lxsameer_ has quit [Ping timeout: 245 seconds]
<abyss> weaksauce: Thank you. So how I should sort it? session.each { |key, values| session[key].sort! } will be ok?
lidenskap has joined #ruby
lidenskap has quit [Remote host closed the connection]
Brozo has quit [Remote host closed the connection]
<mistermocha> will defined(x) render as true if x is false?
lidenskap has joined #ruby
<mistermocha> as opposed to just undef?
<weaksauce> abyss I rewrote the top part to be a touch more idiomatic and yeah that would work too https://gist.github.com/anonymous/c11df9644b468012396a
<weaksauce> seems to work for me now
<weaksauce> at least on the small test data sample
centrx has quit [Remote host closed the connection]
<tobiasvl> mistermocha: no, it will return nil
sent1nel has joined #ruby
<tobiasvl> >> defined? x
<ruboto> tobiasvl # => nil (https://eval.in/322869)
<tobiasvl> >> x = nil; defined? x
<ruboto> tobiasvl # => "local-variable" (https://eval.in/322870)
jottr_ has quit [Ping timeout: 264 seconds]
<tobiasvl> >> x = false; defined? x
<ruboto> tobiasvl # => "local-variable" (https://eval.in/322871)
<mistermocha> ok, so x = false, defined? x renders true ... and that's good in erb?
<mistermocha> thanks, I'm still a ruby n00b
<tobiasvl> don't understand what you mean
juanpablo__ has joined #ruby
sameerynho has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<abyss> weaksauce: Thank you. With that better sorting Iam closer to right outcomes... If you would like I can send you more data to test...
<weaksauce> abyss go for it
<abyss> weaksauce: errr, this means that you want more data to tests?;) Sorry my english isn't perfect;)
<weaksauce> sure I'll look at it with more data
lxsameer has quit [Ping timeout: 245 seconds]
juanpablo__ has quit [Ping timeout: 256 seconds]
yoni_ has quit [Ping timeout: 265 seconds]
<abyss> weaksauce: I send it on your query ok?:)
lavros has quit [Quit: leaving]
zotherstupidguy has quit [Ping timeout: 256 seconds]
<abyss> the right data is something close to: amount 2185; total duration: 286206
A205B064 has joined #ruby
<abyss> *right outcomes
zotherstupidguy has joined #ruby
<_blizzy_> could anyone help me figure out why this is returning broken images? https://gist.github.com/NotBlizzard/348ebd6ab11f8acf9be8
Guest73337 has joined #ruby
<_blizzy_> I want the url to be foobar.com/i/foobar.png
ramfjord has joined #ruby
<_blizzy_> IDC what the upload path is
<_blizzy_> *IDC
weaksauc_ has joined #ruby
jottr_ has joined #ruby
weaksauce has quit [Ping timeout: 244 seconds]
tomphp has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
<shevy> looks like rails code
<_blizzy_> sorry, I should of specified.
Motoservo has joined #ruby
<_blizzy_> it's rails 4.2.1.
_ixti_ has joined #ruby
Zai00 has joined #ruby
Igorshp has quit [Remote host closed the connection]
zotherstupidguy has quit [Remote host closed the connection]
edwinvdg_ has quit [Remote host closed the connection]
zotherstupidguy has joined #ruby
<jhass> ?rails _blizzy_
<ruboto> _blizzy_, Please join #RubyOnRails for Rails questions.
edwinvdgraaf has joined #ruby
<jhass> oh
<_blizzy_> jhass, oh ok.
<jhass> ?crosspost _blizzy_
<ruboto> _blizzy_, Please do not crosspost without at least telling so and mentioning provided suggestions and their outcome in all channels. Experience shows that people don't do either, and not doing so is considered rude.
<_blizzy_> oh.
<_blizzy_> sorry.
ixti has quit [Ping timeout: 272 seconds]
rbennacer has joined #ruby
hewenhong has joined #ruby
Guest73337 has quit [Ping timeout: 255 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lidenskap has quit [Remote host closed the connection]
shellfu has quit [Remote host closed the connection]
hewenhong has quit [Ping timeout: 240 seconds]
zotherstupidguy has quit [Ping timeout: 265 seconds]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
f3lp has joined #ruby
icebourg has joined #ruby
P1RATEZ has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
icebourg has quit [Client Quit]
phutchins has joined #ruby
balazs has quit [Remote host closed the connection]
Brozo has joined #ruby
DynamicMetaFlow has quit [Quit: Leaving]
Guest51721 has quit [Remote host closed the connection]
sent1nel has quit [Remote host closed the connection]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zotherstupidguy has joined #ruby
barhum2013 has joined #ruby
Hijiri has joined #ruby
nux443_ has quit [Ping timeout: 256 seconds]
wottam has joined #ruby
ascarter has joined #ruby
<barhum2013> resource.insert_date_utc => "05/02/2015 18:26”, Date.parse(resource.insert_date_utc) => Thu, 05 Feb 2015, I am expecting May 2nd…Any ideas why it is using a different format?
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
<tobiasvl> huh?
<adaedra> As an European, looks ok :p
<tobiasvl> that looks like February 5th to me
<tobiasvl> by any ISO date standards
Devanon has joined #ruby
zotherstupidguy has quit [Remote host closed the connection]
Devanon has left #ruby [#ruby]
zotherstupidguy has joined #ruby
<adaedra> More seriously, you may be able to do what you want by using strptime
<barhum2013> I see what is the standard
<barhum2013> that is *
<adaedra> >> Date.strptime('05/02/2015', '%m/%d/%Y')
<ruboto> adaedra # => uninitialized constant Date (NameError) ...check link for more (https://eval.in/322914)
<adaedra> what now
<adaedra> >> require 'date'; Date.strptime('05/02/2015', '%m/%d/%Y')
balazs has joined #ruby
<ruboto> adaedra # => #<Date: 2015-05-02 ((2457145j,0s,0n),+0s,2299161j)> (https://eval.in/322916)
DerisiveLogic has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
<tobiasvl> I guess dd/mm/yyyy isn't exactly standard either
<adaedra> no, standard is yyyy-mm-dd
Papierkorb_ has joined #ruby
<adaedra> dd/mm/yyyy is very common in the EU
mengu__ has quit []
railsForDaiz has quit [Read error: Connection reset by peer]
Guest4669 has quit [Remote host closed the connection]
balazs has quit [Remote host closed the connection]
Papierkorb has quit [Ping timeout: 264 seconds]
zotherstupidguy has quit [Ping timeout: 245 seconds]
<pontiki> writing it on your cat is definitely wrong
jottr_ has joined #ruby
<adaedra> Writing it?
<adaedra> This is what I could have done wrong.
FernandoBasso has quit [Quit: leaving]
<adaedra> I was burning it in its skin.
DerisiveLogic has joined #ruby
renier_ has joined #ruby
<pontiki> the means of writing is up to you, but no matter which you choose, it is still wrong
<barhum2013> tobiasvl adaedra thanks
renier has quit [Ping timeout: 240 seconds]
<shevy> cat hacking
<adaedra> I'll try with my dog then
<shevy> dog noodling
<shevy> french baguetting
<adaedra> hon hon
<shevy> you are french
<shevy> you must write
<shevy> 'on 'on
<adaedra> sh ?
<adaedra> ah ?*
<adaedra> First I find my dog, then I'll write that.
nfk has quit [Quit: yawn]
RegulationD has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
zotherstupidguy has joined #ruby
jottr_ has quit [Read error: Connection reset by peer]
jottr_ has joined #ruby
Zai00 has quit [Quit: Zai00]
RegulationD has quit [Ping timeout: 255 seconds]
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
kirun has quit [Quit: Client exiting]
the_f0ster has quit [Remote host closed the connection]
platzhirsch has joined #ruby
Stalkr has quit [Quit: Leaving...]
workmad3 has quit [Ping timeout: 272 seconds]
irk has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Brozo has quit [Remote host closed the connection]
Aww is now known as AWW
edwinvdgraaf has quit [Remote host closed the connection]
dc has joined #ruby
<al2o3-cr> "u\2660".gsub(/\/, "\\\\") how to replace \ with \\ ?
dc has quit [Remote host closed the connection]
<Papierkorb_> >> 'u\2660'.gsub(/\\/, '\\')
<ruboto> Papierkorb_ # => "u\\2660" (https://eval.in/322945)
AWW is now known as Aww
doodlehaus has joined #ruby
<Papierkorb_> al2o3-cr: ^ ?
Zekka has joined #ruby
<Papierkorb_> al2o3-cr: note that I used single-quotes
<Zekka> Hey, is there a way to force Ruby to free an object? I know this is a horrible idea, I'm doing it as part of a joke
<Zekka> ways that are weird and insane are perfectly acceptable, especially if they break things
<al2o3-cr> Papierkorb_: awesome thanks man
Papierkorb_ is now known as Papierkorb
<Papierkorb> al2o3-cr: cheers
<Zekka> (Version I'm on is 1.9.3, cross-version solutions are acceptable, preferably without dependencies though)
mleung has joined #ruby
<Zekka> I found one guy who did it, looks like he unfortunately had to go all the way into C
<Zekka> Right now I'm snooping around ObjectSpace
robbyoconnor has quit [Quit: Konversation terminated!]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
dc has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
doodlehaus has quit [Ping timeout: 250 seconds]
robbyoconnor has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
someguy has joined #ruby
redlegion has joined #ruby
Guest73337 has joined #ruby
small-wolf has joined #ruby
zotherstupidguy has quit [Ping timeout: 256 seconds]
barhum2013 has quit [Quit: barhum2013]
platzhirsch has left #ruby [#ruby]
Guest73337 has quit [Ping timeout: 245 seconds]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Miron has quit [Ping timeout: 252 seconds]
<adaedra> %x[reboot] should free all objects early.
zotherstupidguy has joined #ruby
<Zekka> adaedra: Clever!
<Zekka> I'll legit use that, I think. Let me give some background for what I'm writing
<Zekka> The problem is that I'm trying to implement a check that works on every object
<Zekka> but some objects can't sensibly be subjected to this check no matter what
<Zekka> so about halfway through my presentation I replace all constructors with constructors that return 'nil' (which passes the check)
<Zekka> but there are still objects around that don't pass the check, so I need to get rid of those
davedev2_ has joined #ruby
<Zekka> That seems like a pretty good way to do it!
davedev24_ has quit [Ping timeout: 252 seconds]
Miron has joined #ruby
<Zekka> adaedra: Thanks for the help
<adaedra> ok
sent1nel has joined #ruby
qwertme has joined #ruby
dc has quit [Remote host closed the connection]
DEA7TH has quit [Ping timeout: 264 seconds]
someguy has quit [Quit: This computer has gone to sleep]
sandstrom has quit [Quit: My computer has gone to sleep.]
Brozo has joined #ruby
airdisa has joined #ruby
kyrylo has quit [Ping timeout: 256 seconds]
Brozo has quit [Ping timeout: 255 seconds]
The_Phoenix has quit [Quit: Leaving.]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
bim has joined #ruby
balazs has joined #ruby
bim is now known as Guest54794
DerisiveLogic has quit [Remote host closed the connection]
bkxd has joined #ruby
AlexRussia has joined #ruby
Rahul_Roy has quit [Quit: Connection closed for inactivity]
centrx has joined #ruby
Guest54794 has quit [Ping timeout: 252 seconds]
Hijiri has quit [Quit: WeeChat 1.0.1]
redlegion has quit [Quit: My dick smells like butternut squash]
balazs has quit [Ping timeout: 272 seconds]
Hijiri has joined #ruby
fgo has joined #ruby
RegulationD has joined #ruby
McRae has joined #ruby
musty has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
barhum2013 has joined #ruby
Brozo has joined #ruby
ghr has joined #ruby
juanpablo__ has joined #ruby
Brozo has quit [Remote host closed the connection]
Brozo has joined #ruby
swgillespie has joined #ruby
platzhirsch has joined #ruby
michael_mbp has quit [Excess Flood]
RegulationD has quit [Ping timeout: 255 seconds]
platzhirsch has left #ruby [#ruby]
dseitz has joined #ruby
centrx has quit [Read error: Connection reset by peer]
McRae has quit [Ping timeout: 264 seconds]
michael_mbp has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
juanpablo__ has quit [Ping timeout: 250 seconds]