apeiros changed the topic of #ruby-lang to: Nick registration required to talk || Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com
jeff_r has quit [Ping timeout: 256 seconds]
mmorga has joined #ruby-lang
jeff_r has joined #ruby-lang
eponymi has joined #ruby-lang
<zzak>
drbrain: <3
<drbrain>
zzak: awww
<zzak>
:D
fragamus has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 245 seconds]
fragamus has quit [Client Quit]
saarinen has quit [Quit: saarinen]
fragamus has joined #ruby-lang
chendo has quit [Quit: .]
stamina has quit [Ping timeout: 256 seconds]
amerine has quit [Quit: Computer has gone to sleep.]
jsullivandigs has quit [Remote host closed the connection]
ThinkSocrates has quit [Remote host closed the connection]
jsullivandigs has joined #ruby-lang
digs has joined #ruby-lang
jsullivandigs has quit [Read error: Connection reset by peer]
fragamus has quit [Quit: Computer has gone to sleep.]
digs is now known as Guest26902
bantic has quit [Quit: bantic]
retro|cz has quit [Ping timeout: 252 seconds]
hogeo has joined #ruby-lang
pkrnj has joined #ruby-lang
cads has joined #ruby-lang
cored has quit [Ping timeout: 264 seconds]
malev has quit [Remote host closed the connection]
mistym has quit [Quit: Leaving]
shinnya has quit [Ping timeout: 245 seconds]
jewing has quit [Remote host closed the connection]
jeff_r has quit [Remote host closed the connection]
kitak_ has joined #ruby-lang
jeff_r has joined #ruby-lang
sepp2k1 has quit [Read error: Connection reset by peer]
kitak has quit [Ping timeout: 246 seconds]
kitak_ has quit [Remote host closed the connection]
jeff_r has quit [Ping timeout: 248 seconds]
kitak has joined #ruby-lang
mannyt has quit [Ping timeout: 245 seconds]
kitak_ has joined #ruby-lang
kitak has quit [Read error: Connection reset by peer]
jrobeson has quit [Ping timeout: 245 seconds]
Oloryn_lt2 has joined #ruby-lang
tomzx_mac has joined #ruby-lang
pr0ton has quit [Quit: pr0ton]
pr0ton has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
mistym has joined #ruby-lang
jrobeson has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
hahuang61 has quit [Ping timeout: 245 seconds]
bzalasky has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
pr0ton has quit [Quit: pr0ton]
bzalasky has joined #ruby-lang
bzalasky has quit [Read error: Connection reset by peer]
bzalasky has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
jeff_r has joined #ruby-lang
fosky has quit [Ping timeout: 246 seconds]
mdedetrich has quit [Quit: Computer has gone to sleep.]
jonog has joined #ruby-lang
bzalasky has quit [Ping timeout: 264 seconds]
GeissT has joined #ruby-lang
mdedetrich has joined #ruby-lang
jinslee has joined #ruby-lang
pr0ton has joined #ruby-lang
fijimunkii has quit [Ping timeout: 240 seconds]
saarinen has joined #ruby-lang
jeff_r has quit [Ping timeout: 240 seconds]
dhruvasagar has joined #ruby-lang
nevill has joined #ruby-lang
lfox has joined #ruby-lang
jonathanmarvens has joined #ruby-lang
jonog has quit [Quit: Konversation terminated!]
kenta_ has joined #ruby-lang
fosky has joined #ruby-lang
tkuchiki has joined #ruby-lang
sevvie has joined #ruby-lang
jeff_r has joined #ruby-lang
kenta_ has quit [Ping timeout: 245 seconds]
saarinen has quit [Quit: saarinen]
ThinkSocrates has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
nathanstitt has quit [Quit: I growing sleepy]
kireevco_ has quit [Ping timeout: 240 seconds]
symm- has quit [Ping timeout: 245 seconds]
saarinen has joined #ruby-lang
nathanstitt has joined #ruby-lang
jeff_r has quit [Remote host closed the connection]
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
elia has quit [Ping timeout: 246 seconds]
<[spoiler]>
I'm just working on a (sobs) php project
<[spoiler]>
It's literally making me angrier with each new character
<[spoiler]>
and I don't usually have temper issues
<[spoiler]>
It was originally supposed to be a RoR poroject, but the client already had a contract with a hosting company (they didn't know the hosting company doesn't support R[oR]), so tsyeah.
<judofyr>
nais
elia has joined #ruby-lang
<[spoiler]>
I felt bad about turning them down in the end
<judofyr>
what PHP framework/stack are you using?
minivan has quit [Ping timeout: 248 seconds]
<judofyr>
anything sensible?
<[spoiler]>
cakePHP, which is quite similar to Rails apparently
schaerli has quit [Ping timeout: 246 seconds]
<[spoiler]>
and so far it's been pretty straight-forward
<judofyr>
whitequark: just wondering how Foundry is coming along :)
benlovell has joined #ruby-lang
kenta_ has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
Squarepy has joined #ruby-lang
r0bby_ has quit [Ping timeout: 245 seconds]
kenta_ has quit [Ping timeout: 248 seconds]
GeissT has quit [Quit: MillBroChat AdIRC User]
minivan has quit [Ping timeout: 248 seconds]
cnivolle has joined #ruby-lang
nofxx has quit [Read error: Connection reset by peer]
nofxx has joined #ruby-lang
breakingthings has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
minivan has joined #ruby-lang
cnivolle has joined #ruby-lang
jithu has joined #ruby-lang
cnivolle has quit [Read error: Operation timed out]
cored has quit [Ping timeout: 268 seconds]
soba has quit [Ping timeout: 248 seconds]
hogeo has quit [Remote host closed the connection]
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
hogeo has joined #ruby-lang
hogeo has quit [Ping timeout: 268 seconds]
nvg has joined #ruby-lang
cored has quit [Quit: leaving]
cored has joined #ruby-lang
schaerli has joined #ruby-lang
r0bby_ has joined #ruby-lang
imperator has joined #ruby-lang
tomzx_mac has joined #ruby-lang
robbyoconnor has joined #ruby-lang
symm- has joined #ruby-lang
r0bby_ has quit [Ping timeout: 248 seconds]
bungoman has joined #ruby-lang
banisterfiend has quit [Quit: Computer has gone to sleep.]
mbj has joined #ruby-lang
lacrosse has quit [Ping timeout: 240 seconds]
cnivolle has joined #ruby-lang
lysw123 has joined #ruby-lang
rsl has quit [Ping timeout: 256 seconds]
lysw123 has quit [Remote host closed the connection]
lysw123 has joined #ruby-lang
MrZYX|off is now known as MrZYX
banisterfiend has joined #ruby-lang
gyutyuglf has quit []
screaming_otter has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
gyutyuglf has joined #ruby-lang
gyutyuglf has left #ruby-lang [#ruby-lang]
tkuchiki has quit [Ping timeout: 268 seconds]
lysw123 has quit [Quit: lysw123]
scampbell has joined #ruby-lang
rsl has joined #ruby-lang
minivan has quit [Quit: minivan]
minivan has joined #ruby-lang
<micalexander>
[spoiler]: are you familiar with mysql2?
omninonsense has joined #ruby-lang
<omninonsense>
damn, I got disconnected. (spoiler here)
<micalexander>
omninonsense: you familiar with mysql2?
robbyoconnor has quit [Ping timeout: 240 seconds]
crazynuxer has left #ruby-lang [#ruby-lang]
<omninonsense>
micalexander, I've used it. That's as far as my familiarity with it goes, though
robbyoconnor has joined #ruby-lang
kenta_ has joined #ruby-lang
<micalexander>
omninonsense: do you know if there is an ability do do a mysqldump with it? nothing in the docs
[spoiler] has quit [Disconnected by services]
omninonsense is now known as [spoiler]
banisterfiend has quit [Quit: Computer has gone to sleep.]
<[spoiler]>
micalexander, Hmm. I doubt it, to be honest.
lacrosse has joined #ruby-lang
<[spoiler]>
AFAIK mysqldump is a command
<micalexander>
so at that point does it just make sense to just shell out a dump command or...
<[spoiler]>
Yeah, probably. Unless there's another gem that allows it
<micalexander>
[spoiler]: it is but isn't tied to mysql though
ThinkSocrates has joined #ruby-lang
<ddfreyne>
maloik: I am @ddfreyne on Twitter
<ddfreyne>
No clue who ddefrenne is
<ddfreyne>
maloik: Weird. He's also from Ghent
<ddfreyne>
(although I live in Berlin now \o/)
enebo has joined #ruby-lang
<[spoiler]>
You could maybe try bleh = `mysqldump -u root -pLalala ...`
<apeiros>
bleh. that sounds like a very reassuring variable name.
<[spoiler]>
apeiros, Haha
<yorickpeterse>
"a"
<ddfreyne>
I prefer the instance variable name "@ddfreyne" personally, but I am biased.
mdedetrich has quit [Quit: Computer has gone to sleep.]
<[spoiler]>
ddfreyne, I just realied that! ivars looks like twitter handles!! Hahahaha
scampbell has quit [Remote host closed the connection]
<apeiros>
@dd freyne <-- add freyne?
fijimunkii has joined #ruby-lang
<micalexander>
[spoiler]: yeah I was hoping that wasn't the case. I think it was you I was talking to about using ruby as a wrapper vs just shelling stuff out as to not spawn up so many threads. Also will keep the app able to work cross platform.
<yorickpeterse>
apeiros: neg, syntax error
<yorickpeterse>
:>
minivan has quit [Read error: No route to host]
minivan has joined #ruby-lang
mdedetrich has joined #ruby-lang
<[spoiler]>
micalexander, calling mysqldump should in theory be cross-platform. mysqldump should be added to the path on windows and nix systems
<yorickpeterse>
ddfreyne: also make sure that every project you work on has a class called DangerFreyne
<yorickpeterse>
it should be a god object :>
<micalexander>
[spoiler]: only issue I can figure is if the user drags a file into the terminal and the path is to the file to import into the database has back slashes vs forward slashes. Is that ability even available on windows?
lfox has joined #ruby-lang
<micalexander>
[spoiler]: thanks, I figure it out
momomomomo has joined #ruby-lang
nneko001__ has quit [Quit: Konversation terminated!]
<[spoiler]>
micalexander, Windows supports both forward and backward slashes last time I checked
mannyt has joined #ruby-lang
ThinkSocrates has quit [Remote host closed the connection]
mdedetrich has quit [Quit: Computer has gone to sleep.]
<screaming_otter>
i'm trying to get the text between 2 words with regexp matching. I use this: f = text.match(/so(.*?)so/), but it gives me the "so" words as well. I'm pretty new to regexp and ruby btw. (pretty obvious)
richardburton has joined #ruby-lang
<darix>
screaming_otter: you probably want f[1] or so
<darix>
call inspect on the f variable.
ta has quit [Remote host closed the connection]
momomomomo has joined #ruby-lang
<[spoiler]>
f's first "member" (0) contains the whole matched string
<[spoiler]>
then the rest 1,2,3 are the groups
<[spoiler]>
i don't remember if it supports for named groups
<darix>
named groups work too but needs at least 1.9 if i recall correctly
tomzx_mac has quit [Ping timeout: 260 seconds]
<screaming_otter>
[spoiler]: that solved it, thanks! :)
ledestin has quit [Ping timeout: 248 seconds]
<[spoiler]>
screaming_otter, well darix helped, too! :D
kurko_ has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
<[spoiler]>
Small question to everyone on the channel: Do you explicitly return nil at the end of your methods when there's no expeced return value?
<[spoiler]>
expected*
<[spoiler]>
I know it's a style question, but I'm curious
<micalexander>
Im interested to know the answer to this question as well
<micalexander>
personally I dont
<dbussink>
yorickpeterse: maybe they store metrics in mongo?
<yorickpeterse>
zing!
<yorickpeterse>
[spoiler]: no
<yorickpeterse>
only when you explicitly *don't* want a return value, even then just `return` is enough
<[spoiler]>
yorickpeterse, oh no I don't mean using the "return" statement, just writing "nil" at the end since it's shorter
<[spoiler]>
I don't really use return unless I want to exit prematurely
<breakingthings>
return > nil
micalexander has quit [Remote host closed the connection]
<dbussink>
[spoiler]: "USE TABS AND SPACES TO INDENT YOUR CODE."
<dbussink>
from enterprise.js
<dbussink>
reminds of another project
micalexander has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<[spoiler]>
breakingthings, but nil is shorter to type. It's besides the point though. Someone called the ruby community irresponsible the other day for being careful with what their libraries return? I didn't understand why it was such a big problem, even though I'm careful about it myself
scampbell has joined #ruby-lang
<[spoiler]>
dbussink, hahaha, there's also a html and css cersion, too
<breakingthings>
[spoiler]: reading source code, I believe it is much quicker to distinguish the purpose of "return" to the purpose of "nil".
<breakingthings>
but I think they're being a bit of a babby.
<breakingthings>
Return nil when you care to make sure nothing is returned.
<[spoiler]>
breakingthings, well yes, but we know that the last value inside a method is implicitly returned, so there's really no point in typing "return x" when you could simply do "x"
<breakingthings>
Otherwise, if it's never supposed to be used as a return value, that's probably the fault of the user for trying to use it as such.
micalexander has quit [Ping timeout: 256 seconds]
* breakingthings
shrugs
<breakingthings>
I would think finding nil standing on it's own weird and would have to think for a second to realize that it's being used to void the return.
<[spoiler]>
Hmm
VTLob has joined #ruby-lang
<breakingthings>
an actual value from a calculation makes immediate sense to me, but reading nil just seems strange until I recall that it will return nil.
<breakingthings>
faster comprehension is all, and for only 3 more letters.
<breakingthings>
but then someone will probably argue that "return" is implicit and it should be "return nil" and then I'll watch the world burn
<breakingthings>
so do whatever you like
<breakingthings>
I'm just being picky.
rue_XIV has quit [Remote host closed the connection]
rue has joined #ruby-lang
rue has quit [Remote host closed the connection]
rue has joined #ruby-lang
<[spoiler]>
Well, it's just the coding style, you have the right to be picky. I never thought that a lone nil might be confusing until now. It makes sense though.
<yorickpeterse>
implicit return values are my biggest pet peeve in Ruby
<[spoiler]>
I wish Ruby decided to handle it the way JS did (return nil if no return statement exists), but adding that now would probably break 90% of code
<[spoiler]>
well, gems at least
<yorickpeterse>
that's basically what almost every other programming language out there does
<yorickpeterse>
I mainly dislike it because it's a PITA to perform analysis when a method has multiple implicit return values
tubbo has joined #ruby-lang
elia has quit [Read error: Operation timed out]
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
Johz has joined #ruby-lang
wallerdev has joined #ruby-lang
<dbussink>
yorickpeterse: pita for humans i guess, it still pretty straightforward for a machine
<[spoiler]>
Also, on a slightly unrelated note, I'm not sure if the performance protagonists just started getting louder recently, or is there actually more of them now than there used to be before (talking about MRI)? It's a good thing, but it's a bit late imho
<dbussink>
yorickpeterse: but if people write code that like, it's usually crappy code
apeiros has joined #ruby-lang
<dbussink>
in a language where return was obligated they'd probably still write crappy code
<yorickpeterse>
dbussink: for a lot of basic stuff it's not that much of a burden
r0bby_ has joined #ruby-lang
<yorickpeterse>
In this case by implicit I'm referring to stuff that's not intended to be a return value but is due to the implicit return nature
<yorickpeterse>
kinda depends on the amount of flow control in a method definition how hard it is
jxie has joined #ruby-lang
<breakingthings>
[spoiler]: I think both, and I don't think it's late unless you're talking about programming politics in which case who cares.
<breakingthings>
we all know that nodemongoscalago is the only scale for webs
<yorickpeterse>
yeah for 2 years, then it's <insert new fab>
tdm00 has quit [Quit: Make like a banana and split!]
robbyoconnor has quit [Ping timeout: 246 seconds]
<imperator>
not sure i've ever seen it
* imperator
is a fan of the SPoR principle
<[spoiler]>
breakingthings, Oh, no, no. I don't mean "too late" in the politics way, I meant in a "why wait so long" way.
<[spoiler]>
imperator, what does SPoR stand for?
<imperator>
Single Point of Return
<yorickpeterse>
imperator: eh, I'm looking at code atm that has at least...
r0bby_ has quit [Ping timeout: 268 seconds]
<yorickpeterse>
4-5 possible return values if I'm not mistaken
<yorickpeterse>
only 1 is actually intended
<yorickpeterse>
errr oh no, I have a hard return at the end
<yorickpeterse>
heh
<yorickpeterse>
without that it would be the case though
<yorickpeterse>
and yes, SPoR++
<imperator>
oh, multiple implicit returns via a case statement? ok
<yorickpeterse>
no
<yorickpeterse>
flow control in some #each calls and such
<breakingthings>
[spoiler]: Then I kind of figure it's people who are either new or are just getting their hooks into it, like Sam Saffron from Discourse. I think he got a crash course in ruby's internals and speed with discourse and he got big in the community for the research.
dhruvasagar has quit [Ping timeout: 252 seconds]
<yorickpeterse>
might be less than 4, this is just a super rough estimate
<yorickpeterse>
either way, more than 1 :P
<breakingthings>
does SPoR include early returns
<tubbo>
[spoiler]: there have been (less vocal) people trying to get ruby faster for years
metus_violarium has joined #ruby-lang
<breakingthings>
guard clauses, that is
benlovell has quit [Ping timeout: 240 seconds]
<breakingthings>
because guard clauses is important, yo.
<imperator>
zed shaw basically blew a gasket over performance
<tubbo>
but recently it seems jruby and rbx have been stable enough for more people to play around with. it used to be really hard to run certain ruby apps in rbx
<imperator>
the big thing now seems to be the gc
<yorickpeterse>
I'd say a big role is that tools such as jruby/rbx are finally starting to really mature, though jruby was pretty mature for a while already
<imperator>
which, if you're having issues, switch to jruby
<yorickpeterse>
imperator: bro everybody knows you should just use REE and then use some GC ENV vars you pulled from the web, that's totally legit
* yorickpeterse
cries because we actually have one app still on REE with GC ENV vars
<[spoiler]>
tubbo, Oh yeah I agree. I actually like rbx and it seems stable enough
brixen_ has left #ruby-lang [#ruby-lang]
brixen has joined #ruby-lang
<tubbo>
i haven't played with jruby in a while but last i checked i couldn't compile shit with c extensions in it
<tubbo>
err, install gems that is
<[spoiler]>
I think it still can't
<tubbo>
which hampered my ability to use it, unfortunately
<[spoiler]>
Not sure, though
<tubbo>
the gem in question is nokogiri
<yorickpeterse>
I was about to ask
<tubbo>
heh
<[spoiler]>
haha
<dbussink>
afaik nokogiri has a java part as well
<yorickpeterse>
"NOKOGIRI COMPILATION IS HARD, LETS BUNDLE LIBXML" - Nokogiri is now god awful slow to install instead
<yorickpeterse>
and yes, they have a Java version
<[spoiler]>
Nokogiri is awesome, though
sirfilip has joined #ruby-lang
<tubbo>
cool
<tubbo>
i've been thinking of trying out rbx at work, since one of the apps is on 1.8.7 anyway
<tubbo>
although now rbx 2 is 1.9 compatible right?
<dbussink>
tubbo: work in progress towards 2.1
<tubbo>
ah ok
<waxjar>
they just released a 2.0
<dbussink>
tubbo: but not everything is in there, big ones are keyword args atm that need to be done
<[spoiler]>
dbussink, tubbo: I think it supports 1.9 and 2.0 though?
<dbussink>
[spoiler]: no, just a single language mode now
<dbussink>
there are branches for 1.8 / 1.9 you can use
<tubbo>
but will i get syntax errors if i have `when 'blah':` :)
minivan has quit [Quit: minivan]
malev has joined #ruby-lang
<dbussink>
tubbo: you mean 1.9+ style symbols?
<tubbo>
no, i mean colons at the end of when clauses
saarinen has joined #ruby-lang
<[spoiler]>
dbussink, Oh. I thought you can pass it a flag which language to use when you start it, or when compiling
<tubbo>
this codebase is chock full of 'em
<dbussink>
well, we have a copy of the mri parser, so it should be fine
<dbussink>
[spoiler]: no, we moved that out
<tubbo>
and it's annoying b/c it's a stupid bit of syntax that MRI just can't figure out
<tubbo>
MRI 1.9+ that is..
<dbussink>
tubbo: ah ok, well, you can try the 1.8.7 branch of rbx and see if that helps you
jkprg has joined #ruby-lang
<tubbo>
yeah, i've actually been auditing parts of the code and attempting an upgrade to MRI 1.9 anyway
diegoviola has joined #ruby-lang
<tubbo>
since i figure we might as well get off 1.8.7
<yorickpeterse>
hihi, I like how Codeclimate keeps complaining about false positives when it comes to potential dos exploits
<yorickpeterse>
"Symbol conversion from unsafe string (parameter value)" - It compares an input string with a string array, no symbols actually involved
<workmad3>
yorickpeterse: :D
<imperator>
chris2, i've nailed down the culprit (for the solaris/ffi issue)
jkprg has quit [Client Quit]
<imperator>
just...not sure how to solve it
tbuehlmann has quit [Quit: Konversation terminated!]
<yorickpeterse>
plus it's whitelisted anyway
jkprg has joined #ruby-lang
<yorickpeterse>
ok now I found a legit one
<yorickpeterse>
fak
<chris2>
imperator: yes?
<imperator>
chris2, basically, when I call kstat_close everything gets wonky
<imperator>
so, i'm guessing my hash has a reference that gets all fucked up when i close the pointer that kstat_open returned
minivan has joined #ruby-lang
<imperator>
or something, not sure, since it all -looks- like strings and numbers
* imperator
updated the code with comments that points out the issue
rippa has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
<imperator>
i tried dup'ing and cloning the hash to try to disentangle it from any pointer, but nope
shinnya has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
<imperator>
and, i tried using an auto_ptr on the struct, using the release interface, but i couldn't get it to work
<imperator>
partly because i think there's a bug in the release interface where it swallows errors
vlad_starkov has joined #ruby-lang
ta has quit [Read error: Connection reset by peer]
zz_scottstamp is now known as scottstamp
<imperator>
which reminds me, i need to report that
jeff_r has joined #ruby-lang
micalexander has joined #ruby-lang
zmike123 has joined #ruby-lang
sr78ger has joined #ruby-lang
jsullivandigs has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
tkuchiki has joined #ruby-lang
Ahti333 has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby-lang
schaerli has quit [Ping timeout: 246 seconds]
fijimunk1i has joined #ruby-lang
<imperator>
yorickpeterse, just switch to Rust ;)
io_syl has quit []
<yorickpeterse>
pfff
wallerdev has joined #ruby-lang
<yorickpeterse>
I might give it a try when it becomes less "OH GOD CHANGE ALL THE THINGS EVERY HOUR"
<yorickpeterse>
Oh, and if I have to use Bugzilla for bug reports I'll never even mention it
screaming_otter has quit [Quit: Leaving]
schaerli has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
<[spoiler]>
What bugs me about rust, for some reason, is the "fn" keyword for functions. Why did they not make it "fun"?!
<dominikh>
because there is no fun to be had
fijimunkii has quit [Ping timeout: 264 seconds]
<yorickpeterse>
^
schaerli has joined #ruby-lang
<banisterfiend>
[spoiler] fn is shorter :)
<banisterfiend>
and fn is a fairly common abbreviation for function i think
<imperator>
i dunno, i like it
<imperator>
seems crisp, concise
<[spoiler]>
banisterfiend, but it's not as fun :P
<[spoiler]>
dominikh, pfft.
<yorickpeterse>
kik, 24 connection failures for website X in the past hour alone
<yorickpeterse>
seeing how the connect timeout is 20 seconds that's rather hilarious
<yorickpeterse>
8 minutes of estimated downtime, lol
schaerli has quit [Ping timeout: 265 seconds]
<banisterfiend>
[spoiler] go strikes me as a language high level programmers can use so they can say 'hay guise look I'm doin low l3vel programming nao!", i.e it's the easiest and lamest of all "low level" languages
<banisterfiend>
end /troll :P
mbj has joined #ruby-lang
<[spoiler]>
banisterfiend, :( go to_hell(indended pun);
<gnufied>
hmmm
<banisterfiend>
:))
<dominikh>
while I don't agree that that's the idea behind Go, it's certainly a trend
<imperator>
Go looked decent, what's your beef with it?
<banisterfiend>
[spoiler] hehe i don't really believe, it looks like an interesting language :) But i'd still rather invest my time learning something that's going to broaden my horizons a bit further, i.e haskell (or maybe rust, though i haven't looked into rust at all ) :)
mnngfltg has quit [Quit: Ex-Chat]
jonathanmarvens has quit [Remote host closed the connection]
jonathanmarvens has joined #ruby-lang
<[spoiler]>
banisterfiend, Oh I know you didn't mean it! I obviously replied with a joke, too! Also, I tried to look into haskell, but it was just not my thing... Rust seems interesting though
headius has joined #ruby-lang
sevvie has joined #ruby-lang
dagobah has quit [Remote host closed the connection]
<banisterfiend>
[spoiler] i'd be curious on Go vs Haskell benchmarks
benlovell has joined #ruby-lang
mistym has quit [Remote host closed the connection]
__butch__ has joined #ruby-lang
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
deception has joined #ruby-lang
iliketurtles has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
Squarepy has quit [Quit: Leaving]
brianpWins has quit [Quit: brianpWins]
Senjai has joined #ruby-lang
Senjai has quit [Changing host]
Senjai has joined #ruby-lang
ruurd has quit [Quit: Leaving...]
ruurd has joined #ruby-lang
ruurd has quit [Client Quit]
ruurd has joined #ruby-lang
ruurd has quit [Client Quit]
jithu has quit [Quit: Mother, did it need to be so high?]
fuhgeddaboudit has joined #ruby-lang
lfox has quit [Quit: ZZZzzz…]
diegoviola has quit [Quit: WeeChat 0.4.1]
sevvie has quit [Ping timeout: 265 seconds]
Oloryn_lt2 has quit [Read error: Connection reset by peer]
kek has quit [Remote host closed the connection]
tbuehlmann has joined #ruby-lang
kek has joined #ruby-lang
sevvie has joined #ruby-lang
benlovell has quit [Ping timeout: 268 seconds]
mistym has joined #ruby-lang
saarinen has quit [Quit: saarinen]
kek has quit [Ping timeout: 246 seconds]
Pupeno has joined #ruby-lang
Nortmobile has joined #ruby-lang
ykk` has joined #ruby-lang
arBmind has quit [Quit: Leaving.]
skade has quit [Read error: Operation timed out]
ruurd_ has joined #ruby-lang
iliketurtles has quit [Quit: zzzzz…..]
benlovell has joined #ruby-lang
skade has joined #ruby-lang
richardburton1 has joined #ruby-lang
richardburton1 has quit [Client Quit]
scottstamp has quit [Ping timeout: 268 seconds]
violarium has joined #ruby-lang
ruurd_ has quit [Quit: Leaving...]
benlovell has quit [Ping timeout: 246 seconds]
minivan has quit [Quit: minivan]
__butch__ has quit [Quit: Leaving.]
minivan has joined #ruby-lang
minivan has left #ruby-lang [#ruby-lang]
lfox has joined #ruby-lang
<imperator>
why Go vs Haskell?
<imperator>
i saw some Go vs C benchmarks recently; Go was a bit slower, but I guess its advantages are meant to outweigh the speed differential
symm- has joined #ruby-lang
metus_violarium has quit [Ping timeout: 248 seconds]
a1ph4g33k has joined #ruby-lang
__butch__ has joined #ruby-lang
arBmind has joined #ruby-lang
<tubbo>
banisterfiend: why is Go lame?
richardburton has joined #ruby-lang
<tubbo>
banisterfiend: oh i guess if you're like, already familiar with its concepts and everything it's not much of a good learn
<banisterfiend>
imperator because I would like to use haskell in similar places people might use Go
<imperator>
you might like to, but i doubt any company is going to let you ;)
richardburton has quit [Client Quit]
<a1ph4g33k>
banisterfiend, do you believe that the community is providing enough support in libraries to make Haskell practical ?
ruurd has joined #ruby-lang
<banisterfiend>
imperator sure they would,
Pupeno_ has joined #ruby-lang
<banisterfiend>
a1ph4g33k i haven't done that much haskell development (mostly just a lot of background reading), but from what i've seen it has most bases covered
<banisterfiend>
imperator if you're' working at smart company with enthusiastic developers, i don't see why they'd have an issue with it
pellenation has joined #ruby-lang
<heftig>
because they will have to support it
<banisterfiend>
heftig it's not like haskell is that obscure these days
<banisterfiend>
the #haskell channel is significantly bigger than #ruby and #ruby-lang
<banisterfiend>
and i know a lot of ruby devs who play ith it
<heftig>
we're living in a bubble here :p
Pupeno has quit [Ping timeout: 260 seconds]
<banisterfiend>
and i wouldn't write a huge project in it, just a simple API or something
brianpWins has joined #ruby-lang
mmorga has quit [Remote host closed the connection]
<banisterfiend>
and if people like it, we could move onto bigger things
<a1ph4g33k>
The most interesting thing I learned about Haskell ( so far ... I have two unread books on it ) is that one of the upper level developers working on Perl 6 views Perl as just a stepping stone to Haskell
<imperator>
oi
Pupeno_ has quit [Ping timeout: 260 seconds]
<imperator>
probably influenced by pugs
loincloth has joined #ruby-lang
<imperator>
which no one but the original author could understand
hahuang61 has quit [Ping timeout: 268 seconds]
<a1ph4g33k>
I believe the statement was that Monads provide powerful ways to handle parsing/state and that made building things much easier.
Coincidental has joined #ruby-lang
io_syl has joined #ruby-lang
tylersmith has joined #ruby-lang
havenwood has joined #ruby-lang
kireevco_ has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
kenta_ has quit [Remote host closed the connection]
jeff_r has quit [Remote host closed the connection]
kenta_ has joined #ruby-lang
jeff_r has joined #ruby-lang
<maloik>
Hmm, I'm working on a webhook system that is supposed to deploy jekyll to your own webhost using a number of different methods that I'd like to describe in 'tasks', but I'm not sure how to write that
<maloik>
I want to make it extendable so people can write their own tasks
<maloik>
Anyone want to pair with me for a little while on that ?
kenta_ has quit [Ping timeout: 240 seconds]
jeff_r has quit [Ping timeout: 260 seconds]
[spoiler] has quit [Read error: Connection reset by peer]
mmorga has quit [Remote host closed the connection]
kireevco_ has quit [Ping timeout: 248 seconds]
dhruvasagar has joined #ruby-lang
pr0ton has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
schaerli has joined #ruby-lang
mmorga has joined #ruby-lang
mistym has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
schaerli has quit [Ping timeout: 248 seconds]
jonathanmarvens has quit [Remote host closed the connection]
dhruvasagar has joined #ruby-lang
drewolson has joined #ruby-lang
MaddinXx_ has quit [Remote host closed the connection]
<drewolson>
can anyone help me out with a rbenv question? I've just installed rbx-2.0.0 and installed bundler. bundler shows up in my gem list but when i run "bundle" i'm told the executable isn't available for rbx-2.0.0. any ideas? should this question be in another channel?
<havenwood>
drewolson: I don't think there is an rbenv channel, but usually if there is an rbenv question the answer is "reshim".
<drewolson>
havenwood: ah, i tried rehash but didn't try reshim
<havenwood>
**rehash
<drewolson>
blast!
<havenwood>
drewolson: sorry, my typo not something real :(
<drewolson>
havenwood: yorickpeterse: may have to check it out. i've never had any problems with rbenv up to this point :(
<yorickpeterse>
having to run `rbenv rehash` even once should be enough reasons to move away from it
lfox has quit [Quit: ZZZzzz…]
jvrmaia has quit [Quit: Leaving]
ecnalyr has joined #ruby-lang
<yorickpeterse>
does anybody know of a way to let the Benchmark module run a block N times and measure the average time of it? A common pattern that I have is something like N.times { slow_code } but that obviously only measures the total time