xenon- has quit [Quit: IRCGate CGI:IRC User (Ping timeout)]
dc has joined #ruby
axisys has joined #ruby
diegoviola has joined #ruby
jamto11 has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 264 seconds]
<grabe>
is shoes usable?
larissa has joined #ruby
sputnik13 has quit [Ping timeout: 264 seconds]
<grabe>
I need a simple GUI for now, a couple of buttons, text edits, a table
<grabe>
example code on their page looks awesome
joaoh82 has quit [Remote host closed the connection]
Azure has joined #ruby
tus has joined #ruby
zzzak has quit []
jamto11 has quit [Ping timeout: 240 seconds]
diegoviola has quit [Read error: Connection reset by peer]
samphippen has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codezomb has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
diegovio1 has joined #ruby
arquebus has joined #ruby
benzrf is now known as benzrf|offline
<shevy>
shoes requires java
amclain has joined #ruby
jameswlane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axisys has quit [Changing host]
axisys has joined #ruby
snath has joined #ruby
tmegano has joined #ruby
McFreely has left #ruby [#ruby]
oo_ has joined #ruby
arquebus has quit [Quit: Konversation terminated!]
Xeago has quit [Remote host closed the connection]
senayar has joined #ruby
codezomb has joined #ruby
ddv has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Remote host closed the connection]
senayar has quit [Ping timeout: 255 seconds]
ddv has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
ghr has joined #ruby
benzrf|offline is now known as benzrf
SCommette has joined #ruby
AndChat|102836 has joined #ruby
Spami has joined #ruby
oo_ has quit [Remote host closed the connection]
diegovio1 is now known as diegoviola
Zai00 has quit [Quit: Zai00]
Notte has joined #ruby
ghr has quit [Ping timeout: 272 seconds]
lw has joined #ruby
grabe has quit [Quit: quit]
Olipro has quit [*.net *.split]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joaoh82 has joined #ruby
mikepack has joined #ruby
bradhe has joined #ruby
codezomb has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
combusean has quit [Quit: Leaving.]
McFreely has joined #ruby
pietr0 has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
Avahey_ has quit [Quit: Connection closed for inactivity]
McFreely has quit [Client Quit]
NukePuppy has joined #ruby
kith has joined #ruby
nitr has quit [Remote host closed the connection]
senayar has joined #ruby
Olipro has joined #ruby
Olipro has quit [Max SendQ exceeded]
timonv has joined #ruby
charliesome has joined #ruby
Geo has joined #ruby
chrishough has joined #ruby
Olipro has joined #ruby
Xeago has joined #ruby
NukePuppy has quit [Ping timeout: 244 seconds]
djr has quit [Ping timeout: 240 seconds]
timonv has quit [Ping timeout: 272 seconds]
phoo1234567 has quit [Remote host closed the connection]
binaryhat has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
codezomb has joined #ruby
<shiggityjoe>
One quick self-promotional spammy announcement, if I may…
<shiggityjoe>
Just pushed new version of RubyRetriever (1.2.2)! It’s my first rubygem but it’s making headway, this release includes some bug fixes and code improvements. Finally getting close to having zero Rubocop offenses! Check out the code on github - contributions & forks are welcome! http://github.com/joenorton/rubyretriever
<shiggityjoe>
That is all. :)
AndChat|102836 has quit [Ping timeout: 252 seconds]
echevemaster has joined #ruby
codezomb has quit [Client Quit]
<shiggityjoe>
I should’ve said what the hell it is my gem does… It’s a command-line crawler and scraper.
Spami has quit [Quit: This computer has gone to sleep]
joaoh82 has quit [Remote host closed the connection]
Notte has quit []
<benzrf>
shiggityjoe: README.md;
<benzrf>
s/page's/pages/
mijicd has quit [Remote host closed the connection]
Geo has quit [Ping timeout: 240 seconds]
<shiggityjoe>
benzrf: thanks, fixed.
GriffinHeart has joined #ruby
<benzrf>
here let me just fork and proofread this for u
strax has quit [Quit: Connection closed for inactivity]
<shiggityjoe>
I swear I’m an english speaker, just not the most detail oriented :(
GriffinHeart has quit [Ping timeout: 240 seconds]
NukePuppy has joined #ruby
Hanmac1 has joined #ruby
mgberlin has joined #ruby
mgberlin has quit [Remote host closed the connection]
AlexRussia has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
sarkis has joined #ruby
Hanmac has quit [Ping timeout: 272 seconds]
mgberlin has joined #ruby
nalone has joined #ruby
decoponio has joined #ruby
datafirm has quit [Quit: Computer has gone to sleep.]
nalone has quit [Remote host closed the connection]
<benzrf>
:-)
sarkis has quit [Ping timeout: 245 seconds]
maestrojed has joined #ruby
AlexRussia has joined #ruby
joaoh82 has joined #ruby
datafirm has quit [Ping timeout: 272 seconds]
pietr0 has quit [Quit: pietr0]
isthisreallife has quit [Ping timeout: 245 seconds]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
maestrojed has quit [Ping timeout: 244 seconds]
datafirm has joined #ruby
NukePuppy has quit [Ping timeout: 255 seconds]
binaryhat has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
dseitz has joined #ruby
<shevy>
shiggityjoe don't worry man
<shiggityjoe>
dont worry be happy?
robustus has quit [Ping timeout: 264 seconds]
<shevy>
nono I mean
<shevy>
because benzrf corrected you
<shevy>
a few hours ago:
<shevy>
<benzrf> more like YOURE foolish (oh snap)
<shiggityjoe>
lol
oo_ has joined #ruby
robustus has joined #ruby
<ponga>
what ide do you use for ruby shevy
bradhe has joined #ruby
<shevy>
ponga just an editor, bluefish 1.0.7 still
<shevy>
reason is that it's the most comfortable editor so far I have found for modifying and reading text files
<shevy>
sublime looks fancier
<shevy>
geany is more feature rich
hiyosi has joined #ruby
<benzrf>
sublie is bulb shit
<shevy>
but they all don't "feel" the same :(
<benzrf>
vim \m/ \m/
<foobarbaz_>
why use vim instead of an ide like ruby mine?
Nameo0 has joined #ruby
bradhe has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
<pontiki>
i have been poking at light table, which feels very sublime-like as well
<shiggityjoe>
i use sublime, just starte using the rubocop plugin and it’s awesome
<shiggityjoe>
highlights offenses and whatnot
<pontiki>
but i still use emacs as i'm so imprinted on it
<pontiki>
i like using rubymine and webstorm sometimes
Photism has joined #ruby
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dc has quit [Remote host closed the connection]
Tamae has quit [Read error: Connection reset by peer]
end_guy has quit [Remote host closed the connection]
Tamae has joined #ruby
oo_ has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
oo_ has joined #ruby
shiggityjoe has quit [Quit: shiggityjoe]
end_guy has joined #ruby
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
dc has joined #ruby
oo_ has quit [Remote host closed the connection]
axl_ has joined #ruby
<csmrfx>
foobarbaz_: if you need to ask, prepare for another 2 years of IDE foolery
axl_ has quit [Client Quit]
<ponga>
csmrfx can you elaborate what IDE foolery is to me, a noob please sir
axl_ has joined #ruby
<benzrf>
im sleep
axl_ has quit [Client Quit]
<ponga>
shevy can you tell me what ide foolery is
<ponga>
please
benzrf is now known as benzrf|offline
<csmrfx>
well its a whole lot of things depending on the situation, but things like not loading instantly, not using less that 1% of cpu, not being totally stable, not having totally customizable keyshorts and interface...
<foobarbaz_>
csmrfx: But it comes with a lot of benefits
<pontiki>
people have opinions
<foobarbaz_>
Such as smart code completion, code analysis + inspections
<foobarbaz_>
refactoring tools
<pontiki>
IDEs can be helpful, they can get in your way
<foobarbaz_>
Being able to easily run your applications from an IDE, and debug within an IDE is nice
<foobarbaz_>
Without having to put in silly things like binding.pry/puts, or whatever you're using to debug
<pontiki>
when you have a huge codebase that you suddenly have to learn all of, including all the friggin gems that you've never heard of, and it's full of crap, RubyMine is a pretty nice tool to go code spelunking in
mgberlin has joined #ruby
lw has quit [Quit: s]
monkegjinni has quit [Ping timeout: 264 seconds]
mgberlin has quit [Remote host closed the connection]
<foobarbaz_>
code navigation <3
<foobarbaz_>
Love going from definitions to their actual files
Maple__ is now known as Mapley[NED]
<pontiki>
also p.funny to your cow-orkers when your wtfpm goes over 1
tus has quit []
<foobarbaz_>
wtf per minute?
pu22l3r has quit [Remote host closed the connection]
chrishough has quit [Quit: chrishough]
diegoviola has quit [Quit: WeeChat 0.4.3]
amclain has quit [Quit: Leaving]
joaoh82 has quit [Remote host closed the connection]
binaryhat has quit [Quit: Leaving]
<pontiki>
exactly
jamto11 has joined #ruby
nffff has quit [Remote host closed the connection]
billy_ran_away has quit [Ping timeout: 276 seconds]
maestrojed has joined #ruby
ponga has quit []
jamto11 has quit [Ping timeout: 252 seconds]
billy_ran_away has joined #ruby
tkuchiki has joined #ruby
dc_ has joined #ruby
pu22l3r has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
sarkis has joined #ruby
pu22l3r has joined #ruby
dc has quit [Ping timeout: 272 seconds]
mgberlin has joined #ruby
radic has quit [Ping timeout: 245 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
mikesplain has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sgen has quit [Quit: Leaving]
<pvb>
wow, pandoc support docx!
datafirm has quit [Quit: Computer has gone to sleep.]
<pvb>
oh, but only write
shenkan has joined #ruby
datafirm has joined #ruby
datafirm has quit [Ping timeout: 244 seconds]
Soliah has quit [Quit: Soliah]
nanodano has joined #ruby
ghr has joined #ruby
zkay11 has quit [Quit: Leaving.]
Hobogrammer has joined #ruby
ghr has quit [Ping timeout: 255 seconds]
Soliah has joined #ruby
jameswlane has joined #ruby
vinleod has quit [Quit: Computer has gone to sleep.]
gondalier has quit []
Soliah has quit [Quit: Soliah]
decoponio has quit [Quit: Leaving...]
Soliah has joined #ruby
alem0lars has joined #ruby
duncannz has joined #ruby
<isomorphismes>
this proxy puzzle in the koan is pretty mind bending
<isomorphismes>
i feel confused but also like i may learn a lot from it
gondalier has joined #ruby
<isomorphismes>
I'm betting the answer is in the previous puzzle, the about_message_passing.
s3ri0us is now known as s3ri0us|away
monkegjinni has joined #ruby
mikepack has joined #ruby
gondalier has quit []
monkegjinni has quit [Ping timeout: 240 seconds]
bradhe has joined #ruby
<csmrfx>
RubyPanther: emacs is faster than vim, if you are an octopus
* csmrfx
throws fuel into fire
<pontiki>
or are polydactyl
<csmrfx>
vimmers only pentadactyl
<pontiki>
octopi are monodactyl
frogsy has joined #ruby
mikepack_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
<RubyPanther>
csmrfx: I've been using emacs for 15 years and I've only learned 5 or 10 chords, none of them use two hands
apeiros has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
amargherio has joined #ruby
dangerousdave has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
<Hanmac>
csmrfx: in "the 13 1/2 lifes of captain bluebear" there is a professor with 7 brains ;P (one big one inside his head, four on the outside, one is there where the milz should be and no one knows where the last one is) ... i think even he might have problems with emacs ;P
senayar has quit [Remote host closed the connection]
gondalier has quit [Client Quit]
sylver has quit [Ping timeout: 252 seconds]
sylver has joined #ruby
Shidash has joined #ruby
mostlybadfly has joined #ruby
Bosox20051 has quit [Ping timeout: 240 seconds]
ValicekB has quit []
BinaryMcAwesome is now known as High-Q-Brah
St_Marx has quit [Ping timeout: 264 seconds]
sylver has quit [Ping timeout: 255 seconds]
noop has quit [Ping timeout: 244 seconds]
noop has joined #ruby
St_Marx has joined #ruby
Hanmac1 has joined #ruby
MatthewsFace has joined #ruby
Hanmac has quit [Ping timeout: 255 seconds]
garndt has quit [Quit: Connection closed for inactivity]
scx_ is now known as scx
Rainicorn has joined #ruby
LadyRainicorn has quit [Ping timeout: 255 seconds]
mary5030 has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
sputnik13 has joined #ruby
onewheelskyward has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
LiquidInsect has quit [Read error: Connection reset by peer]
fold has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
skaflem has joined #ruby
pagasus has joined #ruby
zwer_m has quit [Remote host closed the connection]
zwer_m has joined #ruby
pagasus has left #ruby [#ruby]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Soliah has quit [Quit: Soliah]
senayar has joined #ruby
ecksit has joined #ruby
Soliah has joined #ruby
bubbajones has quit [Ping timeout: 240 seconds]
Soliah has quit [Client Quit]
senayar has quit [Ping timeout: 264 seconds]
Soliah has joined #ruby
<certainty>
moin
CorpusCallosum has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
mijicd has joined #ruby
mgberlin has quit [Remote host closed the connection]
sarkis has joined #ruby
monkegjinni has joined #ruby
sylver has joined #ruby
narendraj9 has quit [Quit: Connection closed for inactivity]
sarkis has quit [Ping timeout: 240 seconds]
echevemaster has quit [Read error: Connection reset by peer]
anaeem1 has joined #ruby
bubbajones has joined #ruby
sylver has quit [Ping timeout: 245 seconds]
monkegjinni has quit [Ping timeout: 255 seconds]
IceDragon has quit [Quit: Space~~~]
frosgy has joined #ruby
klaut has quit [Remote host closed the connection]
duncannz has quit [Read error: Connection reset by peer]
duncannz has joined #ruby
frogsy has quit [Ping timeout: 264 seconds]
djr has joined #ruby
jamto11 has joined #ruby
carraroj has joined #ruby
apeiros has joined #ruby
tkuchiki has joined #ruby
senayar has joined #ruby
jamto11 has quit [Ping timeout: 255 seconds]
jheg has joined #ruby
LadyRainicorn has joined #ruby
carraroj has quit [Ping timeout: 240 seconds]
mgberlin has joined #ruby
carraroj has joined #ruby
sylver has joined #ruby
Rainicorn has quit [Read error: Connection reset by peer]
senayar has quit [Ping timeout: 252 seconds]
Soliah has quit [Quit: Soliah]
GriffinHeart has joined #ruby
shenkan has quit [Ping timeout: 255 seconds]
Hobogrammer has quit [Ping timeout: 272 seconds]
GriffinHeart has quit [Ping timeout: 272 seconds]
descala has quit [Read error: Connection reset by peer]
ecksit has quit [Quit: Computer has gone to sleep.]
bluOxigen has joined #ruby
etqqkoiflwhb__ has quit [Read error: Connection reset by peer]
etqqkoiflwhb__ has joined #ruby
alexju has joined #ruby
descala has joined #ruby
nitr has joined #ruby
jheg has quit [Quit: jheg]
jheg has joined #ruby
shenkan has joined #ruby
anaeem1 has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
Soliah has joined #ruby
Soliah has quit [Client Quit]
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
armyriad has joined #ruby
etqqkoiflwhb__ has joined #ruby
bradhe has joined #ruby
nerocrux has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
jheg has quit [Quit: jheg]
gondalier has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Read error: Connection reset by peer]
nerocrux has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 255 seconds]
LadyRainicorn has joined #ruby
nerocrux has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
jackneill has joined #ruby
mercwithamouth has joined #ruby
gondalier has quit [Ping timeout: 272 seconds]
TheKruex has joined #ruby
sarkis has joined #ruby
nerocrux has quit [Remote host closed the connection]
nerocrux has joined #ruby
djr has quit [Ping timeout: 272 seconds]
combusean has joined #ruby
andrewlio has joined #ruby
sarkis has quit [Ping timeout: 240 seconds]
carraroj has quit [Quit: Konversation terminated!]
carraroj has joined #ruby
senayar has joined #ruby
kies has joined #ruby
CorpusCallosum has joined #ruby
<Cope>
how can I create a method that will instantiate a class? I'm trying to make a class generator that uses define_method to dynamically generate methods; but I want to be able to call a method with a name of class, and the method and args I want to use in define_method
jhass|off is now known as jhass
<RubyPanther>
Cope: Class.new
<Hanmac1>
Cope show us your wanted input and what you want as output
djr has joined #ruby
MrDoctor has joined #ruby
<Cope>
sure - sec
sylver has quit [Quit: leaving]
tkuchiki has quit [Remote host closed the connection]
<apeiros>
I don't see how `@@thingy = Struct.new(:key_one, :key_two)` in an instance method is a good idea ever.
<apeiros>
you create a new *identical* struct on every call
<Cope>
so basically I have a need for a whole bunch of methods which will instantiate a class, generate and return a struct. And I have a bunch of them, and writing them manually each time is feeling very un-dry.
<apeiros>
create it once, reuse it
<apeiros>
anyway, lets give you parts of it: Object.const_set('MyThing', klass) # <-- name
<apeiros>
Class.new do define_method(method_name) do … end; end # <-- class
<apeiros>
oh, `@@ethingy.new(key_one = 'stuff', key_two = 'more_stuff')` makes no sense either. you assign to local variables… why?
<apeiros>
did you mean `@@ethingy.new('stuff', 'more_stuff')`? and where do 'stuff' and 'more stuff' come from?
<apeiros>
also where does @@ethingy come from? (the struct is @@thingy, not @@ethingy…)
<Cope>
oh that's just a typo
<Cope>
the key_one = stuff populates the struct...
<Cope>
at least - it works... maybe for reasons I don't understand
<Cope>
so if I'm getting this all arse about face, i'd be delighted to fix it
<apeiros>
Cope: it "works" because assignments return the value you assign
<apeiros>
but the assignment part itself is utterly pointless
<apeiros>
aha, I see where stuff and morestuff come from…
<Cope>
apeiros: i thought i needed to give the name of the keys/members of the struct when populating it
<apeiros>
I find it a bit odd to create not just a new struct class, but also a new instance from it, all the time identical. seems to me like you'd only need to create it once and return it on every call (maybe dup it)
<apeiros>
Cope: well, no, you don't :) and if, then it wouldn't work that way ;-)
mostlybadfly has quit [Quit: Connection closed for inactivity]
<joshua___>
ey, any recommendations using Ruby with MsSQL? I know its a horrible thing to do but $dayjob :(
<Cope>
and the meta step is i have quite a few of these now, so i'd like to be able to generate them dynamically, but perhaps first we should fix the underlying implementation :)
<RubyPanther>
joshua___: ODBC
<jhass>
Cope: you're trying to generalize it/simplify your problem. If you want to know if the solution you think you need is the right one for your problem, tell us your actual problem.
<Cope>
jhass: I thought I had... sorry:
<Cope>
so basically I have a need for a whole bunch of methods which will instantiate a class, generate and return a struct. And I have a bunch of them, and writing them manually each time is feeling very un-dry.
<joshua___>
RubyPanther: I'm looking at ODBC and ruby DBI gem at the moment but unsure what my ODBC connection string is..am not a windows guy..
<Cope>
jhass: ie i want to be able to call a method and get a struct back, prepopulated with data
<RubyPanther>
joshua___: ruby-odbc + tiny_tds + activerecord-sqlserver-adapter is my setup
<jhass>
Cope: without the words stuff, thing, bunch, foo, bar
<Cope>
oh right sorry
<jhass>
actual problem, not implementation you think you need
<Cope>
yeah... fair point
<RubyPanther>
joshua___: using DBI the string should be the same as whatever it is for Perl DBI
carraroj has quit [Ping timeout: 245 seconds]
<RubyPanther>
but AR hides the db-specific nastiness
<Cope>
so: I want to be able to simulate getting data from an API which returns deeply nested structs; i need to be able to mock that data in offline situations
<joshua___>
Hmm, I don't even know what ODBC is..
hiyosi has quit [Ping timeout: 245 seconds]
<Cope>
jhass: so i have a bunch of these classes and helper methods which return the structs i would get if i had network access
<joshua___>
RubyPanther: do you have an example script where you are connecting to a MSSQL db that I could have a look at?
pagioss has joined #ruby
<jhass>
Cope: do you need the class names to match?
<Cope>
jhass: no, the class is just an implementation - i couldn't return structs without embedding them in a class
<jhass>
I'd investigate building nested OpenStructs from a nested hash then
<jhass>
API = build_nested_ostruct_from a: {b: 'c'}, d: {'e'}
<Cope>
jhass: i think this doesn't work with struct, but does with ostruct; but the bits i care about operate the same anyway, so ostructs are fine
<Cope>
ie the api returns structs not ostructs, but all i ever do is get values off them, so it doesn't matter
<jhass>
yeah the power of ruby, stuff only needs to behave the same in the areas you use
<Cope>
jhass: thanks a whole ton - this is a way way way cleaner and easier approach
TheKruex has quit []
<RubyPanther>
joshua___: The way I'm doing it with tinytds you don't need ODBC on the server, you can just connect normally. But more importantly it provides a modern ORM layer.
<joshua___>
ok that sounds nicer. I have no idea WTF ODBC shit it.
<joshua___>
is*
<joshua___>
RubyPanther: can you make remote connections using that or has to be run from the ms sql box?
hamakn has quit [Remote host closed the connection]
duncannz has quit [Quit: Leaving]
<RubyPanther>
joshua___: Both, with that setup I can use the same script, no modification, from a remote linux box over the vpn. I left out the /etc/freetds.conf file, but that maps the windows network name you use in odbc.ini to the IP address of the server
<RubyPanther>
joshua___: Then when I'm on the windows server box, tinytds uses the normal windows ODBC and looks for the same DSN
<joshua___>
ah, what would the /etc/freetds.con look like? kk, trying to connect to MSQSQL server from osx over VPN
<RubyPanther>
so the odbc config is different, but to the script that is all transparent
<RubyPanther>
in my gist it would be [WINDOWSNETWORKNAMEOFSERVER] ...
banister has joined #ruby
<joshua___>
great thanks RubyPanther
monkegjinni has quit [Ping timeout: 264 seconds]
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
zoraj_ has joined #ruby
tkuchiki has joined #ruby
zoraj has quit [Ping timeout: 252 seconds]
zigomir has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
geefolk has joined #ruby
jamto11 has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
timonv has quit [Remote host closed the connection]
GriffinHeart has quit [Ping timeout: 264 seconds]
timonv has joined #ruby
nerocrux has quit [Quit: Leaving...]
kyb3r_ has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 272 seconds]
alexju has quit [Remote host closed the connection]
ValicekB has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
mikecmpbll has joined #ruby
maximski has joined #ruby
geefolk has quit [Ping timeout: 240 seconds]
<apeiros>
haha, siri: "what can I do for you?" - "stop getting on my nerves!" - "OK" *starts musik*
<apeiros>
*music*
<certainty>
siri is suspiciously close to "sir"
<csmrfx>
I cant stand the idea
dangerousdave has quit [Read error: Connection reset by peer]
<apeiros>
I like the idea. but I haven't used siri once yet. mostly trust issues :)
<csmrfx>
wasnt the talking paperclip enyf for you
dangerousdave has joined #ruby
sski has quit [Remote host closed the connection]
<certainty>
you can trust siri. At least as much as you can trust apple in general
<certainty>
:)
chrishough has quit [Quit: chrishough]
<apeiros>
certainty: more like, I rely on it, let it enter my appointments, and it gets one wrong
<certainty>
ah ok, got that wrong then. Still my point is relevant :)
<certainty>
basically you tell apple your appointments then
<apeiros>
you do without siri too
<certainty>
i don't
<certainty>
not that i'm aware of
<apeiros>
also moot point if you use google calendar
<apeiros>
icloud/sync
<certainty>
don't use any of these
<certainty>
just org-mode it is and sometimes even pen and paper :)
Takle has quit [Remote host closed the connection]
<apeiros>
good. I hate those idiots who go all raving about "you tell company X all your secrets!" and go on to tell company Y all their secrets.
<RubyPanther>
I trust Clippy more than whatever these newfangled Jeeves are called
<certainty>
i can't tell what hardware implants my box has so i might be telling someone, as the org file lies around in plain text but ok
<RubyPanther>
Clippy is Special, but his simplicity keeps him out of trouble
<apeiros>
certainty: well, I'm more talking about willingly/knowingly (albeit probably unaware)
Takle has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
<certainty>
apeiros: yeah, that's what i don't do. I trust none of these mega corps, actually i don't even trust minor companies. I don't see a good reason for me to give someone else that data
<apeiros>
good for you. I don't trust them either, but I'm too lazy to get an alternative running :-/
<certainty>
RubyPanther: is clippy a service or a tool?
<RubyPanther>
a tool, mostly
bradhe has joined #ruby
dseitz has joined #ruby
<RubyPanther>
I think it could access a "knowledge database"
dseitz has quit [Max SendQ exceeded]
dseitz has joined #ruby
<certainty>
ah Clippy is that paperclip in MS Office?
Mon_Ouie has quit [Ping timeout: 264 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
<certainty>
apeiros: too bad :( i'm not in the mood to evangelize, but that's really too bad
hamakn has joined #ruby
dangerou_ has joined #ruby
<apeiros>
certainty: If I remember, and I change my laziness, I might get back at you :)
boris has joined #ruby
<apeiros>
you have your own mail server? how about sms/whatsapp? ical servers?
sski has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
scx has quit [Ping timeout: 255 seconds]
<certainty>
apeiros: i use the mailserver at our company. I don't use whatsapp or anything like that. I do use text-secure to send sms. Redphone to do my calls on the android, which i don't move away from my home. I don't carry a phone or anything
<certainty>
luckily i don't need it, that might be totally different for others
<apeiros>
text-secure?
<certainty>
a secure messaging service to send sms
<apeiros>
relies on the other side also having it?
<certainty>
in uses otr messaging
scx has joined #ruby
<certainty>
yeah
sarkis has joined #ruby
<apeiros>
my main issue with security is that it almost always is the protagonist of practicality
<apeiros>
*antagonist
<certainty>
it is
<certainty>
that's not only your issue
<apeiros>
it wouldn't always have to be :-/
<apeiros>
I mean a lot of security could be done very transparently and with little effort for the user
<certainty>
yepp, though text-secure really is a good step in that direction. It is so called one-click cryptography
<certainty>
it is really easy to get running
<certainty>
apeiros: i totally agree. But to me it accures that not implementing security measures is the problem but the lack of awareness that there is something to protect
<apeiros>
yes
<apeiros>
most people you talk about it go like "but I have nothing to hide anyway!"
<certainty>
if that can be achieved then we can attack it from both sides, 1) making security easier to apply 2) taking slight inconvenience to increase security
<apeiros>
(╯°□°)╯︵ ┻━┻
<certainty>
yeah which is total nonsense
<apeiros>
yes
<apeiros>
and even if they have nothing to hide yet (say because they're not ashamed of their vids where they dance drunken on the table), it may well be used against them any time later
mercwithamouth has quit [Ping timeout: 244 seconds]
<Hanmac1>
the most funny part is how politicans react when they hear that they are observed too ... ;P
<certainty>
:)
<apeiros>
"oh so you want to become mayor? what will you do for me for not *accidentally* passing those embarrassing vids to the press?"
<certainty>
as we can currently experience in germany
<apeiros>
Hanmac1: yes
Hanmac1 is now known as Hanmac
<apeiros>
I wished groups like anonymous would dig out all the dirt on those politicians who overtly are pro surveillance
Mon_Ouie has joined #ruby
sarkis has quit [Ping timeout: 264 seconds]
<apeiros>
I'd love to see how much they'd like that
<certainty>
doesn't need to be $anonymous, we have the power to do so
<certainty>
we've just forgotten (or were never aware)
<apeiros>
also the argument "but the state is *the good guy*!" is bullpoo. even if we assume that *today* they indeed are - who's to say what happens with the information tomorrow?
sepp2k has joined #ruby
<certainty>
yes that's a crucial point
<Hanmac>
apeiros: i saw something funny like that in a cartoon show ... someone did make a trojan/virus that automaticlly hacks all pcs and provide all hidden info to all others ... they called it "electronical haircut" (to make everyone equal)
<apeiros>
and I'd rather vehemently argue that most states aren't "the good guy" even today.
<apeiros>
(also the whole "states/companies ain't people" thing)
<certainty>
yeah that reasoning is totally flawed
<apeiros>
I mean, even if *most* people in the state apparatus are good guys - how many rotten apples does it need for the whole well intended endeavor to become utterly dangerous?
<certainty>
i'm very concerned about the revelations regarding hardware that is used to surveille. There is very little we can do here
<apeiros>
open source hardware
<apeiros>
is my hope at least
<katlogic>
apeiros: game theory 101. however this goes for a society as a whole, state is just cluster.
<apeiros>
we're nowhere near a usable state there yet, but hope dies last
<certainty>
apeiros: yeah we need free hardware, but hardware is significantly harder to understand
<apeiros>
certainty: I don't think the "understand" part is the issue
<apeiros>
it's far more expensive to build
<apeiros>
with software, it's easy. everybody can do it.
<apeiros>
all you need is a computer
<apeiros>
hardware? yeah, have fun
<certainty>
yeah that's true
<apeiros>
but 3d printers and the like can and will change this
<apeiros>
(as said, we're nowhere near usable yet - but I can imagine where it could be headed and that gives hope)
anaeem1_ has joined #ruby
Rollabunna has quit [Ping timeout: 264 seconds]
<apeiros>
one question would be - if you can't manufacture the chips themselves - can you build reliable/useful hardware where you treat all chips as adversarial?
<certainty>
problematic
<certainty>
the attack surface is rather huge
<certainty>
that's what concerns me
<certainty>
not only direct/indirect surveillence, but also breaking what we currently use to "counter" surveillance
Olipro has quit [*.net *.split]
<apeiros>
enough depressing ideas and thoughts for today
* apeiros
goes back to clone starbase orion (itself being master of orion clone)
<apeiros>
+a
<certainty>
have fun :)
hamakn has quit [Remote host closed the connection]
kirun has joined #ruby
<apeiros>
of course!
<apeiros>
now implementing research
<apeiros>
after that, all that is left for a single player no enemy game is putting all the pieces together
vifino has joined #ruby
<apeiros>
after that, army, then AI, and then polish and improve
sski has quit [Remote host closed the connection]
sski has joined #ruby
Olipro has joined #ruby
<apeiros>
if I should indeed reach polish phase, I'll reach out for others to help :)
Olipro has quit [Max SendQ exceeded]
Olipro has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
<Hanmac>
certainty: did you hear about the last EU voting? "DIE PARTEI" got one seat in the EU ;D
<certainty>
Hanmac: no i haven't yet :|
<Hanmac>
now they want to rotate this seat with different members (and each member is getting money because he was a politican) they said they want to milk the EU like a south state like greece ;P
<Hanmac>
also funny some recent news: the pope does not want to drive in this pulletproof mobil anymore because he says he cant greet the other people and he says he hasnt much to lose ;P ( imo thats the best pope i could remember )
Squarepy has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
Squarepy has quit [Read error: Connection reset by peer]
perlsyntax has joined #ruby
zoraj_ has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 245 seconds]
<certainty>
Hanmac: i'm curious what will happen during the "Durchwink-Wochen", i didn't yet look at bundestag.de but i meant to. I expect some laws to be passed
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
<Hanmac>
certainty: thats why i hate soccer and worldCup ... they use it to make evil things in the covernments
<certainty>
yeah
<certainty>
that's one reason to hate it, also this particular worldcup. I have some friends in brasil which reported totally crazy things
bradhe has joined #ruby
<certainty>
who, even
Squarepy has joined #ruby
<Hanmac>
certainty: did you hear the germans got her own trainings hotel in a forest that has "Naturschutzgebiet"? (i know you are german too thats why i can say the german word before gooling the english one)
bluOxigen has joined #ruby
zoraj has joined #ruby
zwer_m has left #ruby [#ruby]
mrnugget has joined #ruby
<certainty>
Hanmac: no didn't read that yet. :/
danijoo_ has quit [Read error: Connection reset by peer]
bradhe has quit [Ping timeout: 240 seconds]
danijoo has joined #ruby
cloudgeek has joined #ruby
axl_ has joined #ruby
<cloudgeek>
Ubuntu 12.04 LTS, ruby 2.1.2 , system excute_command is not working for excute a ruby file, method code is below, http://paste.ubuntu.com/7647508/
LadyRainicorn has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
axl_ has quit [Client Quit]
Mooneye has joined #ruby
phoo1234567 has joined #ruby
<certainty>
cloudgeek: ruby not in path?
ahofmann has joined #ruby
ahofmann has quit [Client Quit]
<cloudgeek>
certainty: did I need give ,
<cloudgeek>
system 'env/ruby /home/sanjusir/vikas.rb/
<cloudgeek>
certainty: I using this in Rails , during creation of request, same time I want to run a script too..
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
<cloudgeek>
certainty: yes, ruby is not in path , that is not part of my path folder to script
etqqkoiflwhb__ has joined #ruby
User458764 has joined #ruby
St_Marx has joined #ruby
<cloudgeek>
exec('/home/sanjusir/vikas.rb')
mijicd has quit [Remote host closed the connection]
Hanmac1 has joined #ruby
Hanmac has quit [Ping timeout: 252 seconds]
TheKruex has joined #ruby
TheKruex has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
kies has quit [Ping timeout: 264 seconds]
isthisreallife has joined #ruby
<apeiros>
aaaahaha, I found a case where I *need* a ; in js
etqqkoiflwhb__ has quit [Quit: Computer has gone to sleep.]
etqqkoiflwhb__ has joined #ruby
hamakn has joined #ruby
etqqkoiflwhb__ has quit [Ping timeout: 245 seconds]
sski has quit [Remote host closed the connection]
sski has joined #ruby
LadyRainicorn has joined #ruby
Eyess has quit [Quit: X probably crashed]
GriffinHeart has joined #ruby
Eyes has joined #ruby
sski has quit [Remote host closed the connection]
sski has joined #ruby
postmodern has joined #ruby
monkegjinni has joined #ruby
Shidash has quit [Ping timeout: 255 seconds]
charliesome has quit [Ping timeout: 252 seconds]
DouweM has joined #ruby
GriffinHeart has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 272 seconds]
timonv has joined #ruby
Takle has quit [Remote host closed the connection]
charliesome has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
derHerzerzog has joined #ruby
<derHerzerzog>
hi all
<derHerzerzog>
problem with TCPServer class...normally, according to docs, it can be initialized with a port only
<derHerzerzog>
(which worked in my case just a couple of days ago)
<derHerzerzog>
not suddenly, TCPServer.new 3000 raises an exception (cannot convert nil to string), as if a host were required
pu22l3r has joined #ruby
timonv has quit [Ping timeout: 244 seconds]
Darryl has quit [Quit: Connection closed for inactivity]
noob101 has joined #ruby
Zebroid has quit [Remote host closed the connection]
<derHerzerzog>
now suddenly*
<Hanmac1>
derHerzerzog: ruby version and show us a gist of yourcode?
<noob101>
DouweM: Can you please explain it anyone could understand, like what does that mean?
<noob101>
DouweM: What's so special about that?
<DouweM>
Noob101: check that blogpost, it describes it. it's a way to make multiline strings
<noob101>
Alright.
gattuso has quit [Ping timeout: 260 seconds]
jamto11 has joined #ruby
<derHerzerzog>
sry for plaintext highlighting Hanmac1, gist won't save with Ruby selected...
davidvl has joined #ruby
hamakn has quit [Remote host closed the connection]
<Hanmac1>
hmmm works for me (ruby 2.2.0dev) ... but dont have 2.1 there for testing
apeiros has joined #ruby
<derHerzerzog>
friend of mine has 2.1.1 and it works for him too
<noob101>
DouweM: My question wasn't answered. I see that there are different ways of making strings using EOS but what is the purpose of it, why was it created?
<noob101>
DouweM: That was the question I asked.
<DouweM>
Noob101: multiline strings
<derHerzerzog>
strange thing is, that it did work for me as well just a couple of days ago...nothing changed about the code
perlsyntax has left #ruby [#ruby]
<certainty>
derHerzerzog: works here with 2.1.0p0
Rainicorn has joined #ruby
<apeiros>
aaaah, 3 screens are so much better than 2 (even 1 is better than 2 :-S)
<noob101>
DouweM: Right but you can use %( ) right? So if you could do that then why would ruby have that?
Squarepy has quit [Quit: Leaving]
gattuso has joined #ruby
<noob101>
DouweM: Right but you can use %( ) right? So if you could do that then why would ruby have that?
<certainty>
derHerzerzog: what do you mean by "does not work"?
yacks has joined #ruby
<certainty>
nvm, it raises an exception
<DouweM>
Noob101: not needing to escape quotes or the string delimiter I guess? A lot of languages have heredoc syntax, I guess whether to include it in Ruby was mostly by default
jamto11 has quit [Ping timeout: 245 seconds]
dangerou_ has quit [Read error: Connection reset by peer]
<certainty>
derHerzerzog: server already
<DouweM>
Noob101: not a conscious decision. but as I say, it's useful because you don't need to escape.
<certainty>
running
<certainty>
derHerzerzog: the server is already running. That's a misleading message
dangerousdave has joined #ruby
sski has quit [Remote host closed the connection]
alexju has joined #ruby
<certainty>
or any other server binding to that port
<derHerzerzog>
don't know what you mean, certainty - that message doesn't come from my code
sski has joined #ruby
sski has quit [Remote host closed the connection]
pu22l3r has quit [Read error: Connection reset by peer]
<certainty>
derHerzerzog: you have another server running on that port. You can reproduce the error if you try to start your server twice on different consoles
sski has joined #ruby
pu22l3r has joined #ruby
<derHerzerzog>
i know that you can't bind to the same port twice, but that's ot my problem
LadyRainicorn has quit [Ping timeout: 272 seconds]
<derHerzerzog>
Trying to start server ... server.rb:7:in `initialize': no implicit conversion of nil into String (TypeError)
<certainty>
derHerzerzog: I agree that the message "server.rb:7:in `initialize': no implicit conversion of nil into String (TypeError)" is misleading but it happens when you have another server binding on that port
<certainty>
that's what i'm trying to say
<derHerzerzog>
oh now i get it
bradhe has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
<derHerzerzog>
so you were right indeed...
<certainty>
phew
<derHerzerzog>
;) it seems like RubyMine didn't close some processes
LadyRainicorn has joined #ruby
<derHerzerzog>
not too used to using rubymine for anything other than rails, and you hardly ever do such stuff in rails ^^
etqqkoiflwhb__ has joined #ruby
kies has joined #ruby
<noob101>
DouweM: I'll read about it in a book or something, thanks though for the help.
<certainty>
derHerzerzog: yeah, i frequently have to debug such things, so it accured rather quickly to me. So I tried it out
<certainty>
it's still a bad message though
bradhe has quit [Ping timeout: 240 seconds]
danijoo has quit [Read error: Connection reset by peer]
<derHerzerzog>
it certainly is..i would have tried different signatures of that initialize for the rest of the day :)
Rainicorn has quit [Ping timeout: 272 seconds]
danijoo has joined #ruby
<derHerzerzog>
is rubymine's debugger worth it at all?
sski has quit [Remote host closed the connection]
sski has joined #ruby
<certainty>
derHerzerzog: given that there are debuggers that work on the console just fine, i doubt it. I haven't used rubymine though.
kies has quit [Ping timeout: 252 seconds]
davidvl has quit [Quit: This computer has gone to sleep]
kaspergrubbe has joined #ruby
Darryl has joined #ruby
fantazo has joined #ruby
m8 has joined #ruby
<nwkr>
derHerzerzog: it works
sski has quit [Ping timeout: 252 seconds]
<derHerzerzog>
yea nwkr i found the problem already, port was in use and the exception message was somewhat cryptic..thx though
<noob101>
In irb, can I clear the screen. If so, how?
Zai00 has joined #ruby
<csmrfx>
exit<enter> clear<enter> irb<enter>
<apeiros>
Noob101: depends on your terminal emulation
<apeiros>
cmd-K for me
<apeiros>
(and no need to leave irb or pry for that either)
<noob101>
apeiros: what the hell does that mean, "terminal emulation" I hear emulation a lot when it comes to games but I don't know what it means.
diegovio1 has joined #ruby
<apeiros>
Noob101: that thing in which you run irb is a terminal emulation
<apeiros>
Terminal.app for mac, run.exe in windows and no idea what process in *nix
nitr has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 244 seconds]
<csmrfx>
ís it correct to say: the window that hosts the shell
<csmrfx>
who knows
<apeiros>
well, the window belongs to a process, an application
mr_snowf1ake has joined #ruby
mr_snowf1ake has quit [Client Quit]
<noob101>
apeiros: Wow interesting, I use windows so now what?
ghr has joined #ruby
<apeiros>
Noob101: I'm not a windows user. no idea how to clear the screen in run.exe
<apeiros>
I'm pretty sure google has answers, though. also checking its menus might already get you there.
<noob101>
apeiros: So is run.exe like a program or something?
<apeiros>
errr, yes?
<apeiros>
every .exe on win is a program
<DouweM>
Noob101: chances are it's the program you're running irb from
<apeiros>
and run.exe is slightly special in that it is used to run other programs within it
<DouweM>
like, the terminal emulator. black background, white text, command prompt and stuff?
<mordof1>
cls is clear screen, if that's what you're wondering
<DouweM>
that's run.exe
<apeiros>
mordof1: cls is a command, though, and requires you to exit the current program (or well, `cls` might work too from irb)
<noob101>
apeiros: correct^
<DouweM>
apeiros: I doubt that'll work
<DouweM>
apeiros: but what do I know, don't use windows either
<noob101>
I don't think it does.
<mordof1>
apeiros: if you're in irb - then it's not a command prompt command you're looking for either
<apeiros>
puts `clear` # <-- works in pry on mac
<mordof1>
one sec
<DouweM>
apeiros: nice, I had no idea
<apeiros>
the clear command simply emits the escape sequence
<noob101>
>:(
<apeiros>
I'd assume the same applies for cls on win
<DouweM>
apeiros: ah, right...
<mordof1>
haha, that's so windows for you
<noob101>
How do I clear my screen in irb for windows. :(
<DouweM>
Noob101: tried puts `cls` ?
<noob101>
ok thanks.
<apeiros>
i.e., I could also: print "\e[H\e[2J"; $stdout.flush
<DouweM>
apeiros: right
<noob101>
Hm, this is odd.
<noob101>
It has the male sign
<noob101>
What does that mean? .3.
<apeiros>
o0
<mordof1>
Noob101: i know right, lol.. so bizarre
<noob101>
mordof1: ikr lol???
ghr has quit [Ping timeout: 240 seconds]
<apeiros>
♂ <-- this?
<DouweM>
Noob101: your name is extremely apt, by the way :P
<mordof1>
apeiros: that's female
<noob101>
Is a male watching me .3.?
<mordof1>
apeiros: the other one
<apeiros>
mordof1: dude, no :)
<DouweM>
mordof1: that's definitely male
<apeiros>
♀ <-- this is female
<noob101>
Oh loool, I mean male.
<noob101>
I mean female
<mordof1>
apeiros: then we're wrong and it's showing the female sign
<mordof1>
lol
<noob101>
Yeah that sign.
<apeiros>
:D
<noob101>
apeiros: Why do I see that sign.
<apeiros>
and where is it showing that?
<mordof1>
after a puts `cls`
<apeiros>
rofl, what? pics or it didn't happen!
<DouweM>
mordof1: what the.
<mordof1>
sec
<noob101>
under the i in irb after I typed the command puts `cls`
diegovio1 is now known as diegoviola
CorpusCallosum has quit [Quit: Computer has gone to sleep.]
<DouweM>
Noob101: screenshot!
<apeiros>
but my answer to "why does this happen?!?" is simply: lolwindows, <nelson>haaha</nelson>
<apeiros>
DouweM: 1920x1200 center, 1920x1080 left and right
<certainty>
just kidding
<mordof1>
apeiros: to each their own, really. i'm a web dev person - so it's less common for me to use the second monitor
<DouweM>
certainty: beautiful
<apeiros>
center is my old screen. now I can't play games anymore because it doesn't have 2 ins
<DouweM>
apeiros: what's your workflow as in what do you use each screen for?
<certainty>
don't know how to open multiple buffers in VIM so i just bought multiple monitors to open 8 files at once in 8 differen VIMs
diegoviola has quit [Ping timeout: 244 seconds]
<nwkr>
i have four screens
<apeiros>
center is work, right is work-related (or video), left is chat & diversion
<mordof1>
heh
<mordof1>
that's why i don't have 3
<nwkr>
three on bottom, and one center up
<DouweM>
nwkr: not bad
<certainty>
apeiros: you are aware of virtual workspaces? :p
<mordof1>
i got TOO distracted by having it visible
<apeiros>
certainty: doesn't work for me
cashnguns has joined #ruby
<nwkr>
four in the row didnt work at all
<certainty>
that said, i really only use two screens. (at work) could probably use a third
<apeiros>
mordof1: with less, I just have diversion in front and don't work at all ;-)
<mordof1>
apeiros: that's all a matter of self discipline :p lol
<mordof1>
but i suppose that's one way of dealing with it
<nwkr>
i had to turn around every time, so i mounted it on top
<apeiros>
mordof1: see, I don't *have* self discipline ;-D
<apeiros>
at home, that is
<mordof1>
hahah
<mordof1>
yeah
* mordof1
is getting better at that
<apeiros>
see, I don't even want to get better at that
noob101 has quit [Ping timeout: 246 seconds]
<apeiros>
home is where I just want to be happy
<mordof1>
apeiros: i stopped watching all tv, anime, and gaming somewhat recently.. and my capability to focus and be productive has gone through the roof
<apeiros>
and if being a nomad brain makes me happy, so be it
<apeiros>
yeah, I stopped watching tv too. antenna cable is plugged out
<DouweM>
honestly I have no idea what I'd use 2 large displays for, let alone 4
<apeiros>
but I watch SC2 matches occasionally :)
<mordof1>
apeiros: ah - that's fine. gotta watch something every now and then when you just need to check out
<mordof1>
apeiros: i just kept doing all-day marathons and killing my spare time xD
<apeiros>
the hold back for a 4k center btw. is that my current laptop would only manage 30Hz on it :(
Hanmac has joined #ruby
mrnugget has quit [Quit: mrnugget]
<mordof1>
apeiros: ooh - ouch
<mordof1>
that'd be yucky
<apeiros>
mordof1: yeah. with tv, I came home, turned tv on, time passed, "wtf, it's midnight again?", bed. sleep. wake up. go to work. repeat.
Zebroid has quit [Remote host closed the connection]
* mordof1
nods
<apeiros>
and that sucked. just wasted time. I didn't even enjoy watching tv.
<apeiros>
most shows are just plain shit.
<mordof1>
yeah exactly
* mordof1
wanders off momentarily
<apeiros>
now I buy dvds (sadly no streaming in CH) and watch them whenever I want and only what I really want
Hanmac1 has quit [Ping timeout: 252 seconds]
* apeiros
also needs to make up his mind on how to let the carpenter build his new desk :)
<apeiros>
definitively needs more space than my current one :-/
<certainty>
apeiros: it's good that you buy them and don't stream them. :) You don't want *them* to know which movies you watch when.
senayar has quit [Remote host closed the connection]
<apeiros>
certainty: haha :D
<apeiros>
the dvd player has ethernet!
<apeiros>
(not really…)
diegovio1 is now known as diegoviola
<apeiros>
the tv otoh does :-|
<certainty>
also +1 for not watching too much tv. TV as a medium for advertising has always been a tool. The entire program exists just because they want to generate audience that they can show their ads. It's all about behvaior control. That's the business model
<shevy>
originally the default one should have been ',' but I guess people love |
<diegoviola>
i wonder why they choose | instead of just m
<diegoviola>
s/m/,/
Takle has joined #ruby
<shevy>
in bioinformatics, atomic coordinates are also stored in such files, although I think they use the \t character as separator for the position of every atom in a biomolecule
<jhass>
because, you know, who would use | in normal texts
<jhass>
it's a total cryptic special character no one ever uses!
<shevy>
I do for beautiful ascii tables!
sputnik13 has joined #ruby
<jhass>
it's perfect!
<jhass>
</irony>
<shevy>
| Cost | Product |
<shevy>
------------------------
<shevy>
hmm
nitr has quit [Remote host closed the connection]
<shevy>
why is it that | seems to be even longer than two --
<mordof_home>
shevy: yep, i got very busy, heh
sandbags has quit [Ping timeout: 255 seconds]
<diegoviola>
shevy: how would you parse this?
<diegoviola>
or anyone else
<diegoviola>
i'm confused
<diegoviola>
:(
<shevy>
diegoviola really only via default ways, such as already exist in ruby
<apeiros>
» Radar: ping. can we please add a listener to helpa, checking for /(?:doesn't|does not|don't|dont) work|not working/, responding with: '( `Д´)=◯)`ν°) <nick> - "does not work is not a usable problem description"'
gruz1[russia] has quit [Quit: Leaving]
jottr_ has quit [Quit: WeeChat 0.4.3]
diegoviola has quit [Remote host closed the connection]
<AlexRussia>
someone know, what branch ruby lastest on github?
<jhass>
trunk I guess?
mr_foobar has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
shvelo has joined #ruby
cobakobodob has joined #ruby
jameswlane has joined #ruby
<mr_foobar>
Hi, can someone help me get aruba to work? When I use a step like 'Then the output should contain...' it always says 'expected "" to include "Desired output"'... why isn't it reading from STDOUT correctly?
<mr_foobar>
the output definitely exists
combusean has quit [Quit: Leaving.]
kireevco has quit [Ping timeout: 240 seconds]
<AlexRussia>
'or' and 'and' is eqi '||' and '&&'?
<akerl>
No
<AlexRussia>
hm
<akerl>
They have different precedence
cobakobodob has quit [Client Quit]
<AlexRussia>
apeiros: you mean word version and symbolic version?
hiyosi has joined #ruby
<apeiros>
yes, akerl means word vs. symbols
<akerl>
Um... no I don't?
<apeiros>
also they have different relative precedence
<akerl>
I mean that when evaluating, ruby gives different precedence in order of operations
<apeiros>
`or` and `||` have a different precedence
<AlexRussia>
ik know
<AlexRussia>
i know
cobakobodob has joined #ruby
<apeiros>
also, `||` and `&&` have different precedence, but `or` and `and` have the same precedence
aspires has joined #ruby
<apeiros>
AlexRussia: if you know, then you know they're not equivalent
<AlexRussia>
apeiros: i about '`or` and `||` have a different precedence'
cobakobodob has quit [Client Quit]
<akerl>
So what is your question?
tus has left #ruby [#ruby]
cobakobodob has joined #ruby
zoraj has quit []
<AlexRussia>
akerl: my?
<akerl>
Yes
<AlexRussia>
akerl: i tell before
hiyosi has quit [Ping timeout: 272 seconds]
<akerl>
We answered the question you asked, and you said "I know"
davidvl has quit [Quit: This computer has gone to sleep]
dontwork has quit []
<AlexRussia>
akerl: no, i said it to `or` and `||` have a different precedence
bradhe has joined #ruby
<akerl>
So what is your question?
<AlexRussia>
akerl: i give reply.
lw has quit [Quit: s]
<apeiros>
pointless
* apeiros
admires akerl's endurance
<akerl>
Heh
<AlexRussia>
okay,i have question: what code style using in Ruby source code?
<DouweM>
AlexRussia: right, I see your chance. what are you trying to accomplish?
<AlexRussia>
akerl: that just annoying me.
<akerl>
What?
<apeiros>
AlexRussia: did you try to run it?
<apeiros>
because I'm quite certain that `split!` will simply raise.
<DouweM>
AlexRussia: you're gonna need to be more specific
<DouweM>
yeah as apeiros said, string doesn't have #split!
<AlexRussia>
akerl: gem didn't seen bin dir in path is that written with '~/'
<akerl>
AlexRussia: So fix your config
<akerl>
You haven't changed any code functionality
<akerl>
At least not in any way that matters
<seitensei>
Is YARV still in Ruby after 1.9?
<AlexRussia>
akerl: but that bug software
<akerl>
? What bug?
<AlexRussia>
akerl: i dont want change my PATH
monkegjinni has joined #ruby
shredding has quit [Quit: shredding]
<AlexRussia>
DouweM: em....
<DouweM>
AlexRussia: What bug? And how is your change supposed to fix it?
gondalier has quit [Client Quit]
<akerl>
Then just suffer through the warning? running custom rubygems to avoid a warning because you don't want to properly configure the software seems like a bad idea
frogssgy has joined #ruby
<DouweM>
+1
xcv has quit [Ping timeout: 264 seconds]
<akerl>
It's not a bug, it's performing a sanity check and finding your system's sanity to be lacking
<dllama>
Hey guys. I'm really stuck with using savon as a soap client and am really hoping someone can point me in the right direction. for reasons that I've yet to understand, not all the params i'm executing actually get passed to the endpoint, only teh last value of my nested fields. https://gist.github.com/mvoloz/a427a048b58c6366e949
<AlexRussia>
akerl: so lol
<AlexRussia>
akerl: anyway i can send PR and maintainers can close that :D
<akerl>
What
<DouweM>
AlexRussia: +1 on akerl, but I'm still curious why you made theh change you made
fantazo has joined #ruby
<akerl>
The change you made is effectively a noop
<AlexRussia>
theh?
kies has quit [Ping timeout: 240 seconds]
<DouweM>
and a raising one because there's no such thing as String#split!
<DouweM>
AlexRussia: typo
<apeiros>
akerl: I wouldn't call an exception a no-op :)
<DouweM>
heh, as far as ops go that's a pretty yes one :P
<apeiros>
on one hand, I appreciate the idea of fixing a bug in OSS and making a PR - on the other hand, I've got a feeling this will not end well
<akerl>
AlexRussia: You are trying to "solve" something that is not a problem
<kith>
is it even released yet?
<DouweM>
kith: definitely higher level than C
<DouweM>
kith: released as in you can write in it now
<AlexRussia>
akerl: XD
<kith>
hmm ok
<DouweM>
kith: but it's not ready for production
<apeiros>
(and then there's of course the question whether it actually is a bug…)
<DouweM>
kith: but it's a really nice language
<akerl>
apeiros: I've not yet seen any indication that it is, but I may have looked away for a bit of the wall
<kith>
DouweM: to be honest i consider myself somewhat of a ruby novice and didnt want to start yet another language since i havent fully mastered ruby :/
<apeiros>
akerl: I didn't really bother trying to figure
<apeiros>
akerl: so you're very probably right :)
<DouweM>
kith: the hardest part of a new language is the standard library, which you'll need to learn anyway, whether you use RubyMotion, Objective-C or Swift
<kith>
hmm
<kith>
if you put it that way... :D
<jhass>
dllama: not sure, you have to dig into how savon converts the argument to xml
<DouweM>
kith: just go with swift, using a first party language is much easier to get support with etc
<DouweM>
kith: help online, all that jazz
xcv has joined #ruby
<kith>
will think about it
<DouweM>
AlexRussia: line 609 is now a no-op. or rather, it's an op but you're throwing away the result
<AlexRussia>
DouweM: what you mean?
<DouweM>
AlexRussia: my mistake, didn't see the assignment
kies has joined #ruby
aantix has quit [Quit: aantix]
<akerl>
You've just moved the same split 2 lines up
<AlexRussia>
ok
<akerl>
So it's a no-op compared to the old version
<DouweM>
akerl: the difference is that he's assigning to path, so the check on 612 now uses the array as well
<DouweM>
akerl: which is a definite difference, and what fixes the bug
<akerl>
DouweM: No, because the check on 612 used to be on 609 and include the split right inside it
<DouweM>
I'm surprised to agree with AlexRussia that there was indeed a bug that this does indeed fix
jamto11 has joined #ruby
<DouweM>
akerl: I mean the second include check, with the subbed user bin dir
<DouweM>
akerl: replacing the written out home path by ~, so it'll check the right thing in the user's path
<akerl>
DouweM: He's not replacing anything, he's just ensuring the check never runs at all on windows
<AlexRussia>
DouweM: 612 is fix, i check system to 'not windows', because i never listen about using '~/' in windows, and check include PATH to something like ~/.gem/2.1.0/bin
hiyosi has joined #ruby
<DouweM>
is that so? is the code on ruby/ruby old then?
<DouweM>
why doesn't the ruby/rubt code have the sub?
<DouweM>
akerl: apparently I'm still looking at old code
<akerl>
DouweM: line 612 skips the rest of the check unless you're on a non-windows system
<DouweM>
did AlexRussia add the sub? because the sub makes sense
jamto11 has quit [Ping timeout: 264 seconds]
hiyosi has quit [Client Quit]
<akerl>
Not really
<AlexRussia>
DouweM: but you dont know how to check my code....not visually, if you understand ;)
<DouweM>
I'm getting more confused by the minute
<AlexRussia>
DouweM: meah
<akerl>
The include? thing.sub check checks "Does the path include the userbindir assuming we replace my homedir with the "~" char
Valesk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<DouweM>
right
<DouweM>
which makes sense right? because HOME and ~ are equiv, we should check both
<akerl>
Except that doesn't
<DouweM>
disregarding the windows check for the moment
timonv has quit [Ping timeout: 244 seconds]
<DouweM>
the sub isn't in the actual rubygems right? it's not in the linked installer.rb
<DouweM>
what do you mean "Excep that doesn't"? I feel like I'm missing something
<AlexRussia>
DouweM: i afraid, sub is part of Ruby library
<AlexRussia>
DouweM: because String is part, right?
<AlexRussia>
DouweM: i mean standard library
<DouweM>
AlexRussia: I know. I know what it does. Did you add that sub in that place or was it already there? Because I don't see it in the code on GitHub
<AlexRussia>
DouweM: that add me
<AlexRussia>
DouweM: i can sent you diff
<akerl>
I think what he means to do is "unless path.include? user_bin_dir or path.include? File.expand_path(user_bin_dir)"
<akerl>
I guess? I don't think it's really a bug he's hitting given that he doesn't seem to have it in his path at all
<AlexRussia>
DouweM: 'git diff -p'
<akerl>
DouweM: Were I writing it, I'd probably map
braincrash has quit [Ping timeout: 240 seconds]
<RubyPanther>
Yeah, if you do somehting like PATH=$PATH:~/foo then bash expands that before it gets added, the ~ isn't going to be in $PATH
eguim has quit [Ping timeout: 244 seconds]
<DouweM>
RubyPanther: is that so? I had no idea
<akerl>
^
<RubyPanther>
stuffing it in there is perverse
<AlexRussia>
RubyPanther: Hello
<akerl>
I doubt rubygems is the only thing that behaves poorly in this scenario
<DouweM>
RubyPanther: I'm not saying it's a good idea, but I can see what AlexRussia is trying to fix
bradhe has joined #ruby
<RubyPanther>
it is wrong, but in a way that creates land mines by looking too much like normal ground
<RubyPanther>
a wide open WTF in the ground, you just step around it
<AlexRussia>
RubyPanther: i just try make gem really intelligence software....
eguim has joined #ruby
<RubyPanther>
AlexRussia: clever is not better than conventional
<DouweM>
AlexRussia: fix your PATH and you should be all right
<akerl>
No, you're trying to avoid seeing a warning for having a poorly set path
<AlexRussia>
RubyPanther: that (btw me) should work in any correct environment
<RubyPanther>
Only add intelligence to your code where it is strictly beneficial for clear and known reasons and does not create land mines
<Mon_Ouie>
To make gem intelligent, just make it pretend to be a 13 yo :p
<akerl>
AlexRussia: If your env was correct and rubygems wasn't working, we would be having a different discussion
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<AlexRussia>
DouweM: that yes, but i more love seen ~/ vs full path, that more portable
<DouweM>
Mon_Ouie: haha
byonic has quit [Quit: Connection closed for inactivity]
<akerl>
DouweM: As a very rough oneliner sketch: unless path.split(File::PATH_SEPARATOR).find { |dir| [dir, File.expand_path(dir)].include? user_bin_dir }
<akerl>
AlexRussia: No it's not
<DouweM>
akerl: yeah I would've gone with that approach as well
<akerl>
Set your PATH with $HOME or ~ that expands at time-of-setting
<AlexRussia>
akerl: ~/ more portable vs /home/user/
<akerl>
Read the above?
<DouweM>
AlexRussia: you're not sharing your PATH anyway, who cares
<RubyPanther>
~ is portable because you know where you expand it, and expand it in the right place.
<akerl>
You use ~/ or $HOME when you set it, let it expand at runtime rather than sitting as a relative magic in the env variable
Nameo0 has joined #ruby
<RubyPanther>
not knowing where it is expanded so stuffing it in everywhere, that doesn't do anything for portability
<AlexRussia>
DouweM: dammit, i mean, any user can setup environmant like he love and gem don't need tell 'you idiot, my authors dont like that'
<akerl>
AlexRussia: It's not even an error
<DouweM>
if adding to PATH automatically expands, how did you end up with ~ in there?
<akerl>
DouweM: '~/.bin:/bin:/sbin' won't expand
<RubyPanther>
The user who fiddles $PATH will generally expect you to just use the PATH normally and not to try to play clever tricks. You're not helping that person by being clever.
<DouweM>
akerl: ah
<AlexRussia>
may be you just say me how to test changes and i leave? A?
<akerl>
AlexRussia: Ok, you're welcome to just leave
<DouweM>
akerl: hehe
bradhe has quit [Ping timeout: 272 seconds]
<RubyPanther>
Other software isn't clever, and use and abuse of $PATH assumes the software will just be properly stupid and not worry about what you stick in there, just check those directories
<akerl>
If you'd like to test the changes, install your custom gem and try it out
<Mon_Ouie>
Plus having a literal "~" in my path doesn't work in my shell here (it won't expand it later, that is)
<RubyPanther>
The idea that some cleverness would somehow _help_ the people who fiddle their paths, that is just nuts.
<AlexRussia>
Mon_Ouie: what shell you use?
<AlexRussia>
Mon_Ouie: i zsh
<Mon_Ouie>
zsh
<AlexRussia>
me*
<AlexRussia>
Mon_Ouie: hm
<AlexRussia>
Mon_Ouie: for me work nice
<akerl>
Clearly
<AlexRussia>
Mon_Ouie: did you restart your zsh?
<apeiros>
zsh is the sound a tire makes when losing pressure
<apeiros>
s/pressure/air/
<Mon_Ouie>
I just did export PATH="~/some_dir"
<AlexRussia>
Mon_Ouie: yeah
dilated_dinosaur has quit [Ping timeout: 240 seconds]
<AlexRussia>
how silent....
zorak has joined #ruby
mikepack has joined #ruby
<RubyPanther>
export FOO=~ ; export BAR='~'; ruby -e 'puts ENV["FOO"]' ; ruby -e 'puts ENV["BAR"]' ; ls -d $FOO $BAR # this should explain it all
braincrash has joined #ruby
xcv has quit [Remote host closed the connection]
braincra- has quit [Ping timeout: 240 seconds]
<RubyPanther>
ls: cannot access ~: No such file or directory
marr has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
combusean has joined #ruby
mijicd has joined #ruby
tmegano has quit [Remote host closed the connection]
diegoviola has joined #ruby
xcv has joined #ruby
mikepack has quit [Ping timeout: 272 seconds]
xcv has quit [Client Quit]
<AlexRussia>
RubyPanther: lol
cobakobodob has quit [Quit: WeeChat 0.4.3]
cobakobodob has joined #ruby
<AlexRussia>
may be that because shell understand ~ while it not in ''
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
timonv has quit [Remote host closed the connection]
sski has joined #ruby
senayar has quit [Remote host closed the connection]
Notte has quit []
timonv has joined #ruby
Squarepy has quit [Remote host closed the connection]
aantix has joined #ruby
Squarepy has joined #ruby
Squarepy has quit [Changing host]
Squarepy has joined #ruby
shvelo has quit [Quit: Leaving]
Squarepy has quit [Client Quit]
<Mon_Ouie>
If you don't put it in quote there is no '~' in the variable, it's already been expanded to the user's home directory
mr_foobar has left #ruby ["WeeChat 0.3.8"]
<RubyPanther>
exactly, ~ is not a general meta-character, it is only a metacharacter to the shell, and the shell expands it when it is set, and all that is set is a regular dumb string
timonv has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
Squarepy has joined #ruby
<RubyPanther>
trying to add extra logic that expands crap in those strings is a security hole. Not a theoretical, a known one, because where things do and don't expand is part of the security strategies being used. You could accidentally expose the user of your gem to attack from by their users
aantix has quit [Quit: aantix]
<RubyPanther>
The dark heart of the BOFH is forged battling these demons
freerobby has joined #ruby
zigomir has quit [Remote host closed the connection]
zigomir has joined #ruby
mr_snowf1ake has joined #ruby
mr_snowf1ake has quit [Client Quit]
Takle has quit [Remote host closed the connection]
cobakobodob has quit [Quit: WeeChat 0.4.3]
kireevco has quit [Ping timeout: 245 seconds]
cobakobodob has joined #ruby
cobakobodob has quit [Client Quit]
cobakobodob has joined #ruby
zigomir has quit [Ping timeout: 255 seconds]
Atrumx has joined #ruby
alem0lars has quit [Quit: alem0lars]
lezzit has joined #ruby
<lezzit>
does anyone here work at twitter?
<blackthor>
why, did u lose your account info? :P
<lezzit>
na
<lezzit>
i want one bot removed
<akerl>
So report it to twitter?
St_Marx has joined #ruby
<lezzit>
i have been mailing for a week
<lezzit>
no response
spider-mario has quit [Remote host closed the connection]
<lezzit>
i think millions would be providing customer service for twitter in future and facebook
<lezzit>
so much bad stuff
<akerl>
hah
<lezzit>
only human filters can solve it i guess
anaeem1 has quit [Remote host closed the connection]
donnoc has joined #ruby
chrishough has joined #ruby
<RubyPanther>
human filters will ban more stuff, if that results in "solving" a particular problem depends on a lot of assumptions, and the problem
jackneill has quit [Ping timeout: 240 seconds]
donnoc has quit [Client Quit]
<lezzit>
RubyPanther: mostly it is about religion
<akerl>
A religionbot?
<akerl>
this seems pretty benign
<lezzit>
it is better if no freedom of speech againt anti-religion stuff
<lezzit>
because it solves nothing
<RubyPanther>
LOLOL
<akerl>
what
<RubyPanther>
now we know why they ignore your mails
<lezzit>
relgion is here to stay till dinosaurs come back
<lezzit>
;)
<lezzit>
no man
<akerl>
lezzit: What's the bot?
Shidash has joined #ruby
<lezzit>
RubyPanther: god is probability to me
<RubyPanther>
lezzit: Nobody cares
stantona has joined #ruby
<lezzit>
that's all to it
<lezzit>
i am not a believer or stuff
<lezzit>
it is just that present environemtn is not ready for such posts
<apeiros>
lezzit: block the bot, enjoy life again
<akerl>
lezzit: So now we know why twitter is ignoring you
<lezzit>
akerl: i hope you would understand someday.
<apeiros>
lezzit: also, wrong channel for this
<lezzit>
yeah sorry
<lezzit>
can i ask one more before leaving
<apeiros>
if it's ruby related, sure
<lezzit>
are bots allowed on twitter?
<lezzit>
sorry again
<Edelwin>
of course
<lezzit>
ok
<lezzit>
thanks
CorpusCallosum has joined #ruby
<lezzit>
guys
<lezzit>
bye
<Edelwin>
(and girls)
CorpusCallosum has quit [Max SendQ exceeded]
<RubyPanther>
My direct ancestor killed Charles II of England in order to free the individual to talk to their deity directly, to receive inspiration directly. Incidentally, they also created the modern English parliamentary system at the same time. I'm not a deist, but I'd fight for their rights to come up with their own answers, and to bloviate about them.
<lezzit>
oh, i'm sowie, Edelwin :)
<akerl>
...
<RubyPanther>
How is a bot any different than a Buddhist prayer wheel spinning in the wind?
<apeiros>
RubyPanther: I guess everybody has a right to believe in whatever fairy tale he/she wishes to
lezzit has left #ruby [#ruby]
<akerl>
RubyPanther: Aren't we all bots on the inside?
<OffTheRails>
mind = blown
<apeiros>
akerl: actually more like a bazillion bots
<RubyPanther>
is a bot a system, or a phenomenon that arises from a system?
<apeiros>
uh-oh, we pressed philosopher-RubyPanther-button
<RubyPanther>
luckily I have to fix a bicycle, so you're saved
<apeiros>
*phew*
blackthor has quit [Ping timeout: 245 seconds]
<OffTheRails>
the bigger question is, why does the bicycle need fixing?
<RubyPanther>
OffTheRails: The bicycle doesn't need any fixing. I need it to be fixed, so that my wife will be happy about it.
cantonic has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
<OffTheRails>
ahh, a sacrifice for the Gods
cantonic has joined #ruby
<RubyPanther>
lol yeah, worship for my Deity :P~
Xeago has joined #ruby
marr has joined #ruby
bradhe has quit [Ping timeout: 244 seconds]
kirun has quit [Quit: Client exiting]
mgomezch has quit [Ping timeout: 276 seconds]
Xeago has quit [Ping timeout: 252 seconds]
<foobarbaz_>
Is there any common apps people make in ruby/rails that i could do?
<foobarbaz_>
Bit stuck for ideas on how to learn ruby
Zebroid has quit [Remote host closed the connection]
<jhass>
I think the hello world one is todo?
jtiggo has quit [Remote host closed the connection]
dvabr has quit [Read error: Connection reset by peer]
Zebroid has joined #ruby
Mooneye has quit [Quit: Leaving]
dvabr has joined #ruby
dvabr has quit [Client Quit]
NukePuppy has joined #ruby
joaoh82 has joined #ruby
shevy has quit [Remote host closed the connection]
Takle has joined #ruby
shevy has joined #ruby
<foobarbaz_>
Blog's slightly more involved than todo list, will give that a go :)
<foobarbaz_>
Hm; CoffeeScript makes a lot more sense having looked at ruby...
<shevy>
:\
<foobarbaz_>
Is that coincidence? Or is coffeescript based on ruby in someway
<shevy>
perhaps some of the authors might have used ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
<DouweM>
influenced by I'm pretty sure
<shevy>
but I think they just wanted to make javascript visually more appealing
<DouweM>
also that
<shevy>
perhaps DouweM is a co-author!
Zebroid has quit [Ping timeout: 272 seconds]
<DouweM>
well there's really just two guys on the internet, you and everyone else, so in fact I'm co-author of everything
havenwood has quit [Remote host closed the connection]
<foobarbaz_>
eraw, is that you?
<DouweM>
of course, I am everyone, including eraw
joaoh82 has quit [Ping timeout: 252 seconds]
aantix has quit [Quit: aantix]
<shevy>
are you also female
<akerl>
:|
donnoc has joined #ruby
postmodern has joined #ruby
<apeiros>
foobarbaz_: the authors were rubyists
<apeiros>
and the first implementation was in ruby
<apeiros>
I think it's by now bootstrapped
<foobarbaz_>
ohh, cool
<foobarbaz_>
I just wondered because when i first looked at it, i couldn't make sense of it
parduse has quit [Killed (holmes.freenode.net (Nickname regained by services))]
parduse has joined #ruby
parduse has quit [Changing host]
parduse has joined #ruby
<foobarbaz_>
But now a lot of it makes sense, having seen ruby sugar and such
mengu has quit []
vifino has quit [Quit: Ze Cat now leaves...]
freerobby has quit [Quit: Leaving.]
markl3ster has joined #ruby
mostlybadfly has joined #ruby
<shevy>
now you know how desperate ruby people are foobarbaz_
<shevy>
they see how beautiful ruby can be
<shevy>
then they have to write javascript all day long
grieg has quit [Ping timeout: 255 seconds]
<shevy>
or even worse
<shevy>
java
<shevy>
foobarbaz_, now you did it
<shevy>
you depressed me :(
Mooneye has joined #ruby
<foobarbaz_>
<3
m8 has quit [Quit: Sto andando via]
<foobarbaz_>
Everyone should just write in Scala anyway
<foobarbaz_>
Problem solved! :)
<shevy>
but that requires java
dseitz has joined #ruby
havenwood has joined #ruby
lxsameer has quit [Quit: Leaving]
kireevco has joined #ruby
<foobarbaz_>
shevy: does it?
<shevy>
not sure
<foobarbaz_>
A JVM maybe?
<foobarbaz_>
Scala != Java
<shevy>
is there a JVM without java?
<foobarbaz_>
You ask an interesting question.
<shevy>
you are funny
<shevy>
almost as funny as certainty
mgberlin has quit [Remote host closed the connection]
<foobarbaz_>
Marry me.
<shevy>
we already argue so why marry
<foobarbaz_>
True, true.
<shevy>
that reminds me ...
<foobarbaz_>
a JVM takes bytecode and runs it, it's Java agnostic
<shevy>
can one of you confirm that "gem uninstall" will not remove bin/* entries of the respective gem, if installed globally (ruby prefix to /usr dir)
<shevy>
foobarbaz_ that is cool but can you tell me which JVM I can use that does not require me to have java? It's not even a fake question, java always gives me problems on my messed up everything-from-source linux install system :(
<shevy>
but at least I have AppDirs!
<shevy>
/Programs/Lame/3.99.5/
<shevy>
aaaaaaah the beauty
<Mon_Ouie>
It's JVM agnostic except for the fact that its primitives and the way it represents objects have been designed with Java in mind
<Mon_Ouie>
Java agnostic*
kireevco has quit [Ping timeout: 240 seconds]
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
ascarter has joined #ruby
relix_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarkis has joined #ruby
monkegjinni has joined #ruby
havenwood has quit [Remote host closed the connection]
sarkis has quit [Ping timeout: 240 seconds]
CpuID has quit [Quit: This computer has gone to sleep]
monkegjinni has quit [Ping timeout: 240 seconds]
joaoh82 has joined #ruby
joaoh82 has quit [Remote host closed the connection]
tectonic has joined #ruby
mijicd has quit [Remote host closed the connection]
donnoc has quit [Quit: WeeChat 0.4.3]
havenwood has joined #ruby
cHarNe2 has quit [Ping timeout: 240 seconds]
<foobarbaz_>
str[/(\w*)/, 1]
caveat- has quit [Ping timeout: 245 seconds]
<foobarbaz_>
What sugar is this?
<jhass>
def [](regex, group)
<Mon_Ouie>
str.[](arguments)
<foobarbaz_>
o.O
<foobarbaz_>
interesting!
<akerl>
slices are just methods with cute syntax
<Mon_Ouie>
Same for most other "operators"
<Mon_Ouie>
3 + 5 is just 3.+(5)
shredding has quit [Quit: shredding]
<matti>
Mon_Ouie: ;]
<Mon_Ouie>
matti: :)
<foobarbaz_>
cool :)
bradhe has joined #ruby
jamto11 has joined #ruby
<apeiros>
foobarbaz_: since plenty mess this up: `foo[a, b, c] = d` is sugar for `foo.[]=(a, b, c, d)`
<apeiros>
i.e., the assigned value is just the last argument. and the method name is []=
<apeiros>
foobarbaz_: in other words - "what does that do" depends entirely on what you call it on. it's a method. what a method does depends on the receiver of the method call.
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benzrf|offline is now known as benzrf
caveat- has joined #ruby
bradhe has quit [Ping timeout: 264 seconds]
jamto11 has quit [Ping timeout: 272 seconds]
havenwood has quit [Remote host closed the connection]
riotjone_ has joined #ruby
<foobarbaz_>
hmm
pu22l3r has quit [Remote host closed the connection]
<foobarbaz_>
ruby is interesting
<foobarbaz_>
thanks
<matti>
foobarbaz_: Check out Go too ;]
riotjones has quit [Ping timeout: 255 seconds]
<foobarbaz_>
I have too many things to learn :'/
<matti>
We all.
<matti>
;]
moritzs has quit [Ping timeout: 272 seconds]
<foobarbaz_>
:)
stantona has quit [Remote host closed the connection]
Zebroid has joined #ruby
stantona has joined #ruby
cantonic has quit [Read error: Connection reset by peer]
caveat- has quit [Ping timeout: 240 seconds]
stantona has quit [Remote host closed the connection]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
OffTheRails has left #ruby ["Leaving"]
bradhe has joined #ruby
klaut has quit [Remote host closed the connection]
bradhe has quit [Client Quit]
scx_ has quit [Ping timeout: 255 seconds]
stantona has joined #ruby
cantonic has joined #ruby
george2 has quit [Remote host closed the connection]
jhass is now known as jhass|off
stantona has quit [Remote host closed the connection]
andrewlio has quit [Quit: Leaving.]
stantona has joined #ruby
caveat- has joined #ruby
freerobby has joined #ruby
jottr has joined #ruby
datafirm has joined #ruby
cantonic has quit [Quit: cantonic]
datafirm has quit [Client Quit]
stantona has quit [Remote host closed the connection]
kilk_ has quit [Ping timeout: 240 seconds]
datafirm has joined #ruby
stantona has joined #ruby
<shevy>
foobarbaz_ you don't have to learn everything
datafirm has quit [Ping timeout: 240 seconds]
BadQuanta has joined #ruby
Valesk has joined #ruby
pietr0 has joined #ruby
<Radar>
apeiros: Use !e.
havenwood has joined #ruby
scx has joined #ruby
moritzs has joined #ruby
jottr has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
Zai00 has quit [Quit: Zai00]
<apeiros>
Radar: nooo! automatic response!
<apeiros>
we have the technology, we can do this!
<Radar>
apeiros: It would get annoying and people can spam "doesn't work"
<Radar>
apeiros: see also: patches welcome
tkuchiki has joined #ruby
<apeiros>
we can make him better than he was before, stronger, faster!
<apeiros>
Radar: bah, people can always spam. that's when you ban them.
<Radar>
apeiros: And what happens when we have no ops, like this channel has 95% of the time?
<apeiros>
(I've had idiots argue "but it was the bot", yeah, bullshit. bot does what you tell him to)
<toretore>
!ban apeiros
<helpa>
Radar, you should ban the person highlighted, signed toretore.
tectonic has quit [Ping timeout: 240 seconds]
<apeiros>
Radar: that problem is unrelated to having a bot or not
<Radar>
apeiros: I would rather not have another spam vector in my bot.
<apeiros>
if somebody spams, whether through a bot or himself, and you have no op, then you have no op
<Radar>
the !g command is already a vector
<Radar>
apeiros: It's disruptive to the channel and I don't want that happening in #rubyonrails