<fennec>
hmm. maybe what you want to do is take all the numbers 1-20, start on the right, and cut out any factors of the number you're on
<epitron>
>> Gem.install("epitools")
<eval-in_>
epitron => libssl.so.1.0.0: cannot open shared object file: No such file or directory - /execpad/interpreters/ruby-2.1.3/lib/ruby/2.1.0/i686-linux/openssl.so (LoadError) ... (https://eval.in/199150)
<solo_>
I have some code that's going to be creating a directory and I'd like to write a couple unit tests around the "create_directory" method, but I'm unsure of the best way to do this in ruby? Mocking? Or is there something better/quicker?
Zesty has joined #ruby
oo_ has joined #ruby
Azure has joined #ruby
snath has joined #ruby
last_staff has quit [Quit: user fell asleep]
hellangel7 has quit [Remote host closed the connection]
<zenspider>
it returns a new collection with the result of mapping the old collection with the block results
bruno- has joined #ruby
<eat_multi>
rubie: updated
<rubie>
yea i haven't been able to wrap my head around "enumberable" when i see it in the doc
<zenspider>
rubie: map! does, but I try to get ppl to avoid the bang methods
<zenspider>
rubie: enumerable is your friend. spend a lot of extra time with it
<pontiki>
truer words have not been spoken
<zenspider>
with a bit of refactoring, my answer for euler 5 is ~ 5 lines long
<eat_multi>
rubie: so in your case you get an array of trues and falses back representing whether the number in question divides into 'smallest' with no remainedr
Tricon has quit [Quit: Leaving...]
<rubie>
nice!
<eat_multi>
rubie: the include checks that array for any falses, if there are any.... I should really just comment the code
<rubie>
feel free, hold on
<eat_multi>
rubie: It's not the most elegant solution, but I've tried to keep it in line with what you initially wrote so it's easier to understand
wjimenez_ has quit [Remote host closed the connection]
yfeldblum has quit [Remote host closed the connection]
<solo_>
If I have a crypto.rb which includes Module B nested within Module A, and another setup.rb file with Module A and a class inside of Module A, is it best practice to include the module inside the class or is at top of file okay?
jonr22 has quit [Ping timeout: 260 seconds]
<gizmore>
solo_: yes
peterhellberg has quit [Ping timeout: 272 seconds]
<solo_>
gizmore: is that because it will allow for mixins in the future (2nd day with ruby)?
Channel6 has joined #ruby
fgo has joined #ruby
<gizmore>
solo_: do you have familiy members that experienced the same?
<gizmore>
*kiddings* ;)
<solo_>
lol
<gizmore>
i am a rewbie (ruby newbie) too
angusiguess has quit [Ping timeout: 245 seconds]
<gizmore>
i think ruby itself does not do any autoload?
<solo_>
hm okay
<gizmore>
so you would need to load A and B first, then do your patches?
<solo_>
what was your reasoning for including it within the class then?
<gizmore>
imho
InhalingPixels has joined #ruby
<gizmore>
ruby is about writing includes/extends that give objects what they do
jcdesimp has quit [Remote host closed the connection]
<zenspider>
sweet jesus no it is not
sepp2k has joined #ruby
<gizmore>
its the most elegant and fun :p
kireevco has joined #ruby
<gizmore>
it´s what makes php a piece of pile
<solo_>
zenspider: can you chime in on this?
sepp2k has quit [Client Quit]
<gizmore>
it´s what makes dynamic languages dynamic! ... prototyping!
therue has quit [Ping timeout: 258 seconds]
parduse has quit []
<zenspider>
solo_: no. he's beyond saving. he's lost to us, he just doesn't realize it yet. at some point, he'll head into the light and rest peacefully
<gizmore>
solo_: you may query me for a gizmore version of the ruby vm
deject3d has quit [Quit: Computer has gone to sleep.]
<rg4>
you forked ruby?
<gizmore>
i am just explaining the basics so you almost know what you are doing
<gizmore>
without a big book
charliesome has joined #ruby
<zenspider>
except that you have yet to say anything right.
<gizmore>
i am close enough
<zenspider>
and YOU need to read the book, not _solo (well, they do too, but not as badly)
<zenspider>
no, you're really not
<solo_>
lol, I've got it, I was just curious what best practice was regarding my question. Not really sure where you were going with the whole class thing
endash has quit [Quit: endash]
<zenspider>
solo_: neither is gizmore
<solo_>
hah
<gizmore>
touché
<solo_>
but I appreciate your attempt hah :p
<gizmore>
zenspider: see, he appreciates you! ;P
<gizmore>
*sry* ;)
<gizmore>
important is that A::B might just be a class instance constant thingy
bruno- has quit [Ping timeout: 260 seconds]
<gizmore>
it has "instance variables" too, and A::B.new is a differnt class with other instance variables
yfeldblum has joined #ruby
mocfive has quit [Remote host closed the connection]
<gizmore>
as soon as you know this, things will become more clear
mocfive has joined #ruby
jottr has joined #ruby
<solo_>
gizmore bud, you are really lost my friend hah
<gizmore>
not really, i just can´t explain it more clear
<gizmore>
so Class < Object is proven to be correc?
<havenwood>
gizmore: i think your ideas maybe make sense but they aren't matched up with the right words
<gizmore>
or Object < Class
<gizmore>
one of them is true
mburns has joined #ruby
<gizmore>
my assumptions might make sense when you implement a rvm yourself
yetanotherdave has quit [Client Quit]
<havenwood>
when I implement an RVM?
<havenwood>
what have i stumbled into?
<rg4>
ruby virtual machine
<gizmore>
maybe my assumptions are wrong, but they reflect a working ruby interpreter imo
<gizmore>
so it is not entirely wrong, when i explain it this way to fellow rubyists
mocfive has quit [Ping timeout: 260 seconds]
peterhellberg has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
<havenwood>
gizmore: You meant when I implement a VM i'll understand?
axsuul has quit [Excess Flood]
<gizmore>
that´s also why i asked for corrections, but it seems hard to explain ruby oop to beginners
fgo has joined #ruby
<gizmore>
havenwood: exactly... when you code your own rvm interpreter, you might encounter my constructs again
<havenwood>
gizmore: now we're interpreting the ruby virtual machine?
mikepack has quit [Remote host closed the connection]
<havenwood>
gizmore: Maybe I'm just daft tonight, but seems you don't quite get Ruby's object model.
<Nilium>
VMs all the way down
<havenwood>
VM inception
BackEndCoder has joined #ruby
<gizmore>
havenwood: i am 1.5 years into ruby now
angusiguess has quit [Ping timeout: 240 seconds]
<Nilium>
I am.. 6 bites into my calzone
<gizmore>
i think i have a quite good impression of the "stamdard" ruby now
<havenwood>
Nilium: mmmm yum
nicksanford has quit [Ping timeout: 250 seconds]
neoxquick has joined #ruby
<Nilium>
I've been using Ruby for something like 6 years and I'm still pretty sure most people using Ruby are on crack
<gizmore>
Nilium: can i query you?
phoo1234567 has quit [Quit: Leaving]
<gizmore>
for the crack?
<Nilium>
Not unless you really like C++11.
<havenwood>
gizmore: that's a nice start but keep being inquisitive about things you're not sure about
<gizmore>
no << "#{!!bool.nil?}";
ramfjord has quit [Ping timeout: 246 seconds]
<gizmore>
havenwood: thats also why i started to argue
fgo has quit [Ping timeout: 246 seconds]
<gizmore>
how about one of my other, earlier assumptions:
<Nilium>
Local pizza is always best pizza.
<havenwood>
gizmore: if people point out that your terminology is wrong it doesn't diminish the real lesson you learned, but does mean you go deeper and get it right
<gizmore>
"There is no autoload in ruby"
<havenwood>
gizmore: that's not right
<gizmore>
there is kinda autoload with the plain rvm? Oo
<havenwood>
gizmore: is that an example of not right or what you're saying? :P
<Nilium>
Wasn't there a deprecated autoload?
<havenwood>
gizmore: okay, so RVM is a thing...
<gizmore>
i thought rails already poisons with autoload
<havenwood>
gizmore: so talking about rvm is talking about the incredibly popular shell project called rvm
<Nilium>
Rails is just poison, period
<havenwood>
gizmore: no, no, gah~!
<gizmore>
there is autoload with ruby?
<Nilium>
Most people talking about the normal Ruby VM refer to it as MRI or YARV, I think.
tvon has joined #ruby
<havenwood>
gizmore: rvm installs and switches rubies
<gizmore>
in theory there cannot be autoload in a language
Azure has joined #ruby
<havenwood>
gizmore: no
<tvon>
Does anyone know of a general purpose project generation tool (pref in ruby, obviously) for building out new projects?
<Nilium>
Since as far as I know YARV got merged with MRI, so one inside the other, I guess.
<gizmore>
because filename and modulename can overlap, so the programm has to take care of loading 100%
<havenwood>
Nilium: i kinda like CRuby, but yeah synonymous
<tvon>
Similar to how 'rails new' can accept a project tempalte that defines what gems to include or files to create/overwrite, etc, but not specific to rails.
<gizmore>
tvon: start with an empty git
<tvon>
s/tempalte/template/
<gizmore>
tvon: name your first file: "main.rb"
<gizmore>
tvon: then do "ruby main.rb"
<Nilium>
Also heard cruby used a few times, but it seems uncommon
<tvon>
gizmore: that is basically the opposite of what I'm looking for
<havenwood>
gizmore: so #autoload isn't Rails, it's Ruby
<havenwood>
gizmore: you might be thinking of days gone by when #autoload wasn't thread safe
<havenwood>
gizmore: this isn't the case anymore, there are discussions to be had, but what you're talking isn't correct
<gizmore>
havenwood: i am thinking of i want to control the loading of my programm
<tvon>
Say I work with a lot of vagrant setups, and there are particular ways I always like my projects setup. I'm looking for a way to automate this.
<havenwood>
gizmore: yeah, as one would typically think of auto loading
<tvon>
I can of course come up with something myself, but I thought maybe it had been done before.
hooper has quit [Quit: Leaving.]
<gizmore>
tvon: how often do the configs change?
<havenwood>
gizmore: Rails just happens to make prolific use of Ruby's autoload.
<havenwood>
gizmore: You can use it too.
fold has joined #ruby
<gizmore>
havenwood: rake and activerecord is crap too
<tvon>
gizmore: every project will have variations
Spami has joined #ruby
<gizmore>
havenwood: the best in rails is {}.reverse_merge
Spami has quit [Remote host closed the connection]
<havenwood>
gizmore: You're very opinionated. But so is Rails. :P
<gizmore>
havenwood: let me show you a working production spawnee in #ricergame
<Mia>
Guys, I want to ask
<gizmore>
tvon: how often do you change old configs of old servers?
<havenwood>
The moment has come where I wonder if i'm feeding a troll. Dangit!
<Mia>
everyone speaks about what's possible with RoR's
Spami has joined #ruby
<tvon>
gizmore: That does not seem relevant to what I'm asking
<Mia>
what's not easily possible with it?
<Mia>
Maybe it's better to know
<rg4>
twitter.com
<rg4>
:D
<gizmore>
tvon: depending on if you only need different config on install, or during runtime...
<Mia>
rg4, O.o
<Mia>
was that the answer to my question
bruno- has joined #ruby
<rg4>
yeah but mostly a joke
<havenwood>
Mia: It's based on an app called Basecamp. The closer your project is to that app the closest it is to perfect.
<Mia>
oh :D
<Mia>
basecamp hq, basecamp?
<Mia>
project management thingy
<havenwood>
ya
<tvon>
gizmore: no, I'm looking for a way to automate the bootstrapping of projects, be they rails projects or sinatra projects or drupal projects. I am looking for a general purpose project templating tool.
<Mia>
oh shit
<Mia>
I hate it
<Nilium>
I wonder if there's a fuckitjs for Ruby.
<havenwood>
Mia: Rails was extracted from that. :P
<Mia>
hmm
<tvon>
I figured it existed but I am discovering that it probably does not.
<gizmore>
Mia: try #RubyOnRails, you need to /msg nickserv help unselect
<havenwood>
Mia: What are you trying to make?
lektrik has joined #ruby
<Mia>
havenwood, well I'm trying to learn at this point
<Mia>
bust gathering info around
<Mia>
dived in ruby just yesterday
<gizmore>
havenwood: please join that chan, i wanna show you my rubey :)
<Mia>
it's prettty fun, but I intent to go into rails
<Mia>
slecially for experimental web apps
<Mia>
like, irc chat bots
<havenwood>
Mia: I'd suggest taking a look at Sinatra and maybe Hobbit which is a nice minimalist implementation of a Rack adapter.
braincrash has quit [Quit: bye bye]
<Mia>
and twitter auto repliers
<Nilium>
My god this calzone is so damn good
<Mia>
and stuff like those
<Nilium>
Seriously amazing
<havenwood>
Nilium: You...!
<Mia>
havenwood, I dont know what a rack adapter is :)
<Nilium>
Wait, why don't I have booze
* Nilium
goes to get his wine out of the fridge.
<havenwood>
Mia: So if you want to serve up some HTTP requests with Ruby, the most popular option is to use the well-established Rack.
<havenwood>
Mia: Rails is the most popular Rack adapter, Sinatra is the second most popular.
<havenwood>
Mia: If you take a look at the apps/ dir you'll see a nice example of each.
<havenwood>
Mia: Ruby actually ships with the `rackup` binary that will run each of these apps, just from the `config.ru` file (in apps/ examples).
<Mia>
haven I'm still far away from all those
<Mia>
since my information is limited with a few hours of codeacademy training
<Nilium>
Hello, cheap rose wine, you are my friend
bruno- has quit [Ping timeout: 272 seconds]
<Mia>
mostly, everything's abstract to me right now. But I noted them down
<Mia>
and I'll check
<Mia>
havenwood,
<havenwood>
Mia: You can take what you learned in codeacademy and plop it into a Sinatra or Hobbit one-file couple-line app and serve it up on the web,
<havenwood>
Mia: It's surprisingly simple to use but complicated to explain.
<Mia>
havenwood, so it's not like RoR ?
<Mia>
havenwood, I'll definitely check
<Mia>
RoR looked like it needs a lot of esential training
mikepack has joined #ruby
<havenwood>
Mia: Not like in that it doesn't produce app scaffolding, is orders of magnitudes less complicated, etc.
<fennec>
sinatra provides a way to render yourself some .erb files containing HTML and static files containing HTML, CSS, and JavaScript. It does not include an asset pipeline to automagically combine fragments of JavaScript and CSS into minified things automatically.
<havenwood>
Mia: Rails a while ago went to Coffeescript (compiles to Javascript like Opal, but Opal didn't exist at the time) a while ago, and has an asset pipeline to take care of niceties.
<Mia>
Hmm
alvaro_o has quit [Quit: Ex-Chat]
<Mia>
thank also thank you for the description fennec
slyslick has quit [Ping timeout: 250 seconds]
<havenwood>
Mia: there're tools to do that same thing for Sinatra but fennec's point remains that it's build into Rails
<Nilium>
I get shit for drinking pink moscato and rose wine and whatnot, but screw it, it tastes good.
<fennec>
sinatra readily allows you to do things like process a small piece of user input, save the data to the database, retrieve it later, put it on the website surrounded by a bunch of otherwise static text.
reset has quit [Ping timeout: 258 seconds]
<havenwood>
Nilium: i like saying moscato better than writing it
<Nilium>
I like saying mosquito.
<Mia>
I see
_reset has quit [Ping timeout: 258 seconds]
<fennec>
if, on the other hand, you want a massive application with a variety of resource types performing many interactions among each other and having fragments scattered across the app... then Rails will be better at helping you manage the complexity associated with that
<havenwood>
Mia: with sinatra you'd pick all the peices. rails has predetermined options that are changeable. sinatra is inherently more minimalistic. rails has more scaffolding.
<havenwood>
Mia: you can have a rails app with multiple sinatra apps and maybe even a rack app all playing nice, side by side
<Mia>
can I go out of the provided limits (visually) in RoR
<havenwood>
Mia: there's a lot to be said for the modular philosophy of padrino
<Mia>
What I'm looking for is, a visual freedom, as easy as possible
<Mia>
I don'tknow if both exits at the same time
mary5030 has joined #ruby
<havenwood>
Mia: you can do your real work in Ruby and just use Rails to show it, if you want
Kricir has joined #ruby
maniacal_ has joined #ruby
<fennec>
Visual freedom is going to be more a function of stuff happening browser-side
<Mia>
fennec, what do you mean
HelperW_ has joined #ruby
<Mia>
for instance, the twitter thingy I want to create will display data with this http://d3js.org/
<Mia>
data vis. stuff
<Mia>
That's what I had in mind
<fennec>
If you want to craft a web page that looks good, you need HTML, CSS, JavaScript. Any backend framework like Rails or Sinatra can help you serve that HTML, but code written in that language generally won't be responsible for making it look good
<fennec>
er, code written in the Ruby language or those frameworks
<havenwood>
Mia: browser side is traditionally javascript, but these days a ton of nice things compile to javascript but unfortunately it's got to end up javascript for brower-side for now.
<Mia>
havenwood, fennec Oh I know, I don't mind it
<havenwood>
Mia: There ClojureScript for Clojure, or Opal for Ruby, or Dart or Coffeescript.
tessi_zz has joined #ruby
<havenwood>
Mia: and others
<havenwood>
there's*
<Mia>
for instance the link I just gave; it would be enough for the main browsing capabilities
<havenwood>
Mia: Opal really is looking nice. :)
<Mia>
the data vis type of stuff
<Mia>
Checking
<havenwood>
Mia: It has a JQuery wrapper and lets you basically use Ruby as though it's on the browser but you're really requiring Opal.
<fennec>
I'd like to disagree for a moment
<Mia>
on what
<havenwood>
fennec: javascript purist? :)
<fennec>
just practically, if you're new to Ruby and JavaScript and you try to learn a framework that compiles Ruby into JavaScript and a framework that's in JavaScript and put them together using examples written in JavaScript it's going to be... a bit of something. :b
boombadaroomba has joined #ruby
<fennec>
trivially straightforward is not the "something"
<Mia>
:D
<Mia>
Well
<Mia>
simple = better, for me right now
<Mia>
I'll give you an example
HelperW_ has quit [Ping timeout: 250 seconds]
<Mia>
how easy would this be http://l.im/ in sinatra or ror
maniacal_ has quit [Ping timeout: 260 seconds]
booleandilemma has joined #ruby
HelperW_ has joined #ruby
<fennec>
this is a twitter scraper that does sentiment analysis to figure out who's popular?
<havenwood>
Mia: it's a rabbit hole, i swear! so much to learn.
<Mia>
fennec, no this is a seperte system
<Mia>
not related to twitter at all
<Mia>
you vote up or down
<Mia>
a social voting app
<fennec>
ah
<Mia>
havenwood, I like rabbit holes but "so much to learn" does nott necessarily motivate me right now :D
<havenwood>
Mia: at least it's nice not to run out of stuff to learn :)
<Mia>
I'm a machine it's never going to happen
<Mia>
my list has.... so many things
jonmorehouse has quit [Ping timeout: 272 seconds]
<Mia>
I want fast results
<Mia>
I ofc. want to learn but quite impatient
<Mia>
right now it feels like a growing food on my plate :D
boombadaroomba has quit [Ping timeout: 260 seconds]
GinoMan has quit [Quit: No Ping reply in 180 seconds.]
<Mia>
A few days ago I was like "I'll make some small web app" now it's explosions in the sky :)
<Mia>
I don't blame it, it's usual, but you know
<Mia>
growing and growing
cirn0 has joined #ruby
<havenwood>
Mia: the dom/css would be the overwhelming part for me
<fennec>
anyway. that app, depends on the scope and the polish you actually want
GinoMan has joined #ruby
tvon has quit [Quit: leaving]
cirn0 has quit [Remote host closed the connection]
jonmorehouse has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
booleandilemma has left #ruby ["Leaving"]
lukeholder has joined #ruby
cirn0 has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
charliesome has quit [Quit: zzz]
GinoMan has quit [Ping timeout: 272 seconds]
lukeholder has joined #ruby
emocakes__ has quit []
lukeholder has quit [Max SendQ exceeded]
emocakes has joined #ruby
emocakes has quit [Client Quit]
arup_r has joined #ruby
skammer1 has joined #ruby
lukeholder has joined #ruby
lewix has quit [Remote host closed the connection]
<havenwood>
spit and shine!
ramfjord has joined #ruby
lewix has joined #ruby
hiall has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
skammer1 has quit [Ping timeout: 260 seconds]
geggam has joined #ruby
cirn0 has quit [Remote host closed the connection]
cirn0 has joined #ruby
lemur has quit [Read error: Connection reset by peer]
lemur has joined #ruby
charliesome has joined #ruby
angusiguess has joined #ruby
fgo has joined #ruby
kil0byte has quit [Remote host closed the connection]
helpa has quit [Remote host closed the connection]
<solo_>
anyone else ever had any issues with sublime failing hard with translating tabs to spaces
helpa has joined #ruby
<solo_>
to vim i go
bthesorceror has joined #ruby
<havenwood>
solo_: i was just swapping editors for that same reason
jonmorehouse has quit [Ping timeout: 272 seconds]
<havenwood>
not preserving tabs
arrubin has joined #ruby
<solo_>
Must be a bug
angusiguess has quit [Ping timeout: 272 seconds]
<solo_>
I kept changing it, pushing to github and it would be all screwed up
jonmorehouse has joined #ruby
<solo_>
dumped the files in a hexeditor and they were in fact 0x09 (tabs)
fgo has quit [Ping timeout: 240 seconds]
<gizmore>
eclipse in virtualbox using ftp plugin ftw
<havenwood>
gizmore: go jruby and oracle all the way down
cndiv has joined #ruby
bruno- has joined #ruby
cndiv has quit [Client Quit]
<gizmore>
it was a joke "vm to use ftp"
<gizmore>
virtualbox to ftp somewhere
GR33NM4CH1N3 has left #ruby [#ruby]
<havenwood>
gizmore: oracle wasn't a joke?
<gizmore>
geez
<havenwood>
:P
<havenwood>
though <3 JRuby
<gizmore>
havenwood: try my ruby bot live in #ricergame please
<gizmore>
indeed... gotta try it
<havenwood>
it's really nice
<gizmore>
got quite some locks already in my bot
<gizmore>
PUTS_LOCK :P
<gizmore>
GLOBAL_LOCK
<gizmore>
thats it -.-
<Nilium>
I actually feel kind of sick
<Nilium>
This is a first. Normally when I down over half a bottle of wine I just laugh at stuff and fail to walk correctly.
magic_ is now known as magic
magic has quit [Changing host]
magic has joined #ruby
<gizmore>
Nilium: this is your parents. you are dreaming. Wake Up Please!
<havenwood>
Nilium: maybe your calzone was contraindicated with your wine
<Nilium>
Huh? No, my parents are down the hall and know I drank half a bottle of wine.
<Nilium>
This is fine.
<havenwood>
yeah, bio error
<Nilium>
I probably just need to drink water.
<Nilium>
On a side note, the starbucks salted caramel mochas are actually pretty tasty.
cirn0 has quit [Remote host closed the connection]
<Nilium>
I still think it's sad and sort of nice that I'm drunk after half a bottle of wine.
sevvie has quit [Ping timeout: 260 seconds]
<Nilium>
Also a little weird that I'm still good at typing.
bruno- has quit [Ping timeout: 260 seconds]
cirn0 has joined #ruby
<havenwood>
and properly it's
<Nilium>
Years of keyboard use have made my hands immune to alcohol when it comes to keyboards. Other things are still susceptible.
niklasb has joined #ruby
Takle has joined #ruby
<Nilium>
I have a degree in English, so it's unlikely I'll fuck up on its/it's.
vinleod has joined #ruby
<havenwood>
nice
<Nilium>
I'd have to be really, really hammered for that to happen.
<havenwood>
Sparse but proper commas usage is enjoyable to me.
<Nilium>
I over-use commas, so that's not going to happen.
<havenwood>
Oxford comma? that is the question?
<Nilium>
I'm the lord of subclauses.
<havenwood>
I half overuse them, kinda moderation.
<Nilium>
I also really like multiple uses of colons in the same sentence.
<havenwood>
oh: jesus: no
<Nilium>
The world is round: a green and blue ball: water and earth.
<Nilium>
You'd really hate to read Let Us Now Praise Famous Men
<havenwood>
The world is round. A green and blue ball - water and earth.
<Nilium>
Amazing book/documentary, but the author is very insistent upon using colons.
* havenwood
hides
<Nilium>
If you like history, you should read it anyway
<havenwood>
okay, maybe i'll check it out
<Nilium>
It's about southern sharecroppers and more or less extreme poverty.
Wolland_ has joined #ruby
mary5030 has quit [Remote host closed the connection]
solo_ has quit [Quit: Leaving...]
hooper has joined #ruby
<Nilium>
Was originally a journalistic piece but it ballooned into a book because of the length and the sheer depth it goes into, since the author was very much documenting their actual lives and not just dropping in, getting a look, interviewing some people, and then leaving
<havenwood>
Nilium: Hem, intersting.
<Nilium>
He literally rifles through their drawers when they leave the house.
<havenwood>
Wow, yikes.
<Nilium>
Doesn't really do much good. Again, extreme poverty.
<Nilium>
That said, the book opens with a lot of photographs the coauthor took, and they're telling as to what kind of life these folks had.
<havenwood>
1999 feeled like 1936 to me in the South, so I think I'd be interested what 1936 was like.
niklasb has quit [Ping timeout: 272 seconds]
Wolland has quit [Ping timeout: 240 seconds]
Guest85414______ has joined #ruby
Tricon has quit [Quit: Leaving...]
kapowaz has joined #ruby
<havenwood>
Nilium: My ancestors are from those pars.
<havenwood>
parts*
<Nilium>
Maybe also read The Great Depression by David A. Shannon in that case
<Nilium>
That's kind of a look into life during the '30s
bthesorceror has quit [Quit: bthesorceror]
Takle has quit [Remote host closed the connection]
<Nilium>
At least in the US. I can't speak for other countries.
mleone has joined #ruby
<Nilium>
It's not so much Shannon's own writing but a lot of contemporary articles from the time.
jpinnix____ has joined #ruby
ELLIOTTCABLE has joined #ruby
<havenwood>
Nilium: And my name's Shannon, so that's gotta help.
<havenwood>
I haven't read that either.
cirn0 has quit [Remote host closed the connection]
<Nilium>
I grabbed it a while back while I was looking for books to put the emergence of walled communities into perspective
<Nilium>
Still haven't really figured that one out
torspark has joined #ruby
bthesorceror has joined #ruby
bluehavana has joined #ruby
<Nilium>
'Cause they're a very modern thing and very strange in the US because they reek of isolationism, paranoia, and in a lot of cases racism (most walled communities and home owners' associations had terms forbidding people with non-white blood [the term usually used] from living in them)
pmarreck has joined #ruby
<Nilium>
At any rate, that's one of my accidental fascinations
cbetta has joined #ruby
chuk_ has joined #ruby
<havenwood>
my blood is all red (blames ruby)
cirn0 has joined #ruby
cym has joined #ruby
<Nilium>
Kevin Rose liked my video on Tiiny but I'm not internet famous. How disappointing.
im0b has joined #ruby
mattyohe has joined #ruby
incomprehensibly has joined #ruby
cym has quit [Max SendQ exceeded]
neersighted has joined #ruby
diegovio1 has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
cym has joined #ruby
cirn0 has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
cirn0 has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has quit [Ping timeout: 244 seconds]
cirn0 has quit [Remote host closed the connection]
HelperW_ has joined #ruby
j_mcnally has joined #ruby
mostlybadfly has joined #ruby
cirn0 has joined #ruby
asteros has joined #ruby
<j_mcnally>
what is modruby.net ?
<Nilium>
I don't know, what is it?
krisquigley has joined #ruby
<Nilium>
<j_mcnally> THE TIME OF YOUR LIFE
<gizmore>
probably apache mod_ruby?
<j_mcnally>
i get a notice from chanserv about it
<havenwood>
j_mcnally: history
<Nilium>
I can't turn my head without losing focus
<j_mcnally>
and i go, and it looks like a japanese go daddy page
<havenwood>
deprecated
seanosaur has quit []
<havenwood>
history
<Nilium>
This is actually actively annoying
<gizmore>
j_mcnally: type \passchange <oldpass> <newpass>
<j_mcnally>
can we remove it from the chanserv banner?
<j_mcnally>
o word ok
<havenwood>
j_mcnally: i can't
<j_mcnally>
\passchange gofuck yourself
<j_mcnally>
did it work?
<gizmore>
:P
Takle has joined #ruby
shelling_ has joined #ruby
cirn0 has quit [Remote host closed the connection]
akitada__ has joined #ruby
cirn0 has joined #ruby
<Nilium>
\passchange whoooooooooooooooa
<havenwood>
j_mcnally: it'd be easier to ddos modruby.net than change that link i suspsect
<j_mcnally>
hahaha really?
<gizmore>
they probably use php, or passenger
<j_mcnally>
does no one have chanserv permissions?
<Nilium>
I just remembered something. I did a bad thing at work today: I used PHP's mcrypt_encrypt to pass data back to a browser from a POST request because I wanted said data but didn't want it manipulable browser-side.
<Nilium>
I should go flog myself.
Avahey has joined #ruby
bthesorceror has quit [Quit: bthesorceror]
dmoe_________ has joined #ruby
<Nilium>
Partly for using PHP and partly just for using something less than AES-256.
cirn0 has joined #ruby
poguez_ has joined #ruby
HelperW_ has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
cirn0 has quit [Remote host closed the connection]
frankS2 has joined #ruby
cirn0 has joined #ruby
cmaxw has joined #ruby
patrick99e99 has joined #ruby
kyote has joined #ruby
axsuul has quit [Ping timeout: 246 seconds]
ionelmc has joined #ruby
bizarrosandwich has quit [Read error: Connection reset by peer]
mjc_ has joined #ruby
olleromo___ has joined #ruby
crazydiamond has joined #ruby
kyote has quit [Changing host]
kyote has joined #ruby
bthesorceror has joined #ruby
iinzng has joined #ruby
shock_one has quit [Ping timeout: 260 seconds]
bthesorceror has quit [Client Quit]
benlakey has joined #ruby
thesheff17 has joined #ruby
paulog__ has joined #ruby
CJD14______ has joined #ruby
bove has joined #ruby
Takle has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 245 seconds]
lewix has joined #ruby
kaplejon has joined #ruby
bthesorceror has joined #ruby
emmesswhy has joined #ruby
daxroc has joined #ruby
skammer1 has joined #ruby
jdjkelly has joined #ruby
hiall has quit [Quit: hiall]
Channel6 has quit [Quit: Leaving]
LudicrousMango has quit [Remote host closed the connection]
LudicrousMango has joined #ruby
ikanobori has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ludicrou_ has joined #ruby
rkjaer has joined #ruby
skammer1 has quit [Ping timeout: 272 seconds]
cirn0 has quit [Remote host closed the connection]
Takle has joined #ruby
peterhellberg has joined #ruby
LudicrousMango has quit [Ping timeout: 240 seconds]
w09x has joined #ruby
Kricir has quit [Remote host closed the connection]
jrockjiggz has quit [Ping timeout: 276 seconds]
Kricir has joined #ruby
angusiguess has joined #ruby
bruno- has joined #ruby
dukz has joined #ruby
fgo has joined #ruby
slester has quit [Ping timeout: 245 seconds]
jbueza has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
peterhellberg has quit [Ping timeout: 244 seconds]
emmesswhy has quit [Quit: This computer has gone to sleep]
Kricir has quit [Ping timeout: 240 seconds]
angusiguess has quit [Ping timeout: 260 seconds]
dukz has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 245 seconds]
zekriad has quit [Ping timeout: 244 seconds]
hooper has quit [Quit: Leaving.]
Takle has quit [Remote host closed the connection]
Kricir has joined #ruby
dukz has joined #ruby
Takle has joined #ruby
mleone has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
melik has joined #ruby
dukz has quit [Ping timeout: 258 seconds]
cym has quit [Quit: Leaving]
gvenkat has joined #ruby
pen has joined #ruby
pen has quit [Max SendQ exceeded]
skammer1 has joined #ruby
chrishough has joined #ruby
Mattias has quit [Ping timeout: 260 seconds]
skammer1 has quit [Ping timeout: 272 seconds]
IceDragon has quit [Quit: Space~~~]
Takle has quit [Remote host closed the connection]
armyriad has joined #ruby
Mattias has joined #ruby
Takle has joined #ruby
xcv_ has quit [Remote host closed the connection]
lw has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
HelperW_ has joined #ruby
Takle has quit [Remote host closed the connection]
nobitanobi has joined #ruby
thrasymachus has joined #ruby
asteros has quit [Quit: asteros]
arup_r has quit [Quit: Leaving.]
arup_r has joined #ruby
GinoMan has joined #ruby
<shevy>
yeah
<shevy>
we will collectiley disdain you now for your php sins
<shevy>
erm
<shevy>
*collectively
HelperW_ has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 272 seconds]
HelperW_ has joined #ruby
Rollabunna has quit [Quit: Leaving...]
MasterPiece has joined #ruby
HelperW_ has quit [Ping timeout: 272 seconds]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
pen has joined #ruby
pen has quit [Max SendQ exceeded]
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
pen has joined #ruby
lukeholder has joined #ruby
lukeholder has quit [Max SendQ exceeded]
lukeholder has joined #ruby
dx7 has quit [Ping timeout: 246 seconds]
havenwood has joined #ruby
pen has quit [Max SendQ exceeded]
pen has joined #ruby
rg4 has quit [Quit: Leaving]
chipotle has quit [Quit: cya]
pen has quit [Max SendQ exceeded]
Vivekananda has joined #ruby
rg4 has joined #ruby
w09x has quit []
pen has joined #ruby
havenwood has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
pen has quit [Max SendQ exceeded]
klmlfl has joined #ruby
thrasymachus has quit [Quit: Lost terminal]
pen has joined #ruby
yfeldblum has joined #ruby
lw has quit [Quit: s]
pen has quit [Read error: Connection reset by peer]
pen has joined #ruby
mofai has quit [Ping timeout: 250 seconds]
asteros has joined #ruby
angusiguess has joined #ruby
fgo has joined #ruby
thrasymachus has joined #ruby
slyslick has joined #ruby
kenndel_ has quit [Read error: Connection reset by peer]
c107 has joined #ruby
klmlfl has quit [Remote host closed the connection]
decoponio has joined #ruby
c107 has quit [Remote host closed the connection]
asteros has quit [Client Quit]
Wolland_ has quit []
fgo has quit [Ping timeout: 260 seconds]
angusiguess has quit [Ping timeout: 272 seconds]
yfeldblum has quit [Remote host closed the connection]
Derander has quit [Ping timeout: 245 seconds]
relix has joined #ruby
chrishough has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jthomp has joined #ruby
gvenkat has joined #ruby
mofai has joined #ruby
r0bby_ has joined #ruby
vircung has quit [Ping timeout: 250 seconds]
jonmorehouse has quit [Ping timeout: 272 seconds]
emmesswhy has joined #ruby
vircung has joined #ruby
kireevco has quit [Quit: Leaving.]
r0bby_ has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
bricker`LA has quit [Ping timeout: 250 seconds]
CorySimmons has joined #ruby
jonmorehouse has joined #ruby
krisquigley has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
skammer1 has joined #ruby
rippa has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shock_one has joined #ruby
Mia has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
skammer1 has quit [Ping timeout: 260 seconds]
MasterPiece has quit [Remote host closed the connection]
starkhalo has quit [Ping timeout: 245 seconds]
kireevco has joined #ruby
MasterPiece has joined #ruby
lukeholder has joined #ruby
HelperW_ has joined #ruby
shock_one has quit [Ping timeout: 245 seconds]
BTRE has quit [Read error: Connection reset by peer]
chuk_ has quit [Quit: Connection closed for inactivity]
boombadaroomba has quit [Ping timeout: 260 seconds]
jonmorehouse has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
jds has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
whoojemaflip has joined #ruby
kaplejon has joined #ruby
akitada__ has joined #ruby
jpinnix____ has joined #ruby
troter_ has joined #ruby
HashNuke has joined #ruby
frankS2 has joined #ruby
halfdan has joined #ruby
mjc_ has joined #ruby
bcavileer_ has joined #ruby
fredsir has joined #ruby
charles81__ has joined #ruby
joshingly has joined #ruby
incomprehensibly has joined #ruby
Tranquility___ has joined #ruby
ELLIOTTCABLE_ has joined #ruby
machty has joined #ruby
ELLIOTTCABLE_ is now known as ELLIOTTCABLE
DarthGandalf has quit [Quit: Bye]
bruno- has quit [Ping timeout: 260 seconds]
sepp2k has quit [Read error: Connection reset by peer]
skammer1 has quit [Ping timeout: 244 seconds]
Morkel has quit [Quit: Morkel]
Morkel has joined #ruby
nobitanobi has quit []
Morkel has quit [Client Quit]
skammer1 has joined #ruby
Suchit has joined #ruby
Skyler has quit [Ping timeout: 272 seconds]
gvenkat has joined #ruby
mikepack has joined #ruby
Suchit has quit [Read error: Connection reset by peer]
andrewlio has joined #ruby
Suchit has joined #ruby
jonmorehouse has quit [Ping timeout: 272 seconds]
relix has joined #ruby
Scotteh_ has joined #ruby
<Hanmac>
yeah ... ruby-devs did make a change that will break MANY compiled gems in the future ... but still did not explained in the README what is the best way to write it ...
<Hanmac>
for this who have written C-gems before ... Data_Get_Struct/Data_Wrap_Struct are now deprecated ...
spectator has quit [Remote host closed the connection]
fgo has joined #ruby
timgauthier_isaw is now known as timgauthier
angusiguess has joined #ruby
agent_white has quit [Quit: gnight]
Lucky__ has joined #ruby
yacks has quit [Ping timeout: 272 seconds]
fgo has quit [Ping timeout: 240 seconds]
adac has quit [Ping timeout: 244 seconds]
Ludicrou_ has quit [Remote host closed the connection]
Lucky__ has quit [Client Quit]
LudicrousMango has joined #ruby
Lucky__ has joined #ruby
angusiguess has quit [Ping timeout: 246 seconds]
thomasxie has joined #ruby
LudicrousMango has quit [Ping timeout: 244 seconds]
KnownSyntax has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
DarthGandalf has joined #ruby
dkam has joined #ruby
dkam has quit [Client Quit]
thomasxie has left #ruby [#ruby]
HelperW_ has joined #ruby
dukz has joined #ruby
lsmola has quit [Ping timeout: 272 seconds]
dx7 has joined #ruby
<Hanmac>
shevy: info for you, yes that means a massive rewrite again in the internals of rwx
adac has joined #ruby
dukz has quit [Ping timeout: 244 seconds]
Beoran_ has joined #ruby
govg has joined #ruby
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
emmesswhy has joined #ruby
Beoran has quit [Ping timeout: 245 seconds]
timgauthier has joined #ruby
dx7 has quit [Ping timeout: 272 seconds]
mofai has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<Hanmac>
hm bad #ruby-lang is not as helpful as this channel :(
einarj has joined #ruby
timonv_ has joined #ruby
ELLIOTTCABLE is now known as skoobettoille
bruno- has joined #ruby
behrz has joined #ruby
behrz has left #ruby [#ruby]
timgauthier is now known as timgauthier_isaw
oo_ has quit [Remote host closed the connection]
skoobettoille is now known as ELLIOTTCABLE
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gizmore>
Hanmac: just ask good questions, and there will be discussion
timgauthier has joined #ruby
oo_ has joined #ruby
bruno- has quit [Ping timeout: 260 seconds]
guiguidoc has quit [Ping timeout: 272 seconds]
LudicrousMango has joined #ruby
<Hanmac>
gizmore: Data_Get_Struct/Data_Wrap_Struct are now deprecated , need to be replaced with TypedData_Get_Struct/TypedData_Wrap_Struct, but i am unsure about how to use them correctly because they are not documented yet
<gizmore>
i would assume it should be mostly compatible
<gizmore>
else the method fingerprints are a good way to start
<Hanmac>
they now use rb_data_type_t for infomation ... my question was if i can reuse the same rb_data_type_t for all classes in the baseclass of if i really need different ones for the child classes too
emmesswhy has quit [Quit: This computer has gone to sleep]
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
govg has quit [Quit: leaving]
timgauthier has joined #ruby
oo_ has quit [Remote host closed the connection]
Hyknua has joined #ruby
govg has joined #ruby
charliesome has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
awestroke has joined #ruby
guiguidoc has joined #ruby
krisquigley has joined #ruby
MasterPiece has joined #ruby
MaciejCzyzewski has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Rx_o has joined #ruby
Hamled|Erp is now known as Hamled
kaspertidemann has joined #ruby
einarj has quit [Remote host closed the connection]
fgo has joined #ruby
bricker`LA has joined #ruby
ptrrr has quit [Quit: ptrrr]
peterhellberg has joined #ruby
angusiguess has joined #ruby
Zackio has quit [Ping timeout: 244 seconds]
Zackio has joined #ruby
lowandslow has joined #ruby
jottr has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
goodenough has joined #ruby
peterhellberg has quit [Ping timeout: 245 seconds]
emmesswhy has joined #ruby
charliesome has quit [Quit: zzz]
angusiguess has quit [Ping timeout: 260 seconds]
pen has quit [Read error: Connection reset by peer]
timgauthier is now known as timgauthier_isaw
pen has joined #ruby
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yacks has joined #ruby
timgauthier has joined #ruby
startupality has joined #ruby
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Kuda has joined #ruby
Kuda has quit [Client Quit]
Jackneill has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
MaciejCzyzewski has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
coderhs has quit [Client Quit]
hamakn has quit [Ping timeout: 260 seconds]
krisquigley has quit [Remote host closed the connection]
moritzs has quit [Ping timeout: 260 seconds]
mollitz has quit [Ping timeout: 240 seconds]
skammer1 has joined #ruby
AFKGeek has joined #ruby
Rx_o has quit [Ping timeout: 245 seconds]
KesUK has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
timgauthier is now known as timgauthier_isaw
bruno- has joined #ruby
emmesswhy has quit [Quit: This computer has gone to sleep]
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Mia has joined #ruby
Rx_o has joined #ruby
timgauthier has joined #ruby
threesixes has quit [Remote host closed the connection]
linduxed has quit [Ping timeout: 245 seconds]
bruno- has quit [Ping timeout: 245 seconds]
kirun has joined #ruby
Kuda has joined #ruby
moritzs has joined #ruby
HelperW_ has quit [Read error: Connection reset by peer]
moritzschaefer has joined #ruby
HelperW_ has joined #ruby
pen has quit [Quit: Leaving]
Jackneill has quit [Ping timeout: 244 seconds]
pen has joined #ruby
pen has quit [Max SendQ exceeded]
pen has joined #ruby
awestroke has quit [Remote host closed the connection]
pen has quit [Max SendQ exceeded]
pen has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
linduxed has joined #ruby
yo61 has joined #ruby
diegoviola has quit [Remote host closed the connection]
nfk has joined #ruby
timgauthier is now known as timgauthier_isaw
timgauthier_isaw has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<last_staff>
$script is a script block of the type $script =<<EOF
HelperW_ has quit [Read error: Connection reset by peer]
<last_staff>
and in it I'm using $1 to get the variable...which returns an empty thingamageegee
HelperW__ has joined #ruby
<apeiros>
$vars are globals
<apeiros>
$1-$9 are special. you can't set them yourself. and I think ruby tells you so.
<apeiros>
and the "type" of <<EOF is String
HelperW__ has quit [Client Quit]
mikepack has joined #ruby
<last_staff>
so I'm basically asking everywhere since it could be a powershell thing, or a vagrantfile thing, could be a remoting thing, a mixture of the lot
HelperW__ has joined #ruby
<last_staff>
right. more context
<last_staff>
the contents of $script is powershell, which is sent remotely to the guest machine
<last_staff>
agh, why I no understand this
AFKGeek has quit [Quit: Leaving]
<last_staff>
thanks for the <<EOF type though
<last_staff>
is it always string, or are variable expansions allowed - when doing regular programming and not mixing up environments?
artm has joined #ruby
<Mia>
Guys I'm learning ruby - here is a minor question:
<Mia>
is splat! useful?
jhass|off is now known as jhass
<last_staff>
if you're making ketchup it's very useful
<Mia>
this is the firs time I see it, and it feels like feeding an array into a method
mrbubbles has joined #ruby
HelperW__ has quit [Ping timeout: 260 seconds]
<Mia>
I mean, why would I need it if I cn feed an array and do .each anyway?
krisquigley has joined #ruby
mikepack has quit [Ping timeout: 260 seconds]
<last_staff>
oh, that's what it is
<last_staff>
from what I'm reading, you don't need to do each if you're doing a splat
<Mia>
apeiros, yes, my question is, would something like this work (or how would)
duncannz has quit [Ping timeout: 240 seconds]
Rhainur has joined #ruby
<apeiros>
"like this"? like what?
<Mia>
def greetings (greetword, *names, ending)
<apeiros>
last_staff: "is it always string, or are variable expansions allowed" - yes it is always a string. not sure what you mean by variable expansions.
<Mia>
I mean if it's in the middle, how would it work
tanath_ has joined #ruby
<Mia>
That's a pointless question maybe?
jottr has joined #ruby
<Mia>
or is it possible to se two of them in a single method?
<apeiros>
last_staff: if you mean string interpolation. yes. x = <<EOF; #{some_expression}; EOF # is valid - ; is a real newline here
<apeiros>
Mia: I think as of 1.9, putting it in the middle is valid
MasterPiece has quit [Quit: Leaving]
<Mia>
like def mix (*a, *b )
<apeiros>
Mia: and it'd work by first processing required values
<apeiros>
and no, 2 would not work as it would not make sense to begin with
MasterPiece has joined #ruby
MasterPiece has quit [Client Quit]
<last_staff>
Nice
<Mia>
apeiros, so how do you feed the values for the example that has values in the midle
<last_staff>
hmm, maybe if...
<Mia>
I mean, does it get the last one as the "last" and the rest as "in the middle" ?
<apeiros>
def foo(a, *x, c) # first value goes to a, last value goes to c, rest goes to x
<last_staff>
Nowaker: "orm" as in object-relational mapping?
<Nowaker>
yes
Jackneill has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Read error: Connection reset by peer]
<last_staff>
hadn't thought about it....so both
fabrice31 has joined #ruby
<last_staff>
2 new things, right in the backlog
rlvm has joined #ruby
<last_staff>
brb afk
fabrice31 has quit [Read error: Connection reset by peer]
fabrice31 has joined #ruby
<Nowaker>
last_staff: so you dont have specific requirements, so do have a look at data mapper plus sqlite.
tessi is now known as tessi_zz
lolmaus_ has quit [Read error: Connection reset by peer]
Kricir has quit [Ping timeout: 245 seconds]
skaflem has joined #ruby
krisquigley has quit [Remote host closed the connection]
subopt has quit [Remote host closed the connection]
krisquigley has joined #ruby
subopt has joined #ruby
angusiguess has joined #ruby
MasterPiece has quit [Quit: Leaving]
MasterPiece has joined #ruby
banister has joined #ruby
rlvm has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 244 seconds]
krisquigley has quit [Ping timeout: 260 seconds]
havenwood has joined #ruby
<havenwood>
turk5nag
fabrice31 has joined #ruby
<havenwood>
good morning rather
ARCADIVS has joined #ruby
fgo has joined #ruby
benzrf|offline is now known as benzrf
lxsameer has quit [Quit: Leaving]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mastr_bennett[x] has joined #ruby
ndrei has joined #ruby
Jackneill has joined #ruby
St_Marx has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 244 seconds]
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nettoweb has joined #ruby
MasterPiece has quit [Quit: Leaving]
MasterPiece has joined #ruby
codecop has quit [Remote host closed the connection]
hellangel7 has quit [Max SendQ exceeded]
HelperW___ has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
<last_staff>
bk
fabrice31 has joined #ruby
<last_staff>
Nowaker: sort of, yeah. Basically I don't know what I'm going to need in the future. At some point some db-heavy applications will get mobile interfaces, and some of the databases will most likely go in sqlite files
<last_staff>
Also I don't know how I'm gonna connect to them
<last_staff>
so the overall requirement at the moment is 'how do I connect to sqlite through X'
<last_staff>
where X can be java, python, batch, .net, etc.
mastr_bennett[x] has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
HelperW____ has joined #ruby
fabrice31_ has joined #ruby
HelperW___ has quit [Ping timeout: 260 seconds]
fabrice31_ has quit [Read error: Connection reset by peer]
arup_r has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
arup_r1 has joined #ruby
fabrice31_ has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
MaciejCzyzewski has joined #ruby
MaciejCzyzewski has quit [Client Quit]
timonv^ has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
AndChat|329121 has quit [Quit: Bye]
AndChat|329121 has joined #ruby
timonv_ has quit [Ping timeout: 260 seconds]
MaciejCzyzewski has joined #ruby
AndChat|329121 has quit [Read error: Connection reset by peer]
banister has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
AndChat|329121 has joined #ruby
tessi_zz is now known as tessi
fabrice31 has joined #ruby
MasterPiece has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
MasterPiece has joined #ruby
MasterPiece has quit [Remote host closed the connection]
zz_jrhorn424 is now known as jrhorn424
fabrice31_ has joined #ruby
fabrice31 has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
bmurt has joined #ruby
fabrice31 has joined #ruby
fabrice31_ has quit [Read error: Connection reset by peer]
<shevy>
ahhh
<shevy>
we need more ruby
<shevy>
we need more pretties
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<lukevinc>
without sudo, theres no permission to save in /usr
bmurt has quit [Ping timeout: 272 seconds]
ndrei has quit [Ping timeout: 272 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<lukevinc>
You don't have write permissions for the /usr/local/lib/ruby/gems/2.1.0 directory.
kaspertidemann has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
yeticry has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
hamakn has quit [Remote host closed the connection]
angusiguess has quit [Ping timeout: 260 seconds]
hamakn has joined #ruby
krisquigley has quit [Ping timeout: 260 seconds]
WormDrink has joined #ruby
abdulsattar has quit [Ping timeout: 244 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
HelperW____ has joined #ruby
ceej has joined #ruby
<lukevinc>
damn, it's not working
Sht0 has quit [Ping timeout: 272 seconds]
hamakn has quit [Ping timeout: 260 seconds]
<last_staff>
use windows instead
<last_staff>
then you don't have to sudo
yfeldblum has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<sevenseacat>
well whos fault is that for installing ruby into a place that requires sudo
Spami has quit [Quit: This computer has gone to sleep]
<lukevinc>
/usr/local/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- sqlite3 (LoadError)
HelperW____ has quit [Ping timeout: 250 seconds]
<lukevinc>
windows, pfffft, hell, do you use windows, really?
<centrx>
You need some Windex
HelperW____ has joined #ruby
ndrei has joined #ruby
Xeago has quit [Remote host closed the connection]
mroth has joined #ruby
abdulsattar has joined #ruby
<lukevinc>
what is it?
yfeldblum has quit [Ping timeout: 272 seconds]
<centrx>
Are your windows foggy?
Ludicrou_ has quit [Remote host closed the connection]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LudicrousMango has joined #ruby
HelperW____ has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
jusmyth1 has left #ruby [#ruby]
<last_staff>
lukevinc: "do you use windows, really" I'm forced to, so yeah
<last_staff>
my point still stands though. On windows you don't need sudo
<last_staff>
you do need a whole bunch of other stuff and configuration settings and whatnot....but not sudo
banister has quit [Read error: Connection reset by peer]
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
LudicrousMango has quit [Ping timeout: 260 seconds]
banister has joined #ruby
lw has joined #ruby
banister has quit [Client Quit]
<eam>
sure, on windows you use runas.exe
<eam>
worlds apart!
ndrei has quit [Ping timeout: 272 seconds]
bricker`LA has joined #ruby
mikepack has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ has joined #ruby
Phrogz_ is now known as Phrogz
last_staff has quit [Ping timeout: 246 seconds]
buub has joined #ruby
tonybird has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
tonybird has quit [Max SendQ exceeded]
angusiguess has joined #ruby
bricker`LA has quit [Ping timeout: 272 seconds]
<lukevinc>
i use windows only for games.
mikepack has quit [Ping timeout: 260 seconds]
jottr has quit [Read error: Connection reset by peer]
lukevinc has quit [Quit: ChatZilla 0.9.90.1 [Firefox 24.8.0/20000101000000]]
last_staff has joined #ruby
jottr has joined #ruby
voodoofish1 has joined #ruby
MaciejCzyzewski has joined #ruby
ndrei has joined #ruby
arrubin has joined #ruby
voodoofish has quit [Ping timeout: 244 seconds]
banister has joined #ruby
timonv_ has joined #ruby
endash has joined #ruby
angusiguess has quit [Ping timeout: 245 seconds]
sdwrage has joined #ruby
sdwrage_ has joined #ruby
boombadaroomba has joined #ruby
banister_ has joined #ruby
banister_ has quit [Max SendQ exceeded]
ndrei has quit [Ping timeout: 245 seconds]
banister has quit [Read error: Connection reset by peer]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
ndrei has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
timonv_ has quit [Ping timeout: 260 seconds]
boombadaroomba has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Kricir has joined #ruby
matti has quit [Quit: Reconnecting]
matti has joined #ruby
sevenseacat has quit [Remote host closed the connection]
geggam has quit [Remote host closed the connection]
entrenador has joined #ruby
banister has joined #ruby
geggam has joined #ruby
bricker`LA has joined #ruby
entrenador has quit [Client Quit]
entrenador has joined #ruby
kobain has joined #ruby
<MaciejCzyzewski>
Hi folks!
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thomasxie has left #ruby [#ruby]
fgo has joined #ruby
solo_ has joined #ruby
peterhellberg has joined #ruby
ndrei has quit [Ping timeout: 245 seconds]
andrewstewart has joined #ruby
<certainty>
yow
ndrei has joined #ruby
<solo_>
Is there a preferred directory to put config files in when shipping a gem? Say, a json file the gem will consume. share folder?
yfeldblum has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
oleo__ is now known as oleo
klmlfl has joined #ruby
<rg4>
solo_, is the user gonna edit the file or is it just for the gem to parse?
<solo_>
It's going to be used as a template, so the user will do "mygem template <templatename>"
<solo_>
and i just wanna copy this file and name it <templatename>
<solo_>
so, no they shouldn't edit it directly.
HelperW____ has joined #ruby
wald0 has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
<rg4>
just make sure you package it with the gem then, and copy it over later, i don't think there is a standard name for data dirs, i'd just 'templates/' or 'data/'.
<rg4>
just use^
<solo_>
okay.
<solo_>
thanks
timonv_ has joined #ruby
HelperW____ has quit [Ping timeout: 272 seconds]
HelperW____ has joined #ruby
tessi is now known as tessi_zz
kaffepan1a has quit [Remote host closed the connection]
entrenador has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
hmsimha_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
sdwrage_ has quit [Quit: This computer has gone to sleep]
sdwrage has quit [Quit: This computer has gone to sleep]
Kricir has joined #ruby
zeroNones has joined #ruby
slester has quit [Quit: Quitte]
Kricir has quit [Read error: Connection reset by peer]
<shevy>
solo_ I would call the directory config/
Kricir has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
centrx has quit [Quit: The plan is programmed into every one of my one thousand robots]
<solo_>
shevy: Yeah, I read that a couple places (config, shared, or data). Didn't know which one was best, looked at some projects on github, but none of them did this.
<solo_>
It's not really a config file though, so I'm wondering if data would be?
HelperW____ has quit [Ping timeout: 272 seconds]
bdnelson has joined #ruby
<solo_>
I will also need a config file though, so maybe I'll just throw both in there for simplicity.
bdnelson has quit [Remote host closed the connection]
bdnelson has joined #ruby
charliesome has joined #ruby
zeroNones has quit [Client Quit]
endash has quit [Quit: endash]
gvenkat has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
jottr has quit [Ping timeout: 260 seconds]
sdwrage_ has joined #ruby
sdwrage has joined #ruby
Asher has quit [Quit: Leaving.]
chipotle has joined #ruby
bluehavana has joined #ruby
Phrogz has quit [Remote host closed the connection]
MasterPiece has quit [Quit: Leaving]
banister has joined #ruby
codezomb has quit [Ping timeout: 272 seconds]
MaciejCzyzewski has joined #ruby
charliesome has quit [Quit: zzz]
lkba has joined #ruby
synergyz has quit [Read error: Connection reset by peer]
gvenkat has quit [Quit: This computer has gone to sleep]
wallerdev has joined #ruby
charliesome has joined #ruby
dx7 has joined #ruby
angusiguess has joined #ruby
synergyz has joined #ruby
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
dx7 has quit [Ping timeout: 272 seconds]
ndrei has joined #ruby
angusiguess has quit [Ping timeout: 258 seconds]
bthesorceror has joined #ruby
Scripore has quit [Ping timeout: 258 seconds]
zeroNones has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SilkFox_ has joined #ruby
buub has quit [Read error: Connection reset by peer]
havenwood has quit [Ping timeout: 264 seconds]
hooper has joined #ruby
buub has joined #ruby
nessib_ has joined #ruby
rkalfane has joined #ruby
{xenomorph} is now known as xenomorph
hmsimha_ has quit [Ping timeout: 260 seconds]
Koshian has quit [Ping timeout: 260 seconds]
xenomorph is now known as {xenomorph}
nessib_ has quit [Client Quit]
benzrf is now known as benzrf|offline
timonv_ has quit [Remote host closed the connection]
benzrf|offline is now known as benzrf
timonv_ has joined #ruby
GGMethos has quit [Ping timeout: 272 seconds]
jottr has joined #ruby
krisquigley has joined #ruby
gvenkat has joined #ruby
emmesswhy has joined #ruby
kaspertidemann has quit []
cpruitt has quit [Quit: cpruitt]
kireevco has joined #ruby
webgen has joined #ruby
banister has joined #ruby
jottr has quit [Ping timeout: 272 seconds]
iamjarvo has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
tectonic has joined #ruby
m8 has quit [Quit: Sto andando via]
yfeldblum has joined #ruby
klmlfl has quit [Remote host closed the connection]
axsuul has joined #ruby
fgo has joined #ruby
ndrei has quit [Ping timeout: 250 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fabrice31 has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
yfeldblum has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 245 seconds]
gvenkat has joined #ruby
IceDragon has quit [Ping timeout: 272 seconds]
phoo1234567 has joined #ruby
HelperW____ has joined #ruby
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
webgen has quit [Quit: Leaving]
endash has joined #ruby
St_Marx has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
tkuchiki has quit [Remote host closed the connection]
HelperW____ has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Remote host closed the connection]
GGMethos has joined #ruby
SilkFox_ has quit [Ping timeout: 244 seconds]
HelperW____ has quit [Ping timeout: 260 seconds]
hellangel7 has joined #ruby
Kilo`byte has quit [Ping timeout: 272 seconds]
krisquigley has quit [Remote host closed the connection]
ducklobster has quit [Remote host closed the connection]
shock_one has joined #ruby
SilkFox_ has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
patronus_ has joined #ruby
hellangel7 has joined #ruby
Apocalypse has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
marahin has quit [Ping timeout: 245 seconds]
wookiehangover_ has joined #ruby
Hobogrammer has joined #ruby
Apocalypse has joined #ruby
marahin has joined #ruby
Platini has quit [Ping timeout: 245 seconds]
marahin is now known as Guest96667
xxi has joined #ruby
flori_ has joined #ruby
masak has quit [Ping timeout: 245 seconds]
Sp4rKy has quit [Ping timeout: 245 seconds]
Anarch has quit [Ping timeout: 245 seconds]
hellangel7 has quit [Max SendQ exceeded]
mbwe has quit [Ping timeout: 245 seconds]
yliu has quit [Ping timeout: 245 seconds]
hellangel7 has joined #ruby
Anarch has joined #ruby
kriskrop1 has joined #ruby
yliu has joined #ruby
rs0_ has joined #ruby
kenneth has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
jay__ has joined #ruby
AndChat|329121 has quit [Quit: Bye]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hellangel7 has quit [Max SendQ exceeded]
shock_one has quit [*.net *.split]
Phrogz_ has quit [*.net *.split]
cirn0 has quit [*.net *.split]
bruno- has quit [*.net *.split]
adac has quit [*.net *.split]
Tomme has quit [*.net *.split]
jpinnix____ has quit [*.net *.split]
akitada__ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
chihhsin has quit [*.net *.split]
m4rCsi has quit [*.net *.split]
germanstudent has quit [*.net *.split]
rg4 has quit [*.net *.split]
farn has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Jelco has quit [*.net *.split]
kriskropd has quit [*.net *.split]
ltd has quit [*.net *.split]
crazydiamond has quit [*.net *.split]
andrewbredow has quit [*.net *.split]
a13x212 has quit [*.net *.split]
vieq has quit [*.net *.split]
mg^^ has quit [*.net *.split]
wang has quit [*.net *.split]
xybre has quit [*.net *.split]
zmyrgel has quit [*.net *.split]
willgorm- has quit [*.net *.split]
nopc0de has quit [*.net *.split]
deavid has quit [*.net *.split]
jamespw has quit [*.net *.split]
rs0 has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
Pro| has quit [*.net *.split]
saltsa has quit [*.net *.split]
ryotarai has quit [*.net *.split]
csfrancis has quit [*.net *.split]
j416 has quit [*.net *.split]
klaas has quit [*.net *.split]
ineb has quit [*.net *.split]
ClarusCogitatio has quit [*.net *.split]
stnly has quit [*.net *.split]
sweeper has quit [*.net *.split]
ejnahc has quit [*.net *.split]
regedarek has quit [*.net *.split]
wookiehangover has quit [*.net *.split]
flori has quit [*.net *.split]
SirFunk has quit [*.net *.split]
ccooke has quit [*.net *.split]
d4nku_ has quit [*.net *.split]
brandon_2 has quit [*.net *.split]
parus has quit [*.net *.split]
daed has quit [*.net *.split]
Rylee has quit [*.net *.split]
bhaak has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
Scient has quit [*.net *.split]
crome has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
eam has quit [*.net *.split]
aep has quit [*.net *.split]
Rennex has quit [*.net *.split]
davidcelis has quit [*.net *.split]
bmn has quit [*.net *.split]
ixx has quit [*.net *.split]
patronus has quit [*.net *.split]
n88 has quit [*.net *.split]
quarcu has quit [*.net *.split]
y_nk has quit [*.net *.split]
Cope has quit [*.net *.split]
wmoxam has quit [*.net *.split]
jblancett has quit [*.net *.split]
dacamp has quit [*.net *.split]
EvanGuru has quit [*.net *.split]
Numdox has quit [*.net *.split]
yasu has quit [*.net *.split]
wlanboy has quit [*.net *.split]
three18t- has quit [*.net *.split]
crazysim has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
miah has quit [*.net *.split]
eythoriu1 has quit [*.net *.split]
cout has quit [*.net *.split]
neoice has quit [*.net *.split]
segv has quit [*.net *.split]
wookiehangover_ is now known as wookiehangover
hellangel7 has joined #ruby
Sp4rKy has joined #ruby
maestrojed has joined #ruby
yasu has joined #ruby
overflow has joined #ruby
overflow has quit [Client Quit]
slester has joined #ruby
despai has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
<despai>
hello. Someone using grape + swagger ui? I need to add the api_key parameter not only to the swagger endpoint, but also to the endpoints of my api
<despai>
anybody has any idea how?
hellangel7 has joined #ruby
lowandslow_ has joined #ruby
ndrei has joined #ruby
SilkFox_ has quit [Ping timeout: 260 seconds]
hellangel7 has quit [Max SendQ exceeded]
bjeanes has joined #ruby
<Hanmac>
banister: does one of your gems use C-API with Data_Wrap_Struct and Data_Get_Struct? you might need to rewrite that because they might be deprecated in the future
lowandslow_ has quit [Client Quit]
lowandslow has quit [Quit: Leaving]
lowandslow has joined #ruby
danguita has left #ruby ["WeeChat 0.4.2"]
mbwe has joined #ruby
<banister>
Hanmac secret
yfeldblum has joined #ruby
Phrogz_ has joined #ruby
Tomme has joined #ruby
bruno- has joined #ruby
shock_one has joined #ruby
chihhsin has joined #ruby
cirn0 has joined #ruby
vieq has joined #ruby
saltsa has joined #ruby
klaas has joined #ruby
crazydiamond has joined #ruby
adac has joined #ruby
jblancett has joined #ruby
nopc0de has joined #ruby
germanstudent has joined #ruby
willgorm- has joined #ruby
yxhuvud has joined #ruby
jpinnix____ has joined #ruby
m4rCsi has joined #ruby
lifenoodles has joined #ruby
mg^^ has joined #ruby
stnly has joined #ruby
csfrancis has joined #ruby
akitada__ has joined #ruby
zmyrgel has joined #ruby
Jelco has joined #ruby
masak_ has joined #ruby
rg4 has joined #ruby
a13x212 has joined #ruby
farn has joined #ruby
xybre has joined #ruby
Pro| has joined #ruby
deavid has joined #ruby
ryotarai has joined #ruby
connor_goodwolf has joined #ruby
ltd has joined #ruby
j416 has joined #ruby
ineb has joined #ruby
wang has joined #ruby
jamespw has joined #ruby
andrewbredow has joined #ruby
daed has joined #ruby
regedarek has joined #ruby
sweeper has joined #ruby
SirFunk has joined #ruby
brandon_2 has joined #ruby
crome has joined #ruby
Rennex has joined #ruby
parus has joined #ruby
bhaak has joined #ruby
EvanGuru has joined #ruby
quarcu has joined #ruby
Scient has joined #ruby
segv has joined #ruby
IceyEC_ has joined #ruby
three18t- has joined #ruby
ejnahc has joined #ruby
wmoxam has joined #ruby
y_nk has joined #ruby
eam has joined #ruby
Rylee has joined #ruby
miah has joined #ruby
davidcelis has joined #ruby
eythoriu1 has joined #ruby
neoice has joined #ruby
cout has joined #ruby
d4nku_ has joined #ruby
ccooke has joined #ruby
mhenrixon has joined #ruby
Cope has joined #ruby
okinomo_ has joined #ruby
aep has joined #ruby
wlanboy has joined #ruby
Numdox has joined #ruby
bmn has joined #ruby
dacamp has joined #ruby
n88 has joined #ruby
ClarusCogitatio has joined #ruby
crazysim has joined #ruby
perrier has quit [Read error: Connection reset by peer]
Platini has joined #ruby
moritzschaefer has quit [Quit: Verlassend]
moritzs has quit [Quit: Verlassend]
<Hanmac>
banister: just saying you might update the code to use TypedData_Wrap_Struct ... that is a bit different ...
ndrei has quit [Ping timeout: 246 seconds]
<banister>
Hanmac write a blog post on it to explain to a cutie like me
kaspergrubbe_ has joined #ruby
IceDragon has joined #ruby
ta has joined #ruby
<Hanmac>
hm i might do it ... after i did understand it myself ;P
yfeldblum has quit [Ping timeout: 260 seconds]
<banister>
Hanmac can you speak to me in german
skysploit has joined #ruby
skysploit has quit [Changing host]
skysploit has joined #ruby
bthesorceror has joined #ruby
fgo has joined #ruby
kriskrop1 is now known as kriskropd
tectonic has quit []
AlexRussia_ has joined #ruby
kriskropd has quit [Changing host]
kriskropd has joined #ruby
Scripore has joined #ruby
mclosson has joined #ruby
kristofferR has quit [Ping timeout: 260 seconds]
fgo has quit [Ping timeout: 246 seconds]
<wasamasa>
nein
Takle has joined #ruby
kobain has joined #ruby
gvenkat has quit [Quit: This computer has gone to sleep]
kobain has quit [Max SendQ exceeded]
AtumT has joined #ruby
kobain has joined #ruby
hiyosi has quit [Ping timeout: 258 seconds]
HelperW____ has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
cirn0 has quit [Remote host closed the connection]
Zesty has joined #ruby
^42 is now known as Snowstormer
Snowstormer is now known as ^42
Zesty has quit [Client Quit]
yeticry has quit [Ping timeout: 250 seconds]
koderok has joined #ruby
koderok has quit [Remote host closed the connection]
arup_r1 has quit [Quit: Leaving.]
yeticry has joined #ruby
mclosson has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
larissa has joined #ruby
gsd has joined #ruby
HelperW____ has quit [Ping timeout: 260 seconds]
d2dchat has joined #ruby
HelperW____ has joined #ruby
d2dchat has quit [Remote host closed the connection]
buub has quit [Ping timeout: 272 seconds]
ddfreyne has quit [Quit: Changing server]
tectonic has joined #ruby
agjacome has joined #ruby
ner0x has joined #ruby
kireevco has quit [Quit: Leaving.]
zeroNones has joined #ruby
xcv has joined #ruby
claymore has joined #ruby
mclosson has quit [Ping timeout: 258 seconds]
tskogberg has quit [Ping timeout: 245 seconds]
tskogberg has joined #ruby
bruno- has joined #ruby
timonv_ has quit [Remote host closed the connection]
HelperW____ has quit [Ping timeout: 260 seconds]
bricker`LA has quit [Ping timeout: 245 seconds]
neersighted has quit [Remote host closed the connection]
dx7 has joined #ruby
benzrf is now known as benzrf|offline
bove has joined #ruby
petersaints has joined #ruby
dx7 has quit [Ping timeout: 260 seconds]
neersighted has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
hooper has quit [Quit: Leaving.]
Alina-malina has joined #ruby
benzrf|offline is now known as benzrf
krisquigley has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Skyler has joined #ruby
mityaz has quit [Ping timeout: 260 seconds]
govg has quit [Remote host closed the connection]
angusiguess has joined #ruby
jay__ is now known as rubyonrailed
krisquigley has quit [Ping timeout: 258 seconds]
cirn0 has joined #ruby
angusiguess has quit [Ping timeout: 250 seconds]
tanath_ is now known as tanath
bbloom has quit [Ping timeout: 272 seconds]
bbloom has joined #ruby
earfin has joined #ruby
mclosson has joined #ruby
<crome>
does anyone work either on a toshiba z30 or on a dell e7440?
Jackneill has quit [Quit: Leaving]
cirn0 has quit [Ping timeout: 272 seconds]
zeroNones has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta has quit [Read error: Connection reset by peer]
ta___ has joined #ruby
ringarin has joined #ruby
yfeldblum has joined #ruby
Cache_Money has joined #ruby
bluOxigen has joined #ruby
tarcwynne__ has joined #ruby
nicksanford has joined #ruby
patrick99e99 has joined #ruby
BBBThunda has quit [Read error: Connection reset by peer]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia_ has quit []
mityaz has joined #ruby
AlexRussia_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
agjacome has quit [Quit: leaving]
agjacome has joined #ruby
AlexRussia_ has quit [Client Quit]
mclosson has quit [Ping timeout: 244 seconds]
patrick99e99 has quit [Ping timeout: 272 seconds]
SilkFox_ has joined #ruby
AlexRussia_ has joined #ruby
Rollabunna has joined #ruby
* wasamasa
stares blankly at crome
AlexRussia_ is now known as AlexRussia
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
* crome
pokes wasamasa with a stick
<wasamasa>
proceed with your actual question
Cache_Money has joined #ruby
charliesome has quit [Quit: zzz]
zz_jrhorn424 is now known as jrhorn424
AlexRussia has quit [Client Quit]
<shevy>
I work on a normal desktop machine
<shevy>
next question
<shevy>
I just woke up
Plastic_Chicken has joined #ruby
earfin has quit [Remote host closed the connection]
<shevy>
solo_ well, if it is yaml, I usually store it into a dir called yaml
fgo has joined #ruby
AlexRussia has joined #ruby
neersighted has quit [Remote host closed the connection]
<solo_>
yeah, it's not
<solo_>
it's my own markup
<shevy>
I wrote one class, Configuration, that reads in a directory of yaml files, and uses that to set its members like an OpenStruct object
<shevy>
so I can then do: config.debug = true
<shevy>
rather than keep an extra @debug variable
Plastic_Chicken has left #ruby [#ruby]
<crome>
wasamasa: im just trying to figure out which one i should buy
<shevy>
crome both
<crome>
i dont need both ;<
kireevco has joined #ruby
zeroNones has joined #ruby
<wasamasa>
crome: buy an used thinkpad
robustus has quit [Ping timeout: 250 seconds]
<crome>
dont confuse me
starless has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
hiyosi has joined #ruby
bogeyd6 has quit [Read error: Connection reset by peer]
<solo_>
wooho this worked
neersighted has joined #ruby
<shevy>
solo_ yeah, strangely enough, I distribute the yaml/ directory in my lib/ subdirectory of a gem project
<shevy>
a few days ago I found out that you can get the sitedir lib of ruby
<shevy>
I always used Pathname instead, but I hate pathname so much
* solo_
has only been doing for 2 days, not familiar with some of this jargon
<solo_>
wait so what does that return?
<shevy>
a string that holds the sitedir lib
Takle_ has quit [Read error: Connection reset by peer]
<shevy>
on my system it returns exactly "/Programs/Ruby/2.1.3/lib/ruby/site_ruby/2.1.0"
Takle has joined #ruby
<shevy>
oh interesting
<solo_>
Oh, not familiar with what that is.
HelperW____ has joined #ruby
<shevy>
that one should actually read "/Programs/Ruby/Current/lib/ruby/site_ruby/2.1.0" where Current simply denotes which version is in active use
<shevy>
but obviously I am on ruby 2.1.3
mistergibson has joined #ruby
<shevy>
on traditional /usr --prefix this should return: "/usr/lib/ruby/site_ruby/2.1.0"
<shevy>
so if you have a gem called foobar
gvenkat has joined #ruby
<shevy>
you should get a string called "/usr/lib/ruby/site_ruby/2.1.0/foobar"
robustus has joined #ruby
<shevy>
or rather, you can build one
maestrojed has quit [Quit: Computer has gone to sleep.]
hiyosi has quit [Ping timeout: 258 seconds]
<solo_>
so is that just returning the root of said gem?
AlexRussia has quit []
chipotle has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
chipotle has joined #ruby
HelperW____ has quit [Ping timeout: 240 seconds]
<shevy>
well the sitedir path actually
HelperW____ has joined #ruby
<shevy>
but that is like 99% of the time the main path under which a project will be installed to
<shevy>
two files would be there
<shevy>
first, well, the directory "file" of the project, so foobar/
<shevy>
and also foobar.rb
tkuchiki has joined #ruby
<shevy>
there also is a funny file called "ubygems.rb"
MaciejCzyzewski has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
ner0x has quit [Ping timeout: 260 seconds]
codezomb has joined #ruby
angusiguess has joined #ruby
hooper has joined #ruby
aspires has joined #ruby
kireevco has quit [Quit: Leaving.]
<solo_>
man ruby is *really* nice
<solo_>
so little can do so much
HelperW____ has quit [Ping timeout: 260 seconds]
KLVTZ has joined #ruby
tkuchiki has quit [Ping timeout: 272 seconds]
InhalingPixels has joined #ruby
d0lph1n99 has left #ruby [#ruby]
jheg has joined #ruby
d0lph1n99 has joined #ruby
threesixes has joined #ruby
<d0lph1n99>
anyone have tried exercism?
hilake has joined #ruby
<hilake>
quick ruby question
tectonic has quit []
<hilake>
I am having problems with the win32 installer
<hilake>
for version 2.1.3
larissa has quit [Quit: Leaving]
rubyonrailed has quit [Remote host closed the connection]
d0lph1n99 has left #ruby [#ruby]
peregrine81 has joined #ruby
peregrine81 is now known as jeregrine
ner0x has joined #ruby
pen has joined #ruby
crdpink2 has joined #ruby
crdpink has quit [Ping timeout: 258 seconds]
tessi_zz is now known as tessi
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pen has quit [Read error: Connection reset by peer]
asteros has joined #ruby
Phrogz_ is now known as Phrogz
<shevy>
I don't use windows
<shevy>
come to linux man
<hilake>
fair enough
<hilake>
I have some VMs
<Phrogz>
hilake: What kind of problems?
<shevy>
do older ruby versions work for you?
<hilake>
the "I agree" button doesnt work
<hilake>
Im trying the previous version new
<hilake>
now
asteros has quit [Client Quit]
AlexRussia has quit []
alexherbo2 has joined #ruby
Takle has quit [Ping timeout: 246 seconds]
asteros has joined #ruby
<hilake>
2.0 has the same problem
AlexRussia has joined #ruby
centrx has joined #ruby
<Phrogz>
hilake: Huh. I haven't had problems with any previous version on Windows, but I haven't installed 2.1.3 yet. I did install 2.0 with no such problem.
<hilake>
I am on windows 7 64x
claymore has quit [Ping timeout: 244 seconds]
despai has quit [Quit: This computer has gone to sleep]
nicksanford has left #ruby ["WeeChat 1.0"]
skysploit has quit [Read error: Connection reset by peer]
claymore has joined #ruby
Darryl has quit [Quit: Connection closed for inactivity]
boombadaroomba has joined #ruby
zeroNone_ has joined #ruby
jonr22 has joined #ruby
yfeldblum has joined #ruby
jeregrine has quit []
melik has joined #ruby
AlexRussia has quit [Remote host closed the connection]
AlexRussia has joined #ruby
melik has quit [Client Quit]
zeroNones has quit [Ping timeout: 272 seconds]
Nieralyte has joined #ruby
Pupeno has joined #ruby
boombadaroomba has quit [Ping timeout: 244 seconds]
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 250 seconds]
ndrei has joined #ruby
lewix has quit [Remote host closed the connection]
<hilake>
linux time
tanath has quit [Remote host closed the connection]
seamon has joined #ruby
<benzrf>
I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/LInux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.
<benzrf>
Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called “Linux”, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.
<benzrf>
There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself;
<benzrf>
it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called “Linux” distributions are really distributions of GNU/Linux.
tanath has joined #ruby
<centrx>
thx
<hilake>
GNU\Linux time
tectonic has joined #ruby
jrhorn424 is now known as zz_jrhorn424
<fennec>
benzrf- Paste >3 lines of text as a gist please
<fennec>
per /topic
kaspergrubbe_ has quit [Remote host closed the connection]
<eam>
git may be GPL but github is not please don't encourage us to abandon our Freedoms
<eam>
sorry GNU/GPL
MrBoolean has joined #ruby
<benzrf>
( ͡~ ͜ʖ ͡°)
* Nilium
stares
<riceandbeans>
you know what's easier than all that, just using BSD instead
<fennec>
you're welcome to use another host naturally
<Nilium>
Use the Boost license.
<centrx>
Any OS not based on GNU/Haskell sucks
* Nilium
throws centrx in the incinerator
<hilake>
this is by far the nerdiest slap fight I have ever seen
<eam>
I run GNU/Hurd to head off any confusion
<benzrf>
eam: you mean just GNU
<riceandbeans>
no you don't
<Nilium>
centrx had an unrecoverable kernel failure, we're disposing of him
<benzrf>
the /HURD is redundant
<riceandbeans>
GNU/Hurd doesn't fully work
<riceandbeans>
and it's only 32bit
<riceandbeans>
development has been dead for years
<Nilium>
LET'S TALK ABOUT BEOS.
<eam>
look if it's GNU/Linux it's gotta be GNU/Hurd
kaspergrubbe_ has joined #ruby
<centrx>
hurd is alive and well in Debian! sort of
<Nilium>
Or I guess Haiku nowadays
<riceandbeans>
Hurd is the kernel
<benzrf>
sometimes i have these nightmares of Hurd finally being finished and the mainstream media reporting on 'The new computer system GNU, a new alternative to Linux'
<eam>
I’d just like to interject for a moment. What you’re refering to as Hurd, is in fact, GNU/Hurd, or asI’ve recently taken to calling it, GNU plus Hurd.
MaciejCzyzewski has joined #ruby
<riceandbeans>
Hurd stopped because Linux gained popularity
<Nilium>
This is too much for me
<Nilium>
Too much
<Nilium>
You're all going in the incinerator
rkalfane has joined #ruby
ruukasu has joined #ruby
<riceandbeans>
no, I'm referring specifically to the kernel and nothing but right now
<centrx>
Colonel Who?
<ruukasu>
riceandbeans: obviously not true
<eam>
how many rubygems have been released under the Perl artistic license?
<Nilium>
I care less about Ruby specifically and more about the syntax and semantics
<Nilium>
Gems don't matter all that much because Ruby is NIH syndrome hell
Phrogz has quit []
<Nilium>
Not as bad as node.js at least
<riceandbeans>
NIH?
<Nilium>
Or web dev in general.
<Nilium>
Not-invented-here
<riceandbeans>
don't get it
<Nilium>
People tend toward rebuilding their wheels because they want a wheel that does a specific thing
<riceandbeans>
you're saying ruby core doesn't have anything useful?
<ruukasu>
<eam> look if it's GNU/Linux it's gotta be GNU/Hurd
odlox has joined #ruby
<riceandbeans>
or people never use other people's gems and basically write their own libs
<Nilium>
The latter.
relix has joined #ruby
fgo has joined #ruby
<riceandbeans>
righ
<ruukasu>
eam: I'll go tell the FreeBSD folks that they've got it all wrong and tell them to register FreeBSD/kFreeBSD at once
<Nilium>
The core —not counting the stdlib — is fine.
<Nilium>
The stdlib is worse off because it's a maze of crap that people just shoved in there and failed to maintain.
<eam>
ruukasu: BSD/FreeBSD
seamon has quit [Quit: Bye]
<riceandbeans>
eam: that's not accurate
<eam>
it is now that clang is a thing
<ruukasu>
eam: FreeBSD has its own self-titled userland
seamon has joined #ruby
<riceandbeans>
eam: you do realize that the different BSDs have diffenent userlands, right?
<solo_>
Is there some kind of static analyzer that can parse my code and tell me what the lowest ruby version I can support is?
<centrx>
zorak8, map and collect are identical for objects of type Array and Enumerable, maybe the arguments being passed there are of a different type
<ruukasu>
userland is FreeBSD, kernel is kFreeBSD, combination is FreeBSD
<eam>
riceandbeans: I know nothing; this is fascinating, please explain
<Nilium>
solo_: No, you should just pick one.
<benzrf>
>mfw ruukasu jumps into my flame wars
<Nilium>
Static analysis wouldn't really tell you enough to figure out, say, behavioral differences in methods and operators
<eam>
ruukasu: but before clang it would be GNU/BSD/kFreeBSD by your logic?
<Nilium>
Like how Ruby 1.8 or whatever's String#[] would return integers while 1.9 onward return strings.
<ruukasu>
top gec
<Nilium>
You only really get that by running the code and seeing, oh, my code's broken
seamon has quit [Client Quit]
<solo_>
Agreed, but you got what I was after. Hmm. Is there a general one people try to support?
<Nilium>
In most cases you can just support 1.9 as a minimum.
<solo_>
^
<solo_>
thanks
seamon has joined #ruby
<shevy>
solo_ I usually go for the latest ruby
skammer1 has joined #ruby
<solo_>
hah
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium>
The difference between 1.9 and 2.0 is clearer and you'll ideally know when you're breaking compatibility if you make sure to read the changes between 1.9 and 2.x
<shevy>
I just can not be bothered mentally to have to write different code - 1.8. and 2.x era do not have the same valid syntax
<Nilium>
I just support 2.0 as a minimum even though most of my gems are probably 1.9-compatible.
Wolland has joined #ruby
<Nilium>
'Cause I really don't give a shit if you're too lazy to update.
<solo_>
Good motto.
<shevy>
just upgrade!
bthesorceror has quit [Quit: bthesorceror]
<eam>
I only support 1.8 because it changed too much since then
<Nilium>
Also, despite what people say, building Ruby from source is not hard.
MaciejCzyzewski has joined #ruby
fgo has quit [Ping timeout: 260 seconds]
<eam>
riceandbeans' name is making me hungry, I think I'm going to slow cook some beans
<Nilium>
I hope you choke on them for your Ruby 1.8 ways. ಠ_ಠ
<shevy>
eam there is another guy here like that
<shevy>
mozzarella
hiyosi has joined #ruby
seamon has quit [Client Quit]
<eam>
stop it
<shevy>
I always want italian cuisine when he writes something
<MaciejCzyzewski>
mozzarella?
<solo_>
Is there an automated test suite to run against different version of ruby? Or do i have to roll my own?
seamon has joined #ruby
<Nilium>
On the Ars Technica IRC we've got DrPizza/Burrito
<eam>
the thing about the beans is if I start soaking them now they won't be edible until tomorrow afternoon
<shevy>
solo_ I think you are the first man alive to want to try to have test suites cater towards different versions
<mozzarella>
wut
<MaciejCzyzewski>
I prefer pancakes ^^
<solo_>
Well, I want to take care of my users lol
<shevy>
don't make me hungry
<Nilium>
I want waffles
<eam>
belgian waffles?
<shevy>
solo_ let them complain about bugs
<Nilium>
Just straight waffles with syrup.
SilkFox_ has quit [Ping timeout: 260 seconds]
<MaciejCzyzewski>
waffles with jam_
<Nilium>
Syrup and butter, anyway.
<Nilium>
Nothing fancy.
<riceandbeans>
soak them in hot water
<solo_>
meh..I guess.
julian-delphiki has quit [Ping timeout: 272 seconds]
<shevy>
the syntax differences are not huge and it boils down to 99% of how you write your ruby code
<eam>
riceandbeans: that goes against everything I know
<shevy>
for instance, I always use: string[3,1] rather than string[3]
<riceandbeans>
am I the only ruby guy here who also really likes perl and hates python and php?
seamon has quit [Client Quit]
bdnelson has quit [Quit: Computer has gone to sleep.]
<Nilium>
I hate Python and PHP.
HelperW____ has joined #ruby
<eam>
riceandbeans: nope
<shevy>
solo_ you can get the ruby version from the constant RUBY_VERSION, and use that in any test code if you really must
<riceandbeans>
eam: I've never tried it but it sounds like it could work
<Nilium>
I don't really care for Perl but I haven't used it in over 10 years.
seamon has joined #ruby
bdnelson has joined #ruby
<eam>
hot water might lead to bacteria issues after a 24h soak
<MaciejCzyzewski>
I love python and ruby?
<MaciejCzyzewski>
It's wrong?
<riceandbeans>
MaciejCzyzewski: yes, very
<eam>
the thing I like most about ruby is how similar it is to perl
<hilake>
so im new here
<Nilium>
Incidentally, my work has me using PHP and node.js even though these exist nowhere on my resume and I'm learning them as I go.
i8igmac has quit [Read error: Connection reset by peer]
<shevy>
riceandbeans I like php more than perl. python I have no real preference, but I feel that its philosophy is broken - to carry explicit self feels like taint. also whitespace-significant without it being OPTIONAL, sucks
seamon has quit [Client Quit]
<eam>
shevy: o m g
<Nilium>
I'm ostensibly an iOS developer but I ended up being backend/frontend/UI O_o
<hilake>
would anybody like to explain the function of gnu vs linux?
<Nilium>
Also because it's the closest compromise I could get between software I wanted and BSD.
<riceandbeans>
you use OS X because you've given up on life
ndrei has quit [Ping timeout: 246 seconds]
<Nilium>
More because I gave up on Linux as a desktop and because Windows pissed me off.
<Nilium>
Still waiting for Adobe to decide to port Photoshop to Linux before I could really plan on jumping ship again.
<riceandbeans>
GIMP
<riceandbeans>
anyway
<Nilium>
Pre-emptive: Gimp sucks, I won't hear it.
<riceandbeans>
use BSD
<eam>
GNU/GIMP
<riceandbeans>
oh shut your GNU/Face
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Nilium>
Gimp is not comparable to Photoshop.
HelperW____ has quit [Ping timeout: 260 seconds]
<Nilium>
That's just how it is. Deal.
<riceandbeans>
It is comparable, it's behind, but definitely comparable
<Nilium>
I say comparable in the sense that they can't be considered equals.
<Nilium>
You can certainly compare them, but Gimp's worse.
<riceandbeans>
Frankly, Photoshop isn't worth the thousands it costs
<Nilium>
You mean $100.
krisquigley has joined #ruby
<Nilium>
It's gone down in price a lot.
<riceandbeans>
per month
<Nilium>
Costs me $10 a month.
<Nilium>
Overall, the cost is low enough that I consider it worthwhile still.
<riceandbeans>
unless ALL you do is graphic design and that's where all your money comes from and you need things in it that are not in GIMP at all, I really don't think it's worth it
<Nilium>
I paint in Photoshop.
<riceandbeans>
I paint in tuxpaint
<riceandbeans>
wait what?
<riceandbeans>
you paint in Photoshop?
<Nilium>
Yes.
<riceandbeans>
like with a tablet or something?
<Nilium>
Yes.
<riceandbeans>
the hell?
<Wolland>
have you tried scetchbook pro?
<Nilium>
I started out doing art for games and ended up programming.
rkalfane has joined #ruby
aspires has quit []
<riceandbeans>
what happened to paper and pencils
<Nilium>
I have, but I've been using Photoshop for long enough that I'm dependent on specific UI features it has even though Adobe is hellbent on making each update break something.
<riceandbeans>
notepads and butcher blocks
<Nilium>
You don't use paper and pencils to make textures for game assets.
<Wolland>
riceandbeans: it's actually much cheaper to paint this way
<Wolland>
plus you don't have to digitize it after
binw has quit [Remote host closed the connection]
binw has joined #ruby
chihhsin has quit [Remote host closed the connection]
<Nilium>
I guess you could and scan them in, guy at id Software did that for a few things, but overall Photoshop's the way to go.
rubyonrailed has joined #ruby
benzrf is now known as benzrf|offline
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<riceandbeans>
Nilium: so if I made a game, you'd be down for artwork?
<Nilium>
Layer compositing, history, brush configurations, etc. are all important, and somehow Photoshop does them right while Gimp gets them horrifyingly wrong (i.e., not the way Photoshop does it).
MaciejCzyzewski has joined #ruby
<Nilium>
Moonlighting's not allowed by my employer and I don't do game art stuff much anymore.
<Nilium>
Plus you'd have to pay me.
douglasssssss has joined #ruby
<wasamasa>
moonlighting?
douglasssssss has quit [Max SendQ exceeded]
<Nilium>
Otherwise I'd rather spend time on my own projects.
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium>
wasamasa: Google.
<Nilium>
Or a dictionary. Either.
Scotteh has quit [Read error: Connection reset by peer]
<shevy>
Gimp was written by a Pimp
<Nilium>
Or a sadist. Not sure.
<shevy>
I used to be able to just do save image... now I have to export it, or overwrite
<riceandbeans>
moonlighting is basically working another job on top of a full time
benzrf|offline is now known as benzrf
jrhorn424 is now known as zz_jrhorn424
Crabby has joined #ruby
Paul_McFreely has joined #ruby
<shevy>
oh
<Nilium>
It's bad enough that my NDA/contract tries to claim all past and future work as my employer's
<shevy>
a slave worker
<riceandbeans>
Nilium: what does a graphic designer go for these days
<shevy>
weed
<Nilium>
Don't know. I'm not a graphic designer.
<riceandbeans>
whatever you call yourself dude
<hilake>
ha
<Nilium>
I could ask the one that sits behind me at work.
<Nilium>
I made game art, didn't say it was a job.
<Nilium>
I originally intended it to be a job but, again, ended up as a programmer.
chihhsin has joined #ruby
<shevy>
is that dude staring at your back
<shevy>
that would make me so nervous
emmesswhy has quit [Quit: This computer has gone to sleep]
<Nilium>
No.
manacit has quit [Ping timeout: 255 seconds]
<Nilium>
At any rate, I'm the side-effect of needing a programmer and not being able to trick one into doing stuff for me for free.
Inhaling_ has joined #ruby
<riceandbeans>
shevy: at one point I was in the military, got up at 5 to go to work, got off around 6, went to work at a pizza place, worked till closing around 1, went to sleep, rinse lather repeat
<Nilium>
So now I'm a programmer who doesn't have programmer art.
<riceandbeans>
shevy: that's moonlighting, I wanted to make more money
MaciejCzyzewski has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Stalkr_ has joined #ruby
<riceandbeans>
I'll program for you if you art for me :P
<Nilium>
Moonlighting is how most people make a living on minimum wage
<Nilium>
You just don't get by otherwise.
modernbob has quit [Ping timeout: 255 seconds]
<shevy>
riceandbeans man that's so insane
<Nilium>
I need to get lunch
<shevy>
did you at least get rich in the process?
<Nilium>
Also need to download the new IntelliJ preview.
yeticry has quit [Ping timeout: 250 seconds]
asteros has quit [Quit: asteros]
<riceandbeans>
shevy: no, I actually lost money, no one tipped, and cost of gas was too high, so I ended up paying the pizza place to work for them and lost all my free time, so I quit
<Nilium>
People who don't tip need a swift kick in the nuts.
<Nilium>
Or ovaries.
<Nilium>
Not sure which would hurt more.
<shevy>
difficult to test
yeticry has joined #ruby
<shevy>
you'd need probands to have the same amount of pain reception too
<Nilium>
I'm sure you could find volunteers on a university campus if you offered $20.
hilake has quit [Ping timeout: 246 seconds]
InhalingPixels has quit [Ping timeout: 272 seconds]
<yaymukund>
what are some fun ruby libraries for teaching kids ruby? I am currently teaching kids ruby. something like https://github.com/zz85/sparks.js/ maybe?
<Mia>
shevy, hm
<totimkopf>
shevy: thanks :)
<Mia>
I still don't get it :/
<yaymukund>
what are some fun ruby libraries for teaching kids ruby? I am currently teaching kids ruby. something like https://github.com/zz85/sparks.js/ maybe?
<Mia>
I mean - why am I comparing the only two
oleo has quit [Ping timeout: 272 seconds]
<shevy>
Mia well you return -1,0,+1
<shevy>
no, you pass a block there
odlox_ has quit []
<shevy>
it's like when you use .map {}
<Mia>
hm then I didn't get the concept of passing a block
<totimkopf>
the whole busienss of *everything* being an object in ruby is a bit confusing to me :)
<shevy>
do you understand .map
oleo has joined #ruby
<Mia>
shevy, just started like yesterday
<shevy>
totimkopf that just means that you use .methods
<totimkopf>
shevy: how would I make attr_accessor make accessor methods that would read/write the class object's instance variable?
HelperW____ has quit [Ping timeout: 260 seconds]
<Mia>
Mon_Ouie, so I need to understand what |x| really does
<Mia>
and how it's used
<Mia>
becaose sometimes it's just |x| but sometimes its more
sdwrage_ has joined #ruby
<Mia>
|x,y|
sdwrage has joined #ruby
<lukevinc>
you can use _ if you don't use the variable
<Mon_Ouie>
|x| does nothing by tiself
<lukevinc>
for example
<lukevinc>
you want to access the third argument
<lukevinc>
|_, _, z|
<Mon_Ouie>
You have to look at the whole thing, some_method { |x, y| … }
tkuchiki has quit [Ping timeout: 250 seconds]
<Mon_Ouie>
Which will call the method "some_method" with a block that takes two arguments
tectonic has quit []
<shevy>
totimkopf I don't understand the question. you just described how they work, in your question
<_lucid_>
What is the proper way to count items in an array?
<Mon_Ouie>
The block is a piece of code that the method can run with different parameters
<Mia>
lukevinc, yes I get it; the thing I don't get is --- why would comparing the only two does the whole sorting
<_lucid_>
My code keeps just returning 1
<shevy>
_lucid_ apply .size on it
<_lucid_>
I did
<_lucid_>
No matter what it returns 1
<Mia>
I mean, as far as I understand when I write .sort! its already sorted, right?
<shevy>
then your array has 1 element
<lukevinc>
whole sort?
<_lucid_>
No
<_lucid_>
It doesn't
<shevy>
yes it has
<shevy>
do: p array
<lukevinc>
whats your doubt, Mia?
<_lucid_>
ok
<lukevinc>
array.sort!?
starless has quit [Ping timeout: 272 seconds]
<Mia>
lukevinc, just trying to udnerstand the logic as a complete stranger to programming and ruby
<totimkopf>
shevy: say I have an ivar at the top-level of the class, how do I get attr_accessor to access that instead of the the ivar of an instance?
<Mia>
I'm following codecademy stuff and at this point it made no sense
<shevy>
Mia that is just a method invocation, it could be sorted before you run it, sure, but after you run .sort! you can be sure it was modified and hopefully sorted
<Mon_Ouie>
Say you wanted to sort an array in reverse order, you can use the block that you give to sort to tell it to compare things backwards:
<lukevinc>
ahhhhh
hiall has joined #ruby
<lukevinc>
i know where you are
<Mia>
like I can ofc. learn it, I already did, but I want to learn why
<_lucid_>
Yes there's DEFINITELY more then one item in this array
<Mon_Ouie>
^ click the link to see the whole thing
<Mia>
when it compares two, I don't get why and how it makes sense at all
<shevy>
specifically it is in #<Encoding:ISO-8859-1>
<lukevinc>
argv get the system encoding, perhaps?
<lukevinc>
or terminal encoding, dunno
<shevy>
file foo.rb: foo.rb: Ruby script, ISO-8859 text
<shevy>
yeah
syva has joined #ruby
<shevy>
but is this proper behaviour? that means that it can disregard all # Encoding: lines
<Mon_Ouie>
The block returns a negative number when a goes before b, a positive number when b goes before a and zero if they're both equal
<lukevinc>
shevy: sweet, lets search a gem to do the encode for ya.
<shevy>
hehe
<Mia>
so in reality, when I do "sort" it actually compares two things
<shevy>
I first need to understand this
<Mon_Ouie>
Woops, got negative and positive it mixed up
crazydiamond has quit [Ping timeout: 240 seconds]
<shevy>
until recently I thought that "# Encoding: ASCII-8BIT" solves my problems, but I found out that Regexp.quote() forcibly changes the encoding, and now that ARGV is also in another encoding ...
<Mon_Ouie>
It needs to compare all the elements inside the array. To sort an array like [a, b, c] you need to compare a and b to know which one goes first.
<shevy>
"The default script encoding is Encoding::UTF-8 after v2.0, but it can be changed by a magic comment on the first line of the source code file (or second line, if there is a shebang line on the first)."
<Mia>
okay, it's still all blurry but I'll keep going, I think it'll be clear at some point
<lukevinc>
okay, i will search about that.
<shevy>
"ruby -K will change the default locale encoding, but this is not recommended."
modernbob has joined #ruby
<shevy>
hmmm
<shevy>
let me try that option
Takle has joined #ruby
<Mon_Ouie>
It'd probably be easier to look at other methods that use blocks in a more obvious way
<lukevinc>
Keep studying Mia, it doesn't makes sense, it's ruby.
manacit has joined #ruby
<Mon_Ouie>
Like #each and #map
<lukevinc>
just put it in your mind, it's a ruby tool.
<Mia>
lukevinc, that makes me sad then
<Mia>
I want to learn something that makes sense
<lukevinc>
nah, you don't have to understand all, just know it does the sort.
<Mia>
should I start phyton in that case
Inhaling_ has joined #ruby
<totimkopf>
that sort thingy with blocks and <=> is a perl thing, so blame perl
<lukevinc>
a <=> b does crescent sort, b <=> a does decrescent sort
<Mia>
totimkopf, :D
<shevy>
haha "optparse.rb:1350:in `===': invalid byte sequence in UTF-8 (ArgumentError)"
<lukevinc>
you can use reverse and sort too
yaymukund has joined #ruby
<Mon_Ouie>
Well even C's qsort works like that
<Mon_Ouie>
It just doesn't have the fancy symbol
<lukevinc>
shevy: lol
<lukevinc>
shevy: lets search about this you said, lets find the default encoding
justinmburrous has joined #ruby
<Mia>
lukevinc, yes I can, but I'm just trying to understand how it works at all, I mean, logically, what the hell is going on there with the comparison and passing first two elements and... well you know... the general logic
<Mia>
otherwise .sort.reverse seems more logical if it works
<lukevinc>
yes, it's ruby logic, don't try to understand that. just know it does the sort, else you will be mad.
entrenador has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<shevy>
lukevinc well I can use Encoding.locale_charmap; the problem is that I can not change this encoding
mikeg has joined #ruby
<Mon_Ouie>
The details of how it works depend on the exact sorting algorithm that is being used. I think ruby uses a quicksort.
<shevy>
I guess I understand why ARGV has that encoding
<shevy>
"Each IO object has an external encoding which indicates the encoding that Ruby will use to read its data."
jonr22 has quit [Quit: WeeChat 0.4.3]
<shevy>
so ARGV must be external as it comes from e. g. bash
<apeiros>
ruby uses qsort. and qsort used to be quicksort. but doesn't have to be.
jonr22 has joined #ruby
<apeiros>
at least that's how I remember it. use the source, luke! :)
<shevy>
Encoding.default_external
<lukevinc>
shevy: you can set the default encoding.
<shevy>
hmm let me try that...
<_lucid_>
Sorry to interrupt, but this make absolutely no sense to me
<apeiros>
_lucid_: see above 3 pieces of code and output
<apeiros>
_lucid_: I assume you either want = or .concat instead of <<
<_lucid_>
Ah
<_lucid_>
Maybe
<shevy>
lukevinc, I did it, it is still #<Encoding:ISO-8859-1> - let me try to write an example so others can test it, it seems as if ARGV will always have the default encoding
ndrei has quit [Ping timeout: 244 seconds]
<totimkopf>
I guess my question is really this, how do I make attr_accessor make class methods instead of instance methods?
tylersmith has joined #ruby
<lukevinc>
yes, do it, shevy , help only too help you, lady.
<Mon_Ouie>
You call it inside the class's singleton class
<lukevinc>
happy*
<Mon_Ouie>
>> class Foo; class << self; attr_accessor :bar; end; end
<shevy>
so my setup is... system locale iso 8859. encoding of the .rb file ASCII-8BIT. And ARGV is always the same encoding as the system locale, regardless of the use of .default_external
<shevy>
and that sucks :\
<totimkopf>
Mon_Ouie: thanks, that code just broke my head, though, is there a more verbose way of writing that?
shock_one has quit [Quit: Computer has gone to sleep.]
<shevy>
totimkopf you do use attr_accessor already right?
<totimkopf>
shevy: sure, I use them as instance methods
<lukevinc>
shevy: mine is returning utf-8 instead of iso-8859, are you using windows, i'm using ubuntu, right?
<shevy>
class << self is indeed ugly but you can think of it as applying the code on the toplevel class there
starless has joined #ruby
KC9YDN-2 has joined #ruby
<shevy>
lukevinc nah I am on linux but the problem is, the iso encoding will stay. there is no way to change to utf. now I'll have to wonder what to do with ARGV
<therealGent>
if you have a very large project, you usually have some sort of service classes. Something that exposes functionality like "addCustomer", "addProduct", etc.
mary5030 has joined #ruby
<therealGent>
In Java, you may want to add a product as part of another functional part of the system. So you inject an instantiated instance of that service into the one you want the functionality in. Then you can use it.
kirun has quit [Quit: Client exiting]
yaymukund has joined #ruby
zeroNone_ has joined #ruby
Cache_Money_ has joined #ruby
Cache_Money has quit [Read error: Connection reset by peer]
Cache_Money_ is now known as Cache_Money
havenwood has joined #ruby
zeroNones has quit [Ping timeout: 240 seconds]
wald0 has quit [Quit: Lost terminal]
SOLDIERz has quit [Remote host closed the connection]
MrBoolean has quit [Quit: Leaving...]
SOLDIERz has joined #ruby
ptierno has joined #ruby
yaymukund has quit [Ping timeout: 260 seconds]
mclosson has joined #ruby
jottr has joined #ruby
mclosson has quit [Ping timeout: 260 seconds]
patrick99e99 has joined #ruby
jonmorehouse has joined #ruby
benzrf|offline is now known as benzrf
wng_0 has quit [Read error: Connection reset by peer]
dorei has quit []
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patrick99e99 has quit [Ping timeout: 272 seconds]
banister has joined #ruby
seamon has quit [Quit: Zzzzzzz]
Spami has joined #ruby
einarj has quit []
fgo has joined #ruby
fabrice31 has quit [Ping timeout: 260 seconds]
volty has joined #ruby
WormDr1nk has joined #ruby
HelperW____ has joined #ruby
einarj has joined #ruby
lewix has quit [Remote host closed the connection]
chrishough has joined #ruby
WormDrink has quit [Ping timeout: 246 seconds]
fgo has quit [Ping timeout: 246 seconds]
<volty>
hi, smarties, i did transform with a ruby lib some html tags, attributes etc., i forgot which one // i am asking what do you suggest, and, especially (to evaluate) a bit of code (or just a hint) on how to change all bgcolor attributes
tylersmith has joined #ruby
<volty>
btw i was looking at haskell's libs but they seem to be too much intelligent to be useful :)
einarj has quit [Remote host closed the connection]
wjimenez5271 has joined #ruby
KLVTZ has joined #ruby
<Mia>
what does "nil"m means
HelperW____ has quit [Ping timeout: 260 seconds]
<Mia>
I mean, I know what it means, but wht does it stand for?
<Mia>
is it an abbrevation of something
<banister>
Mia it's an english word
<banister>
Mia google it :)
<volty>
Nil is a word commonly used to mean nothing or zero; it is one of several names for the number 0. (wikipedia)
SilkFox_ has quit [Ping timeout: 272 seconds]
<Mia>
OH
<apeiros>
Mia: either 'not in list' or short for 'nihil', latin for 'nothing'
<Mia>
Okay perfect thank you volty banister
<volty>
boys, I need just the line that changes that damn attribute
<Mia>
Ok I thought about nihil
<Mia>
not in list is also nice to know
Fusl has quit [Ping timeout: 245 seconds]
<epitron>
volty: regular expressions are good for changing lots for HTML attributes.. :)
<volty>
the sense of nil is not deterministic -- usually no result, but it depends on the semantic
tylersmith has quit [Ping timeout: 272 seconds]
<epitron>
css is also a good solution
einarj has joined #ruby
einarj has quit [Remote host closed the connection]
seamon has joined #ruby
<volty>
epitron: with close eyes // but I want a line of a pure parser & transformer to show the case to the fp intelligent idiots :)
<volty>
s/pure/full | complete/
<epitron>
meh
<MaciejCzyzewski>
intelligent idiots, heh
banister is now known as banisterfiend
<volty>
if you use it pls quote me :)
WormDrink has joined #ruby
<volty>
it is a nightmare, not to learn, but to see all these arrows around, all that multiplying of math-like arrowing operators -- to achieve simple transformations