<h0rrorvacui>
doesn't meshnet do something similar to MARS
<ddd>
i think so
<benzrf>
ddd: another amazingly cool feature of Io is that it has futures that /turn into the result/
<ddd>
project meshnet right?
<benzrf>
kind of like perfect proxies
<ddd>
has futures?
<benzrf>
futures?
<benzrf>
maybe promises?
<benzrf>
idk the proper terminology ;p
<KK4MGV>
the mars i linked to is the simulator for an awesome game where two people write assembly programs that get loaded into the simulator vm at random offsets in the same address space and try to get the other program to execute an illegal instruction
<ddd>
example?
Davey is now known as grumbles
<benzrf>
like an object that represents an async computation
<benzrf>
i.e.
<ddd>
KK4MGV: lol yeah totally different MARS
<benzrf>
foo = background_http("google.com")
<benzrf>
foo.done? => false
shedd has quit [Ping timeout: 248 seconds]
<benzrf>
foo.wait => blocks until done
<KK4MGV>
still interesting too though
<benzrf>
foo.get => html content
<benzrf>
now imagine if foo actually /changed its value to the html content/ when it was finished!
<ddd>
thats a hell of a lot more simplistic than doing it in ruby!
<ddd>
yeah
<benzrf>
oh that was an imaginary example of how you might do it in ruby
Azure has joined #ruby
Mars` has joined #ruby
<ddd>
i was thinking you were referencing a prebuilt method that did async http work
<benzrf>
ah
<ddd>
and simply by making foo an object of that type you got all the trimmings
<ddd>
thus the 'turning into the result'
<ddd>
ok gotta feed these dogs before they drive me nuts. bbiab
Steven_ has quit [Remote host closed the connection]
cj has quit [Ping timeout: 260 seconds]
tropicalmug has joined #ruby
Red_Onyx has left #ruby ["Leaving"]
<KK4MGV>
aww crap, doing a gem update broke my rake
<h0rrorvacui>
doesn't dart have futures?
carif has joined #ruby
predator117 has quit [Ping timeout: 246 seconds]
<KK4MGV>
was any backwards compatibility dropped in 1.8 -> 2.0?
cj__ has joined #ruby
dayepa has joined #ruby
<canton7>
KK4MGV, do a 'gem update' as well as a 'gem update --system'
<KK4MGV>
rephrased: can i just scrap my system's obsolete ruby install and replace it with 2.0 and expect all the things written for 1.8 to still work
<canton7>
KK4MGV, a couple of minor things
iliketurtles has joined #ruby
<h0rrorvacui>
KK4MGV why don't you get a ruby version manager and try it out
vlad_starkov has joined #ruby
<KK4MGV>
oh, good idea. i wasn't aware that existed
<h0rrorvacui>
if it doesn't work just use the rvm, rbenv, or chruby to change to a prior version on your system
predator117 has joined #ruby
<h0rrorvacui>
ddd knows a lot about rvm
<h0rrorvacui>
:P
Fire-Dragon-DoL has left #ruby [#ruby]
Geniack_ has quit [Read error: Operation timed out]
samsonasu has joined #ruby
<h0rrorvacui>
I prefer chruby myself. They all have their uses.
<KK4MGV>
lol, is the new mac pro smaller than the mac mini?
<Nilium>
I have a retina MBP with 16gb of RAM. I don't foresee wanting more memory for the duration of its life.
Deele has quit [Ping timeout: 260 seconds]
<h0rrorvacui>
No but it looks like a turbine
<KK4MGV>
hehe
<h0rrorvacui>
so it trumps everything
<ddd>
yeah I had 16GB in mine too
<h0rrorvacui>
:P
monkegjinni has quit [Remote host closed the connection]
<ddd>
funny thing is, this Thinkpad X131e can support up to 32GB of RAM, but it only has a 1.2GHz CPU lol
<ddd>
amd e-300
<h0rrorvacui>
I wonder how much a maxed out mac pro would cost?
<KK4MGV>
ooh! a non-intel machine!
<KK4MGV>
h0rrorvacui: idk, let's find out...
<Nilium>
Which isn't to say I wouldn't like more memory, I haven't actually had to make much use of page files, so it's questionable if it would serve any purpose
<ddd>
h0rrorvacui: in 2011 when I got mine, it cost me roughly $4000 with the applecare
<ddd>
that was what I wanted to do with my MBP. I wanted to remove the superdrive, get one of the internal trays and keep the 500GB HDD for storage, and get a 1TB SSD for the system
<h0rrorvacui>
ahh I see you clicked on one and upgraded
<KK4MGV>
yep
<KK4MGV>
so fully maxed out, without a display, keyboard, mouse, software, etc., is just shy of 10k
<KK4MGV>
rediculous
<h0rrorvacui>
so 10k
<h0rrorvacui>
I want it
<h0rrorvacui>
:P
<KK4MGV>
i don't!
<h0rrorvacui>
I'ma write santa
<KK4MGV>
for that money i could build something way better
<h0rrorvacui>
Yeah
<KK4MGV>
*way* better
<h0rrorvacui>
Time to go on a 10k shopping spree on newegg/tigerdirect/amazon
<KK4MGV>
hehe
<h0rrorvacui>
see whats I can do
<KK4MGV>
people still use tigerdirect?
<ddd>
oh yeah
<h0rrorvacui>
I do :(
<ddd>
but *I* use newegg more
Mon_Ouie has quit [Ping timeout: 272 seconds]
_reset has joined #ruby
<h0rrorvacui>
I use newegg because of the bundle deals
<h0rrorvacui>
but sometimes tiger is cheaper on a select item
<ddd>
i'm just old and set in my ways hehe
reset has quit [Read error: Connection reset by peer]
<Stevo123>
anyone do any sort of time tracking on projects with GitHUb?
<Stevo123>
like track your time in issues or commits?
<ddd>
nope. i use freshbooks for that
<KK4MGV>
h0rrorvacui: <buys graphics card for $100 -- comes with $240 worth of games -- sells games -- buys rest of computer> ?
bricker_ has joined #ruby
<ddd>
pivotal tracker for stories, freshbooks for time tracking and invoicing, github for repos
cj__ has quit [Ping timeout: 252 seconds]
dapz has quit [Ping timeout: 240 seconds]
<KK4MGV>
Stevo123: i hacked up a horrible system using taskwarrior, but i wouldn't recommend it
<KK4MGV>
i thought it was some git inspector thing
i8igmac has left #ruby [#ruby]
<KK4MGV>
my next question was how you were attaching other fields to commits, but yeah, that makes more sense
jmeeuwen has quit [Ping timeout: 252 seconds]
<Stevo123>
does not just have to be a commit
nanoyak has quit [Quit: Computer has gone to sleep.]
<Stevo123>
works with Issues Comments and Tasks in Comments
<Stevo123>
and Milestones
<Stevo123>
milestone is just for budgets
atma111 has quit [Ping timeout: 252 seconds]
<Stevo123>
Know of any Repos that currently do time tracking in some way?
kostine has joined #ruby
* KK4MGV
does not
<Stevo123>
If you come across any please send them my way
RoryHughes has joined #ruby
ckinni has quit [Ping timeout: 272 seconds]
<Stevo123>
I think it fills a large niche but would love to see some people currently doing time tracking in some way
<goleldar>
Anyone know how to write an rspec to test whether a controller is forcing ssl?
jonathanwallace has quit [Ping timeout: 248 seconds]
estebistec has joined #ruby
<KK4MGV>
all the freelance devs i know use their own servers (because they don't trust github to keep things secure/private/etc.)
<Stevo123>
fair enough
<h0rrorvacui>
bitbucket has free private
<Stevo123>
if you need private and you can't afford $7 a month it probably does not need to be private
<h0rrorvacui>
I can think of a lot of things that are better in a private repo
<Stevo123>
(but thats just my two cents)
<h0rrorvacui>
Some of my dotfiles have sensitive things in them
peregrine81 has joined #ruby
lewix has joined #ruby
<h0rrorvacui>
There are a lot of things you can use a private repo for free for.
<Stevo123>
:) the stuff I was talking about it targeted towards the people that use the Issue Tracker
<KK4MGV>
they already have their own infrastructure, and want to keep everything under their exclusive control, so they see no reason to want to use github
CaptainJet has quit []
dylandog has joined #ruby
<Stevo123>
Commits is just a side feature. But typically would be better to have time committed to a issue rather than individual commits
kenneth has quit [Quit: kenneth]
<KK4MGV>
true, especially if you want to mark incremental working periods on the same thing and aren't a fan of incomplete-commits
mary5030 has quit [Remote host closed the connection]
<KK4MGV>
(for people who squash commits before committing to master)
<KK4MGV>
and don't want the trouble of rewriting public history
<Stevo123>
correct. None of that should ever happen
momomomomo has joined #ruby
<h0rrorvacui>
I'm a bit ignorant of time tracking in the corporate setting but I'd find it a bit invasive and don't see the point.
<h0rrorvacui>
Is it not results that matter?
matchaw has joined #ruby
conner is now known as theghostofwhatyo
<Stevo123>
I come from the same type of enviroment
<Stevo123>
BUT
<KK4MGV>
h0rrorvacui: while i agree, many (imo suboptimal) employers do not
<h0rrorvacui>
I remember management classes that had some similar suggestions
<Stevo123>
you got to look at the different types of companies and structures
<Stevo123>
Cost Recovery
<Stevo123>
Departments wanting to know what is taking up the resources
<Stevo123>
PMs that want to improve performance
<h0rrorvacui>
I see good point.
melfy has joined #ruby
<Stevo123>
Managing multiple teams with a specific budget
theghostofwhatyo is now known as conner
<Stevo123>
Dev shops that sell their time
<h0rrorvacui>
Just can't trust them to not meddle with personal work habits.
subbyyy_ has quit [Ping timeout: 264 seconds]
<Stevo123>
The idea is to not break the habit of working with Git or GitHub but rather augment with a little syntax
holderba1m has joined #ruby
alexherbo2 has quit [Read error: Operation timed out]
mary5030 has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
robustus has quit [Ping timeout: 252 seconds]
komodo has joined #ruby
holderbaum has quit [Ping timeout: 264 seconds]
tspike has quit [Ping timeout: 240 seconds]
<KK4MGV>
Stevo123: have you looked at supporting gitlab too? i have the impression that it's rather common in the corporate setting, and that the type of company who would want to run an internal github-like service would also be the ones tracking hours
shedd has joined #ruby
<KK4MGV>
government contractors come to mind
bradhe has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<KK4MGV>
and it's already built on rails, so (i'd imagine, however i really have no clue) that integration wouldn't be too painful
<Stevo123>
The code can technically support any service
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
robustus has joined #ruby
<Stevo123>
The biggest challenge has always been the Syntax / Standards to Time track
mojjojo has quit [Quit: mojjojo]
<Stevo123>
I think i have come up with a pretty good balance
lukec has joined #ruby
conner has quit [Ping timeout: 272 seconds]
<Stevo123>
so for something like GitLab would not be a problem but there are some man hours involved to get it working as the all of the Fields need to be remapped
nari has joined #ruby
estebistec has quit [Remote host closed the connection]
<Stevo123>
But the principal is base is all there
platzhirsch has quit [Ping timeout: 240 seconds]
<Stevo123>
But the base is all there
kevind has quit [Quit: kevind]
Kar- has quit [Ping timeout: 248 seconds]
<benzrf>
haha i just implemented haskell-style pattern-matching recursive map using my pattern matching thingy
platzhirsch has joined #ruby
<benzrf>
it's completely pointless and barely usable but SHIT YEAH I FEEL LIKE A METAPROGRAMMING GOD
<benzrf>
owo
shedd has quit [Ping timeout: 240 seconds]
<benzrf>
thats probably also because of using Io
dagnachew has joined #ruby
hogeo has quit [Remote host closed the connection]
ambushsabre has joined #ruby
bradhe has joined #ruby
komodo has quit [Ping timeout: 260 seconds]
havenwood has quit [Remote host closed the connection]
michael_lee has joined #ruby
havenwood has joined #ruby
mojjojo has joined #ruby
lyanchih has joined #ruby
platzhirsch has left #ruby [#ruby]
ambushsabre has quit [Client Quit]
drumusician has joined #ruby
sergicles has joined #ruby
diegoviola has joined #ruby
mosscollum has joined #ruby
ambushsabre has joined #ruby
sergicles has quit [Client Quit]
greggawatt has joined #ruby
Stevo123 has quit [Quit: Stevo123]
dkamioka has joined #ruby
snath has quit [Ping timeout: 260 seconds]
dkamioka has quit [Remote host closed the connection]
dkamioka has joined #ruby
drumusician has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 272 seconds]
dkamioka has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
ckinni_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tspike has joined #ruby
jamesaxl_ has quit [Ping timeout: 240 seconds]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yshh has joined #ruby
cj__ has quit [Ping timeout: 248 seconds]
cj__ has joined #ruby
deol has joined #ruby
hogeo has joined #ruby
zumba_addict has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 252 seconds]
p4d4w4n has joined #ruby
dkamioka has joined #ruby
Mars` has quit [Remote host closed the connection]
flubba has quit [Remote host closed the connection]
culturel_ has joined #ruby
flubba has joined #ruby
cornedbeefsand has quit [Ping timeout: 248 seconds]
alexherbo2 has joined #ruby
ambushsabre has quit [Quit: rip]
deol has quit [Remote host closed the connection]
Kar- has joined #ruby
flubba has quit [Ping timeout: 264 seconds]
_maes_ has joined #ruby
mojjojo has quit [Quit: mojjojo]
tropicalmug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Emmanuel_Chanel has joined #ruby
Xeago has joined #ruby
mneorr has quit [Remote host closed the connection]
reach has quit [Remote host closed the connection]
Kar- has quit [Ping timeout: 255 seconds]
mojjojo has joined #ruby
cow_ has joined #ruby
mojjojo has quit [Client Quit]
vlad_starkov has joined #ruby
afhammad has joined #ruby
ephemerian has left #ruby [#ruby]
eka has quit [Quit: Computer has gone to sleep.]
havenwood has joined #ruby
nari has quit [Ping timeout: 246 seconds]
mary5030 has joined #ruby
noc0de has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Read error: Connection reset by peer]
noc0de has joined #ruby
mary5030 has quit [Remote host closed the connection]
bogeyd6 has joined #ruby
mosscollum has quit [Quit: mosscollum]
dawe has quit [Ping timeout: 272 seconds]
kcombs has joined #ruby
tyl has joined #ruby
psyl0n has quit [Remote host closed the connection]
pawprint has joined #ruby
alexherbo2 has quit [Ping timeout: 264 seconds]
mikepack_ has quit [Remote host closed the connection]
mikepack has joined #ruby
marr has quit [Ping timeout: 272 seconds]
<pawprint>
hey, would anyone here happen to be attending the SF rubywhitebelts meetup today?
Voodoofish4301 has quit [Quit: Leaving.]
bogeyd6 has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
mikepack has quit [Ping timeout: 264 seconds]
amsi has quit [Quit: Leaving]
greggawatt has quit [Quit: Leaving.]
Neomex has quit [Quit: Neomex]
cbetta is now known as cbetta_afk
Loaft has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
snath has joined #ruby
Hanmac1 has quit [Quit: Leaving.]
Hanmac has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
<kookari>
and the curious definition of the each block there
goleldar has quit [Remote host closed the connection]
<kookari>
any help would be very much appreciated!!!!!
goleldar has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
cj__ is now known as cj
Rylee has quit [Remote host closed the connection]
Azure has quit [Quit: upgrading textual]
Xeago has quit [Remote host closed the connection]
dkamioka has quit [Remote host closed the connection]
flubba has joined #ruby
goleldar has quit [Ping timeout: 248 seconds]
Azure has joined #ruby
soheil has quit [Remote host closed the connection]
ylluminate has joined #ruby
banghouse has quit [Quit: What if the hokey pokey really is what it's all about?]
mosscollum has quit [Quit: mosscollum]
Barrin6 has joined #ruby
amacgregor has quit [Ping timeout: 272 seconds]
dorei has quit []
hamakn has joined #ruby
sergicles has joined #ruby
<pipecloud>
kookari: That's really old.
primenum has joined #ruby
ylluminate has quit [Quit: Bye!]
sergicles has quit [Client Quit]
habanany has joined #ruby
cj has quit [Ping timeout: 240 seconds]
dylandog has quit [Ping timeout: 246 seconds]
gja has joined #ruby
subbyyy_ has joined #ruby
p4d4w4n has quit [Quit: This computer has gone to sleep]
pierre1 has joined #ruby
pawprint has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
agjacome has quit [Ping timeout: 246 seconds]
CaptainJet has joined #ruby
cj__ has joined #ruby
<benzrf>
hello cj__
<benzrf>
hows it goin
tylersmith has joined #ruby
apeiros_unid has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 241 seconds]
pawprint has left #ruby ["Leaving"]
ckinni has joined #ruby
shevy has joined #ruby
Mars` has joined #ruby
mastr has quit [Quit: Part]
Hanmac has quit [Ping timeout: 260 seconds]
ss_ has quit [Remote host closed the connection]
oznik-o has left #ruby [#ruby]
cj__ has quit [Ping timeout: 240 seconds]
amacgregor has joined #ruby
cj__ has joined #ruby
Hanmac has joined #ruby
Mars`_ has joined #ruby
robbyoconnor has quit [Excess Flood]
Mars` has quit [Read error: No buffer space available]
robbyoconnor has joined #ruby
ss_ has joined #ruby
primenum has quit [Ping timeout: 252 seconds]
havenwood has joined #ruby
jrhe_ has quit [Remote host closed the connection]
greggawatt has quit [Quit: Leaving.]
LexicalScope has quit [Ping timeout: 260 seconds]
agent_white has quit [Quit: bbl]
Dreamer3 has quit [Read error: Connection reset by peer]
prc has quit [Quit: Leaving.]
Mars`_ has quit [Remote host closed the connection]
nobitanobi has quit [Ping timeout: 246 seconds]
Dreamer3 has joined #ruby
rootshift has joined #ruby
ambushsabre has quit [Quit: rip]
flame_ has joined #ruby
ambushsabre has joined #ruby
kookari has quit [Ping timeout: 240 seconds]
synergy has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
CpuID has quit [Quit: This computer has gone to sleep]
jwest has joined #ruby
shedd has joined #ruby
kitak has quit [Remote host closed the connection]
pierre1 has quit [Ping timeout: 272 seconds]
deol has joined #ruby
kitak has joined #ruby
shedd has quit [Read error: No route to host]
shedd has joined #ruby
kitak_ has joined #ruby
afhammad has quit [Remote host closed the connection]
CpuID has joined #ruby
Rylee has joined #ruby
radic has quit [Read error: Connection reset by peer]
deol has quit [Ping timeout: 240 seconds]
kitak has quit [Ping timeout: 245 seconds]
tyl has quit [Ping timeout: 272 seconds]
tyl has joined #ruby
radic has joined #ruby
cow_ has quit [Remote host closed the connection]
Jetchisel has quit [Quit: Unfortunately time is always against us -- *Morpheus*]
vlad_starkov has joined #ruby
bricker`LA has quit [Ping timeout: 240 seconds]
bricker`LA has joined #ruby
dkamioka has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
jwest has quit [Quit: WeeChat 0.4.1]
hogeo has quit [Remote host closed the connection]
ioNull has joined #ruby
pierre1 has joined #ruby
pierre1 has quit [Max SendQ exceeded]
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
pierre1 has joined #ruby
Hanmac1 has joined #ruby
hogeo has joined #ruby
aryaching has joined #ruby
jwest has joined #ruby
Hanmac has quit [Ping timeout: 240 seconds]
tyl has quit [Ping timeout: 248 seconds]
Mars` has joined #ruby
Mars` has quit [Remote host closed the connection]
Mars` has joined #ruby
tyl has joined #ruby
goleldar has joined #ruby
g0bl1n has quit [Ping timeout: 264 seconds]
reach has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
mikepack has joined #ruby
Mars` has quit [Ping timeout: 240 seconds]
primenum has joined #ruby
ninegrid has quit [Ping timeout: 248 seconds]
goleldar has quit [Ping timeout: 272 seconds]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
Loaft has quit [Read error: Connection reset by peer]
Yayo has joined #ruby
carif has quit [Quit: Ex-Chat]
cow_ has joined #ruby
sayan1 has joined #ruby
dagnachew has quit [Quit: Leaving]
reactormonk has quit [Quit: WeeChat 0.4.1]
robbyoconnor has quit [Excess Flood]
Loaft has joined #ruby
robbyoconnor has joined #ruby
Mars` has joined #ruby
afhammad has joined #ruby
subbyyy_ has quit [Ping timeout: 240 seconds]
Mars` has quit [Remote host closed the connection]
carif has joined #ruby
ewnd9 has joined #ruby
Yayo has quit [Ping timeout: 272 seconds]
psyl0n has joined #ruby
it_tard has quit [Ping timeout: 252 seconds]
robbyoconnor has quit [Ping timeout: 252 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
cow_ has quit [Remote host closed the connection]
sec^nd has quit [Remote host closed the connection]
cow_ has joined #ruby
hogeo has quit [Remote host closed the connection]
grep_away is now known as grep_awesome
cj__ has quit [Ping timeout: 272 seconds]
sec^nd has joined #ruby
cj__ has joined #ruby
LexicalScope has joined #ruby
LexicalScope has joined #ruby
LexicalScope has quit [Changing host]
cj__ has quit [Ping timeout: 260 seconds]
cj__ has joined #ruby
ewnd9 has quit [Ping timeout: 272 seconds]
rootshift has quit [Quit: rootshift]
huttan- has joined #ruby
tharindu has joined #ruby
paudam has joined #ruby
nobitanobi has joined #ruby
Vivekananda has quit [Remote host closed the connection]
paudam has quit [Client Quit]
Stevo123 has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
sayan1 has quit [Quit: Leaving]
sayan has joined #ruby
bradhe has joined #ruby
deol has joined #ruby
gquental has quit [Read error: Operation timed out]
mikepack has quit [Remote host closed the connection]
braincrash has quit [Quit: bye bye]
decoponio has quit [Read error: Connection reset by peer]
butblack has quit [Quit: butblack]
decoponio has joined #ruby
butblack has joined #ruby
agent_white has joined #ruby
kung has quit [Read error: Connection reset by peer]
kung has joined #ruby
deol has quit [Ping timeout: 246 seconds]
CaptainJet has quit []
cow_ has quit [Remote host closed the connection]
CpuID has joined #ruby
braincrash has joined #ruby
rien has joined #ruby
cow_ has joined #ruby
afhammad has quit [Ping timeout: 240 seconds]
zz_N00D is now known as CripperZ
<rien>
folks, how do you deal with the untestability of classes with many tiny functions that don't receive parameters (they operate on ivars)?
CripperZ is now known as N00D
vlad_starkov has joined #ruby
<benzrf>
rien: why not instantiate them
<rien>
because they needs way too much stuff to be instantiated that aren't needed by the particular method I'm troubleshooting (this is a troubleshooting issue, I just used testing in the example above to illustrate the problem)
bradhe has quit [Remote host closed the connection]
<benzrf>
rien: this is why state is bad
<benzrf>
:-
<benzrf>
D
wallerdev has quit [Quit: wallerdev]
<rien>
benzrf: you don
<rien>
benzrf: you don't need to convince me, but what literature do I point to for a coworker that can't see that his methods with no parameters are really bad?
vlad_starkov has quit [Read error: Connection reset by peer]
cow_ has quit [Ping timeout: 264 seconds]
bradhe has joined #ruby
<rien>
usual literature is too generic and doesn't address the specific disadvantage that using ivars and no parameters in akin to programming with global vars in smaller environments
wallerdev has joined #ruby
grumbles is now known as Davey
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gquental has joined #ruby
hogeo has joined #ruby
huttan- has quit [Read error: Operation timed out]
bradhe has quit [Ping timeout: 246 seconds]
OdNairy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
peregrine81 has quit []
cj__ has quit [Ping timeout: 272 seconds]
cj__ has joined #ruby
hogeo has quit [Ping timeout: 248 seconds]
gregoriokusowski has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
OdNairy has joined #ruby
flamio has joined #ruby
jacobsmith has joined #ruby
carif has quit [Quit: Ex-Chat]
tyl has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby
cj__ has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cj__ has joined #ruby
tyl has joined #ruby
tropicalmug has joined #ruby
MonsieurApple has quit [Ping timeout: 264 seconds]
primenum has quit [Ping timeout: 240 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
MonsieurApple has joined #ruby
dkamioka has quit [Remote host closed the connection]
cj__ has quit [Ping timeout: 240 seconds]
cj__ has joined #ruby
<bnagy>
it is nothing like that
habanany has quit [Ping timeout: 246 seconds]
<benzrf>
bnagy: lies
habhooB has joined #ruby
<bnagy>
using ivars is idiomatic ruby, if your testing approach makes that awkward then your testing approach is what's broken
<benzrf>
OVERUSING them though
jamesaanderson has quit [Client Quit]
<bnagy>
if it's useful object state then it should be in an ivar
shedd has quit [Remote host closed the connection]
<rien>
I really dislike this "oh this is idiomatic here" line of thinking. I'm not travelling to a country and mingling with the natives. I'm trying to right robust code that is readable and changeable.
<bnagy>
I mean, yes, assigning an ivar that will only be used once as an endrun around having a method with params is stupid
<benzrf>
well, ivars are really just global state but isolated to a section of the program
<rien>
"this is idiomatic" is not different from "this is our culture/dogma/way we do thing so shut up"
<bnagy>
but so are lots of things
jamesaanderson has joined #ruby
<jacobsmith>
anyone here able to offer some ActiveRecord advice? #rails is a bit dead at the moment (:
Barrin6 has quit [Quit: Leaving]
cj__ has quit [Ping timeout: 240 seconds]
<bnagy>
rien: in OO, objects have state. That's what ivars are.
jamesaanderson has quit [Client Quit]
<bnagy>
saying it's "really bad" and "like using globals" is just completely counter OO
<bnagy>
so yes, OO is "how we do things here"
cj__ has joined #ruby
grep_awesome is now known as grep_away
<benzrf>
the thing is that global state can be useful if you can properly control it
<benzrf>
and objects are a really good way to do that
<rien>
so I should accept a paradigm that encourages state just because the language I use at work is more geared towards OO?
<bnagy>
in what way is object state global state?
<benzrf>
ok global is probably the wrong term
<benzrf>
nvm, forget i said anything
<benzrf>
rien: OOP is _all about_ state...
<bnagy>
like I don't go into #haskell and tell them they're insane for hating state, every language has an idiomatic approach
dseitz has joined #ruby
<bnagy>
yes, you can definitely have too much of it, even in a pathologically OO lan like ruby
<bnagy>
tbh you could make a solid argument that if your class _doesn't_ have any ivars then it shouldn't be a class
<benzrf>
well that is my normal way of thinking about things
<benzrf>
i thought that was taken for granted...
Parker0 has joined #ruby
<bnagy>
because you know, make it a module
<benzrf>
a method is only a method if it refers to the object it is Inoperable
<benzrf>
*in
<benzrf>
otherwise there is no point to it being inside an object
estebistec has joined #ruby
<benzrf>
and you are just adding needless complication
<benzrf>
otoh given ruby's terrible namespacing issues, maybe stateless objects are a good way of namespacing
<bnagy>
"terrible"
<rien>
benzrf: I try to make all my classes start like this: class Blah ; class << self ;)
amacgregor has quit [Ping timeout: 240 seconds]
Rylee has quit [Remote host closed the connection]
<benzrf>
ew
<benzrf>
seriously ewww
<benzrf>
somebody should make a tool that profiles the classes instantiated in a ruby program and recommends which classes should be turned into modules
grep_away is now known as grep_awesome
<rien>
I understand your reaction, but let me say that I'm just using ruby at work because people before me chose to.
gregoriokusowski has quit [Quit: gregoriokusowski]
<rien>
I'd never use a language without typechecking for serious development
<benzrf>
oh no I enjoy ruby
<benzrf>
i just dislike using classes as method containers
<benzrf>
when modules are EXPLICITLY FOR THA
<benzrf>
t
<rien>
oh no I enjoy it too, it's so comfortable to code in. I just dislike what OO begets (...eventually, ivars being abused as if they were global variables)
<benzrf>
'comfortable to code in'
<rien>
benzrf: regarding Modules vs class, maybe I should start using modules instead. the point is I just need a namespace and I'm not concerned with other details.
<benzrf>
nice
<benzrf>
thats basically a perfect summation of what ive found nice about ruby
<dangermik>
I forgot the power supply for my mac and I'm using my mother in law's machine
<bnagy>
might just not work ever. Depends how it's set up?
<bnagy>
is there a jruby version? If so, use that :)
<dseitz>
quick, get this man a charger asap :)
<bnagy>
windows / devkit is a pain :<
<benzrf>
dangermik: why not ssh to your personal dedicated server
hogeo has quit [Ping timeout: 264 seconds]
IceDragon has quit [Quit: Space~~~]
<benzrf>
my last laptop's charger totally broke towards the end
<dangermik>
my personal, dedicated what now? I have no such animal in my zoo.
<bnagy>
I don't have any windows vms with MRI anymore, sry
<dseitz>
quick, reboot and bootstrap arch onto the box
<benzrf>
the bit where the cable -> laptop exited the brick had its little conical cover slip off
<dangermik>
my mother in law is going to LOVE arch :)
<havenwood>
dangermik: how about a Vagrant box, i've heard it works with win
<benzrf>
then it became frayed
<benzrf>
and then i had to electrical tape it together to get current flowing
<benzrf>
that was funq
<benzrf>
*fun
<dseitz>
get her a nice tiling WM hehe
hogeo has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood>
dangermik: yeah, Vagrant does support Win64
<dangermik>
vagrant is an interesting option. I really was hoping to just make the damned thing work. maybe I should just give up on that.
kitak has joined #ruby
CpuID has quit [Quit: This computer has gone to sleep]
kitak_ has quit [Read error: Connection reset by peer]
<dangermik>
maybe I should just code to zkruby and duck the issue entirely
<havenwood>
dangermik: Grabbing a nice Fedora, Arch or openSUSE box sounds pretty lovely to me compared to dealing with Win gem support: http://www.vagrantbox.es/
nanashiRei has quit [Ping timeout: 252 seconds]
<havenwood>
dangermik: or like bnagy suggested you could JRuby on Win
<havenwood>
dangermik: i'd say get a linux/bsd box and don't look back :P
deol has joined #ruby
<havenwood>
nice FreeBSD vagrant boxes too
hogeo has quit [Remote host closed the connection]
radic has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
dagen has joined #ruby
mary5030 has quit [Remote host closed the connection]
<bnagy>
far as I know you're going to have to get your unix on to play with zk anyway
<dangermik>
in this fun process I set up zk on this machine.
<dangermik>
it actually will run on Windows, as will zkCli
afhammad has joined #ruby
<bnagy>
anyway, gtg have lunch, family are looking grumpy
arturmoczulski has joined #ruby
<dangermik>
I have servers. I just need the darned client!
<bnagy>
apparently there's some thing tomorrow
<dangermik>
thanks for your help
<dangermik>
hahahah
dagen has quit [Client Quit]
osvico has quit [Ping timeout: 260 seconds]
dagen has joined #ruby
<dangermik>
I'
<dangermik>
I'm going to give jruby about 10 minutes then I'm going to move over to linux
<dangermik>
it installed! a miracle
deol has quit [Ping timeout: 240 seconds]
shedd has joined #ruby
dkamioka_ has joined #ruby
nanashiRei has joined #ruby
monkegjinni has joined #ruby
sec^nd has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
kenneth has joined #ruby
hogeo has quit [Ping timeout: 248 seconds]
CpuID has joined #ruby
hogeo has joined #ruby
ninegrid has joined #ruby
dkamioka_ has quit [Read error: No route to host]
afhammad has quit [Ping timeout: 264 seconds]
ninegrid_ has joined #ruby
sec^nd has joined #ruby
mikepack has joined #ruby
mikepack has quit [Remote host closed the connection]
dkamioka has joined #ruby
vlad_starkov has joined #ruby
mikepack has joined #ruby
pierre1 has quit [Quit: Leaving]
<dangermik>
also, for those who care, you can get it running by installing the java version of the gem:
kcombs has quit [Remote host closed the connection]
dkamioka has quit [Read error: No route to host]
<dangermik>
all my problems are solved - I can run under ruby or jruby, through the "zk" library or without it
MattStratton has joined #ruby
dkamioka has joined #ruby
<dangermik>
good bye and thanks
dangermik has quit []
CpuID has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
ambushsabre has quit [Quit: rip]
vlad_starkov has quit [Ping timeout: 272 seconds]
zipace has quit [Quit: Leaving]
zipace has joined #ruby
shedd has quit [Ping timeout: 260 seconds]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
mikepack has quit []
mary5030 has joined #ruby
dkamioka has quit [Ping timeout: 272 seconds]
mikepack has joined #ruby
cow_ has joined #ruby
<dseitz>
awesome good work
hogeo_ has joined #ruby
dkamioka has joined #ruby
jamesaanderson has joined #ruby
hogeo has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: kenneth]
cow_ has quit [Ping timeout: 260 seconds]
Stevo123 has quit [Quit: Stevo123]
sayan2 has quit [Ping timeout: 246 seconds]
arturmoczulski has quit [Quit: arturmoczulski]
aagdbl has joined #ruby
monkegjinni has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jacobsmith has left #ruby [#ruby]
<pontiki>
hallo rubyists
xar- has joined #ruby
CpuID has joined #ruby
mneorr has joined #ruby
kitak has quit [Ping timeout: 245 seconds]
kitak has joined #ruby
pleal has joined #ruby
hogeo_ has quit [Remote host closed the connection]
<xar->
anyone have experience with octopress and switching from rdiscount to kramdown coderay? i did a rake generate and am getting an error I don't know how to resolve.
<pontiki>
sadly, not me
hogeo has joined #ruby
<pontiki>
i couldn't even say jump in to #octopress as that place is like a wasteland
deol has joined #ruby
<pontiki>
i am in there, tho, if you want to chat about it, xar-
<xar->
yea I'm there, it's barren lol
CpuID has quit [Client Quit]
yacks has quit [Quit: Leaving]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
deol has quit [Remote host closed the connection]
tyl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dkamioka has quit [Remote host closed the connection]
<pontiki>
space is required
mary5030 has joined #ruby
<benzrf>
pontiki: protop: -ryaml
deol has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
pleal has quit [Remote host closed the connection]
<xar->
yea, i've never used ruby, but octopress is alluring
mj12albert has quit [Read error: Connection reset by peer]
mj12albe_ has joined #ruby
<benzrf>
*protip
pleal has joined #ruby
pleal has quit [Read error: Connection reset by peer]
robertjpayne has joined #ruby
zz_jrhorn424 is now known as jrhorn424
pleal has joined #ruby
<robertjpayne>
Is it bad to use objects as keys in a Hash? I need to sort of use a hash as a map table between two sets of objects (websocket to client)
lyanchih__ has joined #ruby
lyanchih has quit [Ping timeout: 240 seconds]
lyanchih__ is now known as lyanchih
frustrum has quit [Ping timeout: 272 seconds]
holderba1m has quit [Quit: leaving]
zipper has joined #ruby
<benzrf>
robertjpayne: you cant use anything BESIDES objects as keys in a hash
<robertjpayne>
benzrf: I know but I wasn't sure if it's bad practice to key stuff by complex objects vs simple strings/symbols
fridim_ has quit [Ping timeout: 272 seconds]
<benzrf>
often, i think
sivsushruth has quit [Ping timeout: 272 seconds]
stryek has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
stetho has joined #ruby
grep_awesome is now known as grep_away
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
BrixSat has quit [Remote host closed the connection]
armyriad has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blarghmatey_ has quit [Ping timeout: 260 seconds]
BrixSat has joined #ruby
<pontiki>
benzrf: i know it
phipes has joined #ruby
<pontiki>
i just wanted to replicate what i was trying to do with eval-in
hamakn has quit [Read error: Connection reset by peer]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<charliesome>
it just wraps code in that template which will show exceptions
<charliesome>
so it's not very resilient to syntax errors
vlad_starkov has joined #ruby
lethjakm1 has quit [Ping timeout: 264 seconds]
nobitanobi has quit [Remote host closed the connection]
psyl0n has quit [Remote host closed the connection]
psyl0n has joined #ruby
psyl0n has quit [Remote host closed the connection]
<benzrf>
btw i put ruby eval into my bot and I used your template
<benzrf>
so thanks for that i guess o:
tyl has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
flame_ has quit [Quit: Computer has gone to sleep.]
laphlaw has joined #ruby
jrhorn424 is now known as zz_jrhorn424
gja has quit [Quit: This computer has gone to sleep]
estebistec has quit [Remote host closed the connection]
dapz has joined #ruby
St_Marx has joined #ruby
echevemaster has quit [Read error: Connection reset by peer]
sensen has quit [Quit: leaving]
lukec has quit [Quit: lukec]
hogeo has joined #ruby
CpuID has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
iliketurtles has joined #ruby
iliketurtles has quit [Excess Flood]
sayan has joined #ruby
sayan is now known as Guest299
iliketurtles has joined #ruby
mengu has joined #ruby
pleal has quit [Remote host closed the connection]
pleal has joined #ruby
Guest299 is now known as sayan1
sayan1 is now known as sayan
crazysim has quit [Max SendQ exceeded]
sayan has quit [Changing host]
sayan has joined #ruby
crazysim has joined #ruby
butblack has left #ruby [#ruby]
hogeo has quit [Ping timeout: 240 seconds]
deol has joined #ruby
laphlaw has quit [Quit: Computer has gone to sleep.]
pleal has quit [Ping timeout: 252 seconds]
benzrf has left #ruby [#ruby]
LexicalScope has quit [Ping timeout: 272 seconds]
noop has joined #ruby
afhammad has joined #ruby
sivsushruth has quit [Read error: Connection reset by peer]
laphlaw has joined #ruby
<bricker`LA>
Is there a better way to get the filename without extension than `File.basename(file, ".*")` ?
dkamioka has joined #ruby
atmosx has joined #ruby
lyanchih has quit [Ping timeout: 272 seconds]
<pontiki>
not that i've seen, bricker`LA. what's wrong with doing it that way?
dseitz has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
aspires has quit []
lyanchih has joined #ruby
phipes has quit [Remote host closed the connection]
<bricker`LA>
pontiki: nothing, just making sure I'm not missing something obvious
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
zipper has quit [Quit: Lost terminal]
dkamioka has quit [Ping timeout: 272 seconds]
mr_snowf1ake has joined #ruby
<mr_snowf1ake>
hey guys, would some of you mind doing an experiment for me?
Deele has joined #ruby
<mr_snowf1ake>
this is a little system i wrote where when you write commit messages in git, it posts to twitter http://git-hook.mrsnowf1ake.com/
phipes has joined #ruby
<mr_snowf1ake>
I'd like to see how it helps publicity for projects that you guys are working on
<pontiki>
c'mon man
<pontiki>
dark red on black?
<pontiki>
i can't even read that
<mr_snowf1ake>
ooh, sorry, i'll fix tht
<mr_snowf1ake>
*that
<mr_snowf1ake>
what color on black do you think?
<mr_snowf1ake>
gray?
amritanshu_RnD has joined #ruby
<pontiki>
don't use dark red at all as a text colour
<mr_snowf1ake>
should be fixed now
<pontiki>
just make it mono font, no colours
<Asher>
the little block of black is like staring into the light and then trying to read something in the shadows
<mr_snowf1ake>
alright, i'll get rid of that
dkamioka has joined #ruby
<mr_snowf1ake>
there we go
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
mpereira has quit [Ping timeout: 272 seconds]
brtdv has joined #ruby
angusiguess has quit [Quit: leaving]
dkamioka has quit [Ping timeout: 246 seconds]
crazysim has quit [Excess Flood]
deol has quit [Remote host closed the connection]
crazysim has joined #ruby
deol has joined #ruby
txdv_ has joined #ruby
txdv has quit [Ping timeout: 246 seconds]
brandonbl has quit [Ping timeout: 264 seconds]
ozgun has joined #ruby
fijimunkii has joined #ruby
maxmanders has quit [Ping timeout: 260 seconds]
Davey has quit [Ping timeout: 264 seconds]
geggam has quit [Remote host closed the connection]
gozali has joined #ruby
deol has quit [Ping timeout: 246 seconds]
culturel_ has joined #ruby
maxmander has joined #ruby
ArchBeOS-work has quit [Read error: Connection reset by peer]
ArchBeOS-work has joined #ruby
brandonblack has joined #ruby
brandonblack is now known as brandonbl
mpereira has joined #ruby
tylersmith has quit [Remote host closed the connection]
nism has joined #ruby
Davey has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codenapper has quit [Quit: codenapper]
kung has quit [Read error: Connection reset by peer]
kung has joined #ruby
primenum has joined #ruby
shedd has joined #ruby
dkamioka has joined #ruby
dseitz has joined #ruby
afhammad has quit [Ping timeout: 260 seconds]
sassamo has quit [Remote host closed the connection]
sassamo has joined #ruby
vlad_starkov has joined #ruby
shedd has quit [Ping timeout: 240 seconds]
OdNairy has quit []
subbyyy_ has joined #ruby
atmosx has quit [Quit: computer went to sleep...]
dkamioka has quit [Ping timeout: 240 seconds]
OdNairy has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
sassamo has quit [Ping timeout: 260 seconds]
kung has quit [Read error: Connection reset by peer]
atmosx has joined #ruby
kung has joined #ruby
rh1n0_ has joined #ruby
ayaz_ is now known as ayaz
ayaz has quit [Changing host]
ayaz has joined #ruby
amacgregor has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Client Quit]
mengu has quit [Remote host closed the connection]
hogeo has joined #ruby
lyanchih has quit [Quit: lyanchih]
ziprar has joined #ruby
lyanchih_ has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
jamesaanderson has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
amacgregor has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
primenum has quit [Ping timeout: 246 seconds]
zipace has quit [Ping timeout: 264 seconds]
clov3r__ has joined #ruby
jamesaanderson has quit [Client Quit]
nism has left #ruby ["Leaving"]
clov3r__ has quit [Client Quit]
rh1n0_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
mneorr has joined #ruby
greggawatt has joined #ruby
t_p has joined #ruby
r0bby_ has joined #ruby
kung has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: leaving]
robbyoconnor has quit [Ping timeout: 240 seconds]
kung has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
stardiviner has quit [Remote host closed the connection]
afhammad has joined #ruby
jamesaanderson has joined #ruby
conner has joined #ruby
jamesaanderson has quit [Client Quit]
subbyyy_ has quit [Ping timeout: 264 seconds]
thesheff17 has quit [Quit: Leaving]
mikepack has quit [Remote host closed the connection]
afhammad has quit [Ping timeout: 272 seconds]
DrCode has quit [Remote host closed the connection]
lyanchih has joined #ruby
browndawg has joined #ruby
robertjpayne has quit [Remote host closed the connection]
zipper has joined #ruby
stryek has quit [Ping timeout: 246 seconds]
DrCode has joined #ruby
lewix has quit [Remote host closed the connection]
DrCode has quit [Remote host closed the connection]
iliketurtles has quit [Quit: zzzzz…..]
CpuID has quit [Ping timeout: 264 seconds]
h0rrorvacui has quit [Ping timeout: 272 seconds]
txdv_ has quit [Ping timeout: 272 seconds]
vlad_starkov has joined #ruby
deol has joined #ruby
tyl has quit [Ping timeout: 264 seconds]
browndawg1 has joined #ruby
tyl has joined #ruby
cj3kim_ has joined #ruby
DrCode has joined #ruby
browndawg has quit [Ping timeout: 272 seconds]
synergy has quit [Remote host closed the connection]
Kneferilis has joined #ruby
deol has quit [Ping timeout: 260 seconds]
conner has quit [Ping timeout: 246 seconds]
dawe has joined #ruby
dawe is now known as Guest89504
Guest89504 has quit [Client Quit]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
dkamioka has joined #ruby
shedd has joined #ruby
hogeo_ has joined #ruby
armyriad has quit [Quit: Leaving]
hogeo has quit [Read error: Connection reset by peer]
atmosx has quit [Quit: Lost in trance]
apeiros_unid has joined #ruby
afhammad has joined #ruby
skaflem has joined #ruby
shedd has quit [Ping timeout: 252 seconds]
dkamioka has quit [Ping timeout: 272 seconds]
vlad_starkov has quit [Remote host closed the connection]
browndawg1 has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
zigomir has joined #ruby
rdark has joined #ruby
havenwood has quit [Ping timeout: 240 seconds]
wjimenez5271 has quit [Remote host closed the connection]
<bricker`LA>
expected #<File:/var/folders/cm/tjtdp16j2ml_46knxw8n6vw00000gn/T/open-uri20131224-27865-13jot3o> to be a kind of File
sayan has quit [Ping timeout: 240 seconds]
<bricker`LA>
:(
wjimenez5271 has joined #ruby
<bricker`LA>
:c
<bricker`LA>
:C
samsonasu has quit [Quit: samsonasu]
<Hanmac1>
bricker`LA: show me a gist of your code or it did not happen ;P
<bricker`LA>
Hanmac1: It's showing as `#<File: ...` but `file.class` is Tempfile
hogeo_ has quit [Remote host closed the connection]
<bricker`LA>
I thought that would pass, now I see I was wrong.
hogeo has joined #ruby
<bricker`LA>
I should be checking that it's an IO anyways, because it's using open-uri which I think returns different objects depending on the size of the response (StringIO or Tempfile)
robertjpayne has joined #ruby
pierre1 has quit [Ping timeout: 240 seconds]
<robertjpayne>
Is there something similar to chomp but would apply to beginning of string?
<Hanmac1>
there was a ticket about that on bugs.ruby-lang.org but the site is currently broken
cj3kim_ has quit [Remote host closed the connection]
<bricker`LA>
Hanmac1: yeah I think I read it there last time I was working with this
<bricker`LA>
robertjpayne: lstrip if you just need to remove whitespace, otherwise you need String#sub
cj3kim has joined #ruby
<Hanmac1>
just test if the object response to #read / #write or other classes you need, if yes than its File/IO-like enough
Hanmac1 is now known as Hanmac
hogeo has quit [Ping timeout: 240 seconds]
sayan has joined #ruby
io_syl has quit []
greggawatt has quit [Quit: Leaving.]
ioNull has quit [Quit: Computer has gone to sleep.]
<bricker`LA>
apparently Tempfile does not inherit from IO
<bricker`LA>
thanks Hanmac
hogeo has joined #ruby
tylersmith has joined #ruby
<Hanmac>
StringIO doesnt too
r0bby_ has quit [Ping timeout: 260 seconds]
<bricker`LA>
Now I'm just sad
<bricker`LA>
what have you done to me Hanmac
<bricker`LA>
Hanmac: you've ruined my christmas eve
<emocakes>
happy xmas bricker`LA
hogeo has quit [Remote host closed the connection]
charliesome has joined #ruby
<bricker`LA>
emocakes: thanks you too
kung has quit [Read error: Connection reset by peer]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vlad_starkov has joined #ruby
mercwithamouth has joined #ruby
<Hanmac>
mr_snowf1ake: yes it is! ;P there was also a game before for normal DS "Adventure Time: Hey Ice King! Why'd You Steal Our Garbage?!"
kung has quit [Read error: Connection reset by peer]
ioNull has joined #ruby
kung has joined #ruby
<mr_snowf1ake>
Hanmac: looks like I'm saving up :P
deol has joined #ruby
gozali has quit [Remote host closed the connection]
kung has quit [Read error: Connection reset by peer]
falood has joined #ruby
kung has joined #ruby
kung has quit [Read error: Connection reset by peer]
cj3kim has quit [Remote host closed the connection]
Alina-malina has quit [Ping timeout: 246 seconds]
<Hanmac>
mr_snowf1ake: i played the game before its a nice action rpg ... just image how AWESOME it is! you can fight against Marceline in her Dæmon form! ;D
deol has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
larssmit has joined #ruby
mosscollum has joined #ruby
<mr_snowf1ake>
Hanmac: I don't think I can handle it... It just sounds way too mathematical!
spider-mario has joined #ruby
<Hanmac>
Pah! Rhombus!
kitak has quit [Ping timeout: 245 seconds]
laphlaw has quit [Ping timeout: 248 seconds]
hogeo has quit [Remote host closed the connection]
mosscollum has quit [Ping timeout: 248 seconds]
hogeo has joined #ruby
klaut has joined #ruby
dkamioka has joined #ruby
lethjakm1 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
mikepack has joined #ruby
Alina-malina has joined #ruby
hogeo has quit [Ping timeout: 252 seconds]
hogeo_ has joined #ruby
olivier_bK has joined #ruby
cj3kim has joined #ruby
Mars` has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
noop1 has joined #ruby
dkamioka has quit [Ping timeout: 264 seconds]
blaxter_ has joined #ruby
noop has quit [Remote host closed the connection]
noop1 has quit [Remote host closed the connection]
drago777 has joined #ruby
ckinni has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zeropx has joined #ruby
kitak has joined #ruby
ckinni has joined #ruby
hogeo_ has quit [Remote host closed the connection]
ckinni has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 240 seconds]
hogeo has joined #ruby
ckinni has joined #ruby
Sawbones has quit [Remote host closed the connection]
relix has joined #ruby
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
relix has quit [Max SendQ exceeded]
mikepack has quit [Ping timeout: 246 seconds]
deol has joined #ruby
relix has joined #ruby
noop has joined #ruby
Jelco has quit [Read error: Operation timed out]
Jelco has joined #ruby
<shevy>
Hanmac you find so many strange pictures
<shevy>
and I just woke up
hogeo has quit [Ping timeout: 260 seconds]
<shevy>
Hanmac but in regards to dungeons, I always wondered why there were dragons in them... and also how they got into it through tiny doors...
Sawbones has joined #ruby
ckinni_ has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
ckinni has quit [Ping timeout: 272 seconds]
deol has quit [Ping timeout: 248 seconds]
<Hanmac>
shevy i think they where put inside the dungeons as eggs
<shevy>
ah
<shevy>
evil
<shevy>
now I understand why they are so grumpy, all they wanna do is get out of there but they can't :(
decoponio has quit [Read error: Connection reset by peer]
decoponio has joined #ruby
r0bby_ has joined #ruby
fedesilva has joined #ruby
culturel_ has joined #ruby
phipes has quit [Remote host closed the connection]
tyl has quit [Ping timeout: 272 seconds]
afhammad has joined #ruby
tyl has joined #ruby
Mars` has quit [Remote host closed the connection]
workmad3 has joined #ruby
lethjakm1 has quit [Ping timeout: 272 seconds]
cj3kim has quit [Remote host closed the connection]
phipes has joined #ruby
tylersmith has joined #ruby
shedd has joined #ruby
claymore has joined #ruby
ckinni_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
afhammad has quit [Ping timeout: 272 seconds]
dapz has quit [Ping timeout: 252 seconds]
tylersmith has quit [Ping timeout: 240 seconds]
shedd has quit [Ping timeout: 252 seconds]
subbyyy_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nanoyak has quit [Quit: Computer has gone to sleep.]
N00D is now known as zz_N00D
mr_snowf1ake has quit [Ping timeout: 272 seconds]
hogeo has joined #ruby
phipes has quit [Remote host closed the connection]
mjburgess has joined #ruby
fedesilva has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TomRone has joined #ruby
kevinfagan has joined #ruby
joaoh82 has quit [Ping timeout: 272 seconds]
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
Neomex has joined #ruby
jamesaanderson has joined #ruby
jamesaanderson has quit [Max SendQ exceeded]
nadley has joined #ruby
Neomex has quit [Client Quit]
error404 has quit [Ping timeout: 252 seconds]
jamesaanderson has joined #ruby
abstractj has quit [Ping timeout: 248 seconds]
komodo has quit [Ping timeout: 272 seconds]
error404 has joined #ruby
joaoh82 has joined #ruby
abstractj has joined #ruby
IcyDragon has joined #ruby
Sawbones has joined #ruby
IceDragon has quit [Ping timeout: 260 seconds]
vlad_starkov has quit [Remote host closed the connection]
brtdv has quit []
vlad_starkov has joined #ruby
nomenkun has quit [Ping timeout: 252 seconds]
Elhu has quit [Quit: Computer has gone to sleep.]
banister has joined #ruby
RoryHughes has joined #ruby
kevinfagan has quit [Ping timeout: 272 seconds]
vikhyat has joined #ruby
dkamioka has quit [Ping timeout: 252 seconds]
vlad_starkov has quit [Ping timeout: 252 seconds]
dkamioka has joined #ruby
vikhyat_ has quit [Ping timeout: 252 seconds]
fire has quit [Quit: WeeChat 0.4.1]
rippa has joined #ruby
Kneferilis has quit [Ping timeout: 272 seconds]
jamblack has quit [Quit: jamblack]
KevinSjoberg has quit [Ping timeout: 252 seconds]
RoryHughes has quit [Client Quit]
Jetchisel has joined #ruby
Elhu has joined #ruby
mercwithamouth has joined #ruby
kevinfagan has joined #ruby
KevinSjoberg has joined #ruby
Vivekananda has joined #ruby
IcyDragon is now known as IceDragon
aagdbl has joined #ruby
dkamioka has quit [Remote host closed the connection]
mercwithamouth has quit [Ping timeout: 248 seconds]
soulcake has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
soulcake has joined #ruby
falten has quit [Ping timeout: 252 seconds]
robertjpayne has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
hogeo has joined #ruby
cow_ has quit [Remote host closed the connection]
rippa has quit [Ping timeout: 248 seconds]
komodo has joined #ruby
falten has joined #ruby
deol has joined #ruby
rippa has joined #ruby
benzrf has joined #ruby
<benzrf>
sup yo
jamblack has joined #ruby
OdNairy has joined #ruby
estebistec has joined #ruby
hogeo has quit [Ping timeout: 252 seconds]
KevinSjoberg has quit [Ping timeout: 248 seconds]
tharindu has joined #ruby
<shevy>
hey benzrf
<shevy>
you keep on coming back
mehlah has quit [Read error: Connection reset by peer]
kure has joined #ruby
<shevy>
like a boomerang
error404 has quit [Remote host closed the connection]
<benzrf>
boomerang would be a good name for a library of some kind
error404 has joined #ruby
ArchBeOS-work has quit [Read error: Connection reset by peer]
deol has quit [Ping timeout: 264 seconds]
<kure>
Hey guys, anybody here uses Wordpress? I've recently made this gem that makes posting on Wordpress{.org,.com} blogs easy - quickpress. Check it out! http://quickpress.alexdantas.net/
ArchBeOS-work has joined #ruby
ArchBeOS-work has joined #ruby
ArchBeOS-work has quit [Changing host]
Sawbones has joined #ruby
ArchBeOS-work has quit [Read error: Connection reset by peer]
<shevy>
wtf
<benzrf>
i should make a hem
<benzrf>
*gem
<shevy>
must be an advertizer
<kure>
What?
<shevy>
oh nevermind
<shevy>
I skipped the word "gem"
mehlah has joined #ruby
<shevy>
kure it got to me because wordpress is written in php
<kure>
It also seems suspicious enough
<kure>
shevy: It uses Wordpress' XML-RPC api, posts from outside
<shevy>
well there is a link after all
<shevy>
eeeeks
<shevy>
XML
<shevy>
:(
grep_awesome is now known as grep_away
<kure>
It's one of the worst documented APIs ever, official docss are so confusing
<shevy>
benzrf see, kure wrote a gem already... where is your first gem man
KevinSjoberg has joined #ruby
mercwithamouth has joined #ruby
<shevy>
yeah kure, the official ruby docs stink
rippa has quit [Ping timeout: 248 seconds]
<kure>
thank god for ruby though, couldnt be nicer
<kure>
shevy: nope, not rubys'! Im talking about wordpress' XML-RPC
<benzrf>
it def could
<banister>
benzrf for the record ruby doesnt really have constants either
<benzrf>
ruby has serious issues maana
<benzrf>
*maaan
rippa has joined #ruby
<benzrf>
banister: ruby doesnt allow dynamic reassignment of constants which imo is the only difference between a var and a constant
<benzrf>
any non-dynamic reassignment can be easily and automatically refactored into multiple vars
<benzrf>
so if that's all that's available, constants are basically constants
<shevy>
benzrf yeah that one is weird
<banister>
benzrf yes ruby does, it just requires different syntax. There's nothing really const-like about constants, IMO it's a misnomer. What's interesting about ruby 'constants' are their look-up rules, that's it
<benzrf>
11:37 < benzrf> if it can only be done thru reflection then it's not a basic feature
<Hanmac>
benzrf what about const_missing ? ;P
rippa has quit [Ping timeout: 248 seconds]
<shevy>
you said I can not dynamically change a constant
<benzrf>
11:37 < benzrf> if it can only be done thru reflection then it's not a basic feature
<benzrf>
11:37 < benzrf> i.e. private methods can still be called from outside
<benzrf>
11:37 < benzrf> doesnt make them not private
<benzrf>
11:37 < benzrf> because the only way is through reflection
<benzrf>
11:38 < benzrf> constants behave like constants, just because they can be reflectively reassigned does not make them something else
<banister>
benzrf you can reassign them outside of method definitions, and the distinction between "reflection API' and ruby core features is slightly artificial in a ruby as dynamic as ruby
<banister>
in a language as dynamic as ruby*
<benzrf>
hmmm
<benzrf>
that's true...
<benzrf>
*the latter point
noc0de has quit [Ping timeout: 272 seconds]
drago777 has joined #ruby
nfk has joined #ruby
nfk has joined #ruby
nfk has quit [Changing host]
tharindu_ has joined #ruby
baroquebobcat has joined #ruby
carraroj has joined #ruby
embryoconcepts has joined #ruby
tharindu has quit [Read error: Connection reset by peer]
aagdbl has quit [Quit: Leaving.]
estebistec has quit [Remote host closed the connection]
karupanerura is now known as zz_karupanerura
bklane has quit [Remote host closed the connection]
gquental has joined #ruby
bklane_ has joined #ruby
S0da has quit [Remote host closed the connection]
RoryHughes has quit []
Sawbones has quit [Remote host closed the connection]
<shevy>
hmm
<shevy>
test
<shevy>
am I still connected?
<benzrf>
no
carraroj has quit [Ping timeout: 272 seconds]
mehlah_ has joined #ruby
mehlah_ has quit [Read error: No route to host]
mehlah- has joined #ruby
ace_striker has joined #ruby
fijimunkii has quit [Ping timeout: 272 seconds]
g0bl1n has joined #ruby
netQT_ has quit [Remote host closed the connection]
mehlah has quit [Ping timeout: 252 seconds]
lxsameer has joined #ruby
mmitchell has joined #ruby
mehlah- is now known as mehlah
vlad_starkov has joined #ruby
freerobby has quit [Quit: Leaving.]
blaxter has quit [Quit: foo]
jonathanwallace has joined #ruby
<lxsameer>
how can i execute a shell command interactively ?
wjimenez5271 has quit [Remote host closed the connection]
Voodoofish430 has joined #ruby
wjimenez5271 has joined #ruby
Guest50800 is now known as dreamchaser
dreamchaser has quit [Changing host]
dreamchaser has joined #ruby
bradhe has quit [Remote host closed the connection]
<mr_snowf1ake>
lxsameer, what are you trying to run interactively?
RoryHughes has joined #ruby
<mr_snowf1ake>
oooh you mean from within ruby?
<lxsameer>
mr_snowf1ake: yeah
popl has joined #ruby
popl has quit [Changing host]
popl has joined #ruby
<mr_snowf1ake>
lxsameer, you can use popen3
spider-mario has quit [Remote host closed the connection]
tharindu_ is now known as tharindu_|away
<lxsameer>
mr_snowf1ake: ok tanks
<lxsameer>
*thanks
MattStratton has joined #ruby
ambushsabre has joined #ruby
Sawbones has joined #ruby
estebistec has joined #ruby
<mr_snowf1ake>
lxsameer, use it like this: Open3.popen3(cmd, opts) { |stdin, stdout, stderr, wait_thr| stdin.puts 'stuff to send to command'; exit_status = wait_thr.value; }
clamstar_ has joined #ruby
vikhyat_ has joined #ruby
phipes has joined #ruby
<lxsameer>
mr_snowf1ake: thanks
gja has joined #ruby
vikhyat has quit [Ping timeout: 260 seconds]
cbetta is now known as cbetta_afk
jrhorn424 is now known as zz_jrhorn424
drago777 has quit [Ping timeout: 240 seconds]
Megtastique has quit []
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat_ has quit [Ping timeout: 272 seconds]
drago777 has joined #ruby
freezey has joined #ruby
vikhyat_ has joined #ruby
Megtastique has joined #ruby
g0bl1n has quit [Ping timeout: 246 seconds]
vikhyat_ has quit [Read error: Connection reset by peer]
cbetta_afk is now known as cbetta
vikhyat_ has joined #ruby
yshh_ has quit [Remote host closed the connection]
tharindu_|away is now known as tharindu_
gja has quit [Quit: This computer has gone to sleep]
vikhyat_ has quit [Read error: Connection reset by peer]
vikhyat has joined #ruby
phipes has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
TomRone has quit [Ping timeout: 240 seconds]
amedeiros has quit []
gja has joined #ruby
aerook has quit [Quit: Page closed]
amedeiros has joined #ruby
browndawg has quit [Quit: Leaving.]
keen_ has quit [Remote host closed the connection]
vikhyat_ has joined #ruby
TomRone has joined #ruby
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat__ has joined #ruby
gja has quit [Client Quit]
vikhyat has quit [Ping timeout: 264 seconds]
conner has joined #ruby
gja has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
deol has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
CaptainJet has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
spider-mario has joined #ruby
jibi has quit [Quit: bb.]
spider-mario has quit [Remote host closed the connection]
vikhyat has joined #ruby
vikhyat_ has quit [Ping timeout: 272 seconds]
jibi has joined #ruby
vlad_starkov has joined #ruby
vikhyat__ has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
freerobby has joined #ruby
Steven_ has quit [Remote host closed the connection]
deol has quit [Ping timeout: 272 seconds]
LiquidInsect has joined #ruby
vikhyat_ has joined #ruby
Hanmac1 has joined #ruby
radic has joined #ruby
vikhyat has quit [Ping timeout: 272 seconds]
Hanmac has quit [Ping timeout: 252 seconds]
zz_jrhorn424 is now known as jrhorn424
Elhu has joined #ruby
flubba has joined #ruby
cow_ has joined #ruby
jamblack has quit [Quit: jamblack]
jonathanwallace has quit [Ping timeout: 252 seconds]
vikhyat_ has quit [Ping timeout: 240 seconds]
conner has quit [Ping timeout: 264 seconds]
vikhyat has joined #ruby
jnoob22 has joined #ruby
jnoob22_ has quit [Ping timeout: 272 seconds]
cow_ has quit [Ping timeout: 240 seconds]
mando has joined #ruby
vikhyat_ has joined #ruby
vikhyat has quit [Ping timeout: 240 seconds]
hopkin has joined #ruby
mneorr has joined #ruby
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vikhyat has joined #ruby
_maes_ has quit [Read error: Connection reset by peer]
vikhyat_ has quit [Ping timeout: 272 seconds]
jrhorn424 is now known as zz_jrhorn424
s2013 has joined #ruby
<s2013>
how can i get the first date in computer time or whatever
<s2013>
like Date.beginning_of_time or something
<s2013>
i think it was in 1970 or something
vlad_starkov has quit [Read error: Connection reset by peer]
<benzrf>
why are you using ':foo => bar' instead of 'foo: bar'
arclitgold has joined #ruby
bricker has joined #ruby
<arclitgold>
happy holidays all!
cbetta is now known as cbetta_afk
<atmosx>
hm I need to build software for medical offices
<andyd>
benzrf: I don't know, but when i try that way instead, I get the same Syntax Error
<atmosx>
and pharmacies
OdNairy has quit [Ping timeout: 272 seconds]
OdNairy has joined #ruby
<benzrf>
huh
<benzrf>
atmosx: so?
zz_jrhorn424 is now known as jrhorn424
<atmosx>
benzrf: too much room for innovation there
<benzrf>
hm
jamesaxl has joined #ruby
<atmosx>
I need to build something for me the to-be-mine pharmacy and then package it and sell it.
my_nick has joined #ruby
St_Marx has quit [Ping timeout: 240 seconds]
<andyd>
i also get a NoMethodError whene trying <p class="small"><%= job["note_text"].truncate(10) %></p>
vlad_starkov has joined #ruby
<atmosx>
andyd: 'job' doesn't work apparently
arclitgold has left #ruby [#ruby]
<atmosx>
or it's not the type of method you expect
tylersmi_ has joined #ruby
<atmosx>
err s/method/object
<andyd>
it's a string
tylersmith has quit [Ping timeout: 240 seconds]
<andyd>
Which is why i am so confused. :-)
S0da has joined #ruby
kep has joined #ruby
my_nick has quit [Client Quit]
ace_striker has quit [Quit: Page closed]
<atmosx>
you sure?
aspires has joined #ruby
clamstar_ has quit [Quit: Computer has gone to sleep.]
mehlah- has quit [Read error: Connection reset by peer]
komodo has joined #ruby
Sawbones has quit [Remote host closed the connection]
asobrasil has left #ruby [#ruby]
Elhu has quit [Quit: Computer has gone to sleep.]
drago777 has quit [Ping timeout: 240 seconds]
sivsushruth has quit [Ping timeout: 272 seconds]
komodo has quit [Ping timeout: 260 seconds]
Elhu has joined #ruby
komodo has joined #ruby
drago777 has joined #ruby
rejuvyesh has joined #ruby
rejuvyesh has quit [Quit: leaving]
hackeron_ has quit [Read error: No route to host]
primenum has joined #ruby
Sawbones has joined #ruby
deol has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
deol has joined #ruby
tharindu_ has quit [Ping timeout: 260 seconds]
wjimenez5271 has quit [Ping timeout: 272 seconds]
cbetta_afk is now known as cbetta
John445 has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
m_3 has quit [Ping timeout: 264 seconds]
deol has quit [Ping timeout: 240 seconds]
hackeron has joined #ruby
dapz has joined #ruby
cbetta is now known as cbetta_afk
deol has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zcreative has joined #ruby
eldariof has joined #ruby
lethjakm1 has joined #ruby
eldariof has quit [Client Quit]
ylluminate has joined #ruby
RoryHughes has quit []
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
lethjakm1 has quit [Client Quit]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
St_Marx has joined #ruby
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
deol has quit [Remote host closed the connection]
Sawbones has joined #ruby
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
hogeo has joined #ruby
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
John445 has quit [Quit: John445]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
Jrz has quit [Max SendQ exceeded]
Jrz has joined #ruby
conner has quit [Ping timeout: 248 seconds]
samsonasu has quit [Quit: samsonasu]
hogeo has quit [Ping timeout: 240 seconds]
iliketur_ has joined #ruby
iliketur_ has quit [Max SendQ exceeded]
iliketur_ has joined #ruby
kevind has quit [Quit: kevind]
havenwood has quit []
eka has quit [Quit: Computer has gone to sleep.]
eliasp_ is now known as eliasp
larissa has quit [Quit: Leaving]
<benzrf>
hey, in pry what's the key to redo the last line
phipes has joined #ruby
<shevy>
atmosx cool. in ruby? or do you have to use something like java or C
hypnosb has joined #ruby
<atmosx>
shevy: Ruby and probably some C.
<shevy>
nice
phipes has quit [Read error: Connection reset by peer]
<shevy>
make sure to tell how things went in 6 months :-)
<atmosx>
shevy: mixing arduino + web services
<atmosx>
sure heh
<atmosx>
:-)
<shevy>
aruino? isn't that a mini computer?
eka has joined #ruby
<shevy>
+d
<atmosx>
yeap
<atmosx>
I need to create a series of devices that read data, like height, blood pressure etc. You can find sensors these days
<atmosx>
hight, weight (digitals) .. etc
Guest44173 has quit [Remote host closed the connection]
<atmosx>
Now I'm testing OpenEMR. I could write modules for this system, which is OS and has already a full (almost bloated) medical record system... but I don't like the interface and that fact htat uses PHP
aspires has quit []
BraddPitt has quit [Ping timeout: 240 seconds]
BraddBitt has joined #ruby
thumpba has joined #ruby
relix has joined #ruby
aspires has joined #ruby
Beoran_ has joined #ruby
<shevy>
hehehehehe
<shevy>
so you finally made it into PHP!
<shevy>
:)
<atmosx>
No I wont
<shevy>
benzrf, go help atmosx and become a php master
<atmosx>
I can write something more specific myself, given enough time
hackeron has quit [Remote host closed the connection]
snath has quit [Ping timeout: 240 seconds]
Beoran__ has quit [Ping timeout: 248 seconds]
s2013_ has joined #ruby
<benzrf>
ew
<benzrf>
php is freakin gross
<benzrf>
its a giant mess
conner has joined #ruby
hackeron has joined #ruby
<shevy>
a guy from #emn complained that they now show white pages rather than errors
s2013 has quit [Ping timeout: 246 seconds]
<shevy>
in php
Mars` has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
<shevy>
apparently they changed $this->type() to $this->getData() or $this->getDataType()
<shevy>
so if old code uses ->type() still, a white page will be displayed (lol)
Aloysius1 has quit [Remote host closed the connection]
deol has quit [Ping timeout: 246 seconds]
<benzrf>
in ruby do colons do anything besides symbols & hash literals
<mjc_>
double colon for namespaces
<benzrf>
right
TomRone has quit [Ping timeout: 240 seconds]
<Hanmac>
18>> "abc".id
<eval-in>
Hanmac => /tmp/execpad-3fc8f85dc75c/source-3fc8f85dc75c:2: warning: Object#id will be deprecated; use Object#object_id ... (https://eval.in/82629)
tylersmi_ has quit [Ping timeout: 240 seconds]
<mjc_>
benzrf: also ternary operator
<mjc_>
foo == bar ? "foo does equal bar" : "foo does not equal bar"
mary5030 has quit [Remote host closed the connection]
ambushsabre has joined #ruby
<benzrf>
oh right
ss__ has joined #ruby
tylersmith has joined #ruby
mary5030 has joined #ruby
<shevy>
does python not make use of colons?
<benzrf>
it uses them for slices
<benzrf>
and dict literals
TomRone has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
aspires has quit []
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snath has joined #ruby
s2013_ has quit [Ping timeout: 264 seconds]
brunops has joined #ruby
drago777 has joined #ruby
aspires has joined #ruby
wildroman2 has quit [Remote host closed the connection]
m_3 has joined #ruby
psyprus has quit [Ping timeout: 240 seconds]
wildroman2 has joined #ruby
relix has joined #ruby
wildroman2 has quit [Remote host closed the connection]
relix has quit [Max SendQ exceeded]
mando has quit [Remote host closed the connection]
psyprus has joined #ruby
Elhu has quit [Quit: Computer has gone to sleep.]
wildroman2 has joined #ruby
mando has joined #ruby
Megtastique has quit []
<mr_snowf1ake>
shevy, this might have already been mentioned, but colons are used in function declarations in python, ie. def foo:
<shevy>
ah yes
relix has joined #ruby
relix has quit [Max SendQ exceeded]
rawGem has joined #ruby
Sawbones has joined #ruby
<rawGem>
anyone know by my "b" key would not work in irb?
<rawGem>
...or rails console
<benzrf>
??
zumba_addict has joined #ruby
<benzrf>
why are you using irb?
relix has joined #ruby
<rawGem>
why not?
<benzrf>
pry4lyfe
mando has quit [Ping timeout: 240 seconds]
bradhe has quit [Remote host closed the connection]
<rawGem>
compatible with rails 4 ruby 2?
ambushsabre has quit [Quit: rip]
<rawGem>
nvm
jrhorn424 is now known as zz_jrhorn424
banister has joined #ruby
Yan__ has quit [Ping timeout: 272 seconds]
brunops has left #ruby [#ruby]
wildroman2 has quit [Remote host closed the connection]
troyready has joined #ruby
andyd has quit [Ping timeout: 240 seconds]
andyd has joined #ruby
wildroman2 has joined #ruby
wildroman2 has quit [Remote host closed the connection]
wildroman2 has joined #ruby
<shevy>
rawGem the b key works in my irb
<shevy>
perhaps you have a dirty keyboard!
<shevy>
get rid of the food leftovers
<Hanmac>
rawGem: #rubyonrails
ioNull has quit [Quit: Computer has gone to sleep.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ioNull has joined #ruby
<shevy>
or #rubyhippies
<rawGem>
I get the error noise, and works fine elsewhere
hogeo has joined #ruby
<rawGem>
Hanmac: I'll try that channel, but sometimes they like to flame. wanted to try here first.
andyd has quit [Ping timeout: 240 seconds]
andyd has joined #ruby
relix has joined #ruby
ioNull has quit [Ping timeout: 246 seconds]
aspires has quit []
primenum has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby
hogeo has quit [Ping timeout: 248 seconds]
Mars` has quit [Ping timeout: 264 seconds]
deol has joined #ruby
blarghmatey__ has joined #ruby
kostine has joined #ruby
banister has quit [Read error: Connection timed out]
wildroman2 has quit [Remote host closed the connection]
blarghmatey__ has quit [Client Quit]
bbloom has quit [Ping timeout: 272 seconds]
embryoconcepts has quit [Quit: embryoconcepts]
onewheelskyward_ has quit [Excess Flood]
onewheelskyward has joined #ruby
Kricir has joined #ruby
Faris has quit [Ping timeout: 248 seconds]
cj3kim_ has quit [Remote host closed the connection]
dkamioka has joined #ruby
drago777 has quit [Ping timeout: 240 seconds]
pierre1 has quit [Remote host closed the connection]
drago777 has joined #ruby
shedd has quit [Remote host closed the connection]
ambushsabre has joined #ruby
deol has quit [Remote host closed the connection]
deol has joined #ruby
mengu has joined #ruby
deol has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
Voodoofish430 has quit [Quit: Leaving.]
rawGem has quit [Quit: Lost terminal]
postmodern has joined #ruby
kostine has quit [Remote host closed the connection]
mengu has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
Steven_ has joined #ruby
kitak_ has quit [Remote host closed the connection]
pleal has quit [Remote host closed the connection]
decoponio has joined #ruby
<alexherbo2>
i would do the same with scan
kostine has joined #ruby
<devdvd>
Hi all, having a problem that seems kinda strange to me. Using Ruby 2.0.0p195, here is the gist https://gist.github.com/devblueray/8118180 The problem is when I call the script with -s domain.com it works just fine but when i call it with -s www.domain.com it errors out on line 32 saying undefined method `-' for nil:NilClass
ckinni has joined #ruby
iliketur_ has quit [Quit: zzzzz…..]
joaoh82 has joined #ruby
Baluse has quit [Ping timeout: 240 seconds]
Baluse has joined #ruby
<devdvd>
actually, i think i figured it out
beardedninja has quit [Ping timeout: 246 seconds]
flubba has joined #ruby
devdvd has quit [Quit: Page closed]
Dysruption has joined #ruby
joaoh82 has quit [Ping timeout: 252 seconds]
Jetchisel has joined #ruby
freerobby has quit [Quit: Leaving.]
tommylom1ykins is now known as tommylommykins
tylersmith has quit [Remote host closed the connection]
jamesaanderson has joined #ruby
shedd has joined #ruby
<shevy>
benzrf I am bored
Vivekananda has quit [Ping timeout: 252 seconds]
Megtastique has joined #ruby
workmad3 has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
shedd has quit [Ping timeout: 248 seconds]
Mars` has joined #ruby
beardedninja has joined #ruby
hogeo has joined #ruby
<benzrf>
shevy: arent we all
<shevy>
:(
<shevy>
I dunno... I already wrote some ruby code, but now coding disgusts me
<benzrf>
shevy: did u see my pattern matching thing
<benzrf>
'coding disgusts me'?
<shevy>
yeah
<shevy>
code is awful
<benzrf>
o:
<shevy>
I can't see it anymore
<benzrf>
huh
<benzrf>
learn haskell
<benzrf>
its nifty
<shevy>
my math is very limited
<benzrf>
you dont need math for haskell
Deele has quit [Ping timeout: 260 seconds]
<benzrf>
just dont expect to write actual programs in it until you know it pretty well and you should be ok
<benzrf>
for example if you want to write a program that does anything when run instead of just a library of functions, youll either have to use features that you dont understand at all or else you cant do itamaryu
<benzrf>
*when you are a beginner
<benzrf>
*do it
<shevy>
so in other words
<shevy>
you must be clever to become productive in haskell
<shevy>
now you see why php is a success
tomjoro has joined #ruby
<shevy>
if php would not be so ugly and disgusting... :(
conner has quit [Ping timeout: 264 seconds]
<benzrf>
what i was saying was actually
<benzrf>
you have to know haskell fairly well to do I/O in it
<benzrf>
you can barely know it and still write some useful functions
<mr_snowf1ake>
benzrf, haskell seems to have quite the cult following, but i have never really heard what exactly it is that people like about it.
Mars` has quit [Remote host closed the connection]
lyanchih_ has joined #ruby
<benzrf>
it has uniquely awesome features (for a mainstream language)
<benzrf>
mr_snowf1ake: what do you know about it
Elhu has quit [Client Quit]
<mr_snowf1ake>
only that i have some friends who swear by it and that it's functional.
<benzrf>
it is PURELY functinoal
<benzrf>
*functional
<mr_snowf1ake>
yes
culturel_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mr_snowf1ake>
sorry, that's what i meant
<benzrf>
as in, every function is referentially transparent
<mr_snowf1ake>
alright
Vivekananda has joined #ruby
<benzrf>
as a result, the language is universally non-strict
<benzrf>
which is pretty nifty
s2013 has joined #ruby
culturel_ has joined #ruby
<mr_snowf1ake>
so what's better about haskell than other purely functional languages?
culturel_ has quit [Max SendQ exceeded]
<benzrf>
well, afaik it's the only really mainstream one
plotter has quit [Quit: Leaving]
<benzrf>
do you know any others?
culturel_ has joined #ruby
culturel_ has quit [Max SendQ exceeded]
<benzrf>
mr_snowf1ake: ?
culturel_ has joined #ruby
<YOURBESTFRIEND>
WHAT ABOUT LISP
<benzrf>
(defun foo () (princ "not pure!"))
<YOURBESTFRIEND>
WHAT ABOUT ERLANG
<mr_snowf1ake>
benzrf, not off the top of my head. but some languages have pure subsets
<benzrf>
hmm, true
<shevy>
ruby needs to include erlang concepts
<shevy>
immortal, networked, failsafe objects
<benzrf>
anyway, haskell uses an extended version of hindley-milner iirc
kitak_ has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
<benzrf>
which means that even though it is 100% statically typed, 95% of types can be inferred
kitak_ has joined #ruby
<mr_snowf1ake>
huh
dkamioka has joined #ruby
<benzrf>
and it supports polymorphism through typeclasses, which are a bit like java's interfaces
Elhu has joined #ruby
<mr_snowf1ake>
alright
mary5030 has joined #ruby
<benzrf>
pretty much the only time types cannot be inferred is if you have a value whose only inferrable attribute is that it is an instance of a typeclass
Megtastique has joined #ruby
<benzrf>
which is rarely an issue in real programs
<benzrf>
usually just in snippets entered into the REPL
mary5030 has quit [Remote host closed the connection]
<benzrf>
it has curried functions and craploads of HOFs, which work AMAZINGLY well together
<mr_snowf1ake>
huh
<benzrf>
ive found it to be spectacular for bottom-up design
<h0rrorvacui>
All of that is great but how do we convince people it helps meet deadlines and makes for better software?
<mr_snowf1ake>
oh, also, i recall one other thing.... someone told me that runtime errors are pretty much not a thing in haskell
<benzrf>
they occasionally are
Vivekananda has quit [Quit: Ex-Chat]
dkamioka has quit [Read error: No route to host]
<benzrf>
but usually just if your program is poorly designed
<mr_snowf1ake>
alright
Vivekananda has joined #ruby
<benzrf>
haskell is 100% purely functional, which means there are no exceptions or anything
<mr_snowf1ake>
yeah
<benzrf>
so the only kind of runtime error that you're likely to see outside of I/O code is a pattern failure
conner has joined #ruby
dkamioka has joined #ruby
<benzrf>
and those should not be an issue unless you're abusing ADTs
<benzrf>
most other errors are type errors, which are caught at compile time
Sawbones has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
<benzrf>
haskell has pattern matching which is pretty awesome also
Megtastique has quit [Client Quit]
<benzrf>
mr_snowf1ake: are you familiar?
mary5030 has joined #ruby
<shevy>
I swear mr_snowf1ake must be as clueless about haskell as me
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
<benzrf>
in general, it is excellent at data manipulation, and program flow can be more easily represented as data than data as program flow
<mr_snowf1ake>
shevy, you're right.
<benzrf>
mr_snowf1ake: do you know bout pattern matching
kostine has quit [Remote host closed the connection]
<mr_snowf1ake>
benzrf, about pattern matching in haskell?
<benzrf>
yeah
<benzrf>
not to be confused with regexes
aspires has joined #ruby
Hanmac1 has joined #ruby
<mr_snowf1ake>
hmm
<benzrf>
it's kinda like regexes
<benzrf>
but it operates on every kind of data and is better-defined
<mr_snowf1ake>
oh, i see
komodo has quit [Ping timeout: 260 seconds]
<benzrf>
anyway
<mr_snowf1ake>
so it's kind of a more general alternative
<benzrf>
not exactly
ss__ has joined #ruby
Hanmac has quit [Ping timeout: 248 seconds]
<YOURBESTFRIEND>
it's like a more powerful switch
wildroman2 has quit [Remote host closed the connection]
<benzrf>
it's also bit like list assignment, but it works for every kind of data
jamesaanderson has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<benzrf>
and it can be used to check matches as well as unpack
juarlex has joined #ruby
<benzrf>
example:
<benzrf>
given this type decl:
<benzrf>
data Tree = Leaf Int | Branch Int [Tree]
<benzrf>
you can write a function to search a tree for values like this:
ss_ has quit [Ping timeout: 252 seconds]
<benzrf>
contains (Leaf x) value = x == value
kooper has joined #ruby
flubba has quit [Remote host closed the connection]
<mr_snowf1ake>
oooh i see, that's pretty cool
<kooper>
I tried earlier with no luck. I'll try again...
<benzrf>
contains (Branch x children) = x == value || any contains children
dkamioka has quit [Ping timeout: 260 seconds]
<benzrf>
the two definitions are merged into one function
<kooper>
In IRB, I get the error beep when I press the "b" key. Any ideas?
flubba has joined #ruby
<benzrf>
the type of 'any' is:
<benzrf>
any :: (a -> Bool) -> [a] -> Bool
<benzrf>
it takes a predicate over type 'a' and a list of a's and returns a bool
<benzrf>
you can practically tell what it does just from its type
<benzrf>
that's another neat feature of the type system
<mr_snowf1ake>
huh
<benzrf>
there's a site called hoogle where you can put in types
<benzrf>
and search the stdlib and stuff
<mr_snowf1ake>
oh i see
<benzrf>
so if you wanted 'any' but didnt know the name, you could figure out that that would be its type
<benzrf>
then hoogle it
<benzrf>
:D
<benzrf>
also notice that I wrote no types for my definitions of contains
Steven_ has joined #ruby
<benzrf>
but haskell would still understand em
<mr_snowf1ake>
yeah
<benzrf>
and could derive the type as 'Tree -> Int -> Bool'
deol has joined #ruby
<h0rrorvacui>
benzrf chill don't blow a gasket over haskell, quick someone change the subject or we may not cool the reactor!!!
<h0rrorvacui>
:P
<benzrf>
heh
vlad_starkov has joined #ruby
<h0rrorvacui>
nah haskell is awesome
<benzrf>
oh wait crap that function is incorrect
<atmosx>
crap
<benzrf>
w/e I could easily amend it
<benzrf>
actually let me show you how id do that
<benzrf>
> contains (Branch x children) = x == value || any contains children
nobitanobi has joined #ruby
<benzrf>
notice that the type of any takes an 'a -> Bool', but the type of contains is 'Tree -> Int -> Bool'
<benzrf>
not 'Tree -> Bool'
<benzrf>
look @ this
<benzrf>
if I flop the argument order
<benzrf>
contains value (Branch x children) = x == value || any contains children
<benzrf>
then the type is now 'Int -> Tree -> Bool'
<benzrf>
contains value (Branch x children) = x == value || any (contains value) children
<benzrf>
the type of 'contains value' is 'Tree -> Bool'
Megtastique has joined #ruby
<benzrf>
currying :D
<mr_snowf1ake>
hmm
flubba has quit [Ping timeout: 272 seconds]
<mr_snowf1ake>
anyway, thanks for the brief tour benzrf :) maybe it's about time for me to learn me a haskell for greater good.