<shadoh>
try it. I've read that it doesn't work. and I've seen it behave very strangely.
<shadoh>
for example, I have class A and subclass B. both have a name field, set by the constructor. B's name field is not accessible via b.name(b being an instance) UNLESS I basically re-add the attr_reader after I instantiate the class.
<shadoh>
it's freaking ridiculous.
<shadoh>
this is either a bug or some corner case I just don't understand.
<shadoh>
whitequark what version of ruby are you using?
<shadoh>
b/c in jruby 1.7.10 it poos on me
<whitequark>
shadoh: show me a minimal testcase
centrx has joined #ruby-lang
<shadoh>
I don't understand this. it works in irb if I type out simplistic classes. but when I have full-blown classes it does not work
<centrx>
I understand
<shadoh>
thanks, centrx :)
snarfmason has joined #ruby-lang
<shadoh>
why would it behave differently?
tsou has joined #ruby-lang
<shadoh>
I swear to god this is infuriating
blaz3rz has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<shadoh>
it's only one data field that it does that with, too, it seems. if I access another field defined via attr_reader/attr_accessor, it works fine.
goatish_mound has quit [Read error: Connection reset by peer]
rsl has joined #ruby-lang
makoto_ has joined #ruby-lang
korpz has joined #ruby-lang
<ljarvis>
that is quite the url
<maloik>
nice 'stache
makoto_ has quit [Ping timeout: 272 seconds]
heftig has quit [Remote host closed the connection]
heftig has joined #ruby-lang
workmad3 has joined #ruby-lang
heftig has quit [Remote host closed the connection]
heftig has joined #ruby-lang
dannysmith has joined #ruby-lang
<r0bglees0n>
ljarvis: yeah, crazy URL, sorry about that
<r0bglees0n>
it's a URL inside a URL
bzalasky has quit [Read error: Connection reset by peer]
<r0bglees0n>
maloik: nice drink too. you should try it if you're in the UK
bzalasky has joined #ruby-lang
<r0bglees0n>
probably my favorite drink
<ljarvis>
i think you mean guiness
<ljarvis>
dont ever let anyone hear you say otherwise
<r0bglees0n>
only if i existed on a postcard that an american would buy
heftig has quit [Remote host closed the connection]
<r0bglees0n>
guinness will probably always have a business but nowadays it's only old people who still drink it
heftig has joined #ruby-lang
<maloik>
until someone comes up with a brilliant marketing plan and it becomes a hype
<maloik>
see (apparently, cause Ive somewhat missed it) Hendricks gin
<r0bglees0n>
they've tried a few times, with new "brands" of guinness, never took off
<maloik>
I've always liked gin / gin tonic so I had no idea it was a hype until people started nagging "oh youre just drinking that cause its a hype" - wait what ?
<ljarvis>
my mother drinks that
<yorickpeterse>
ljarvis: joke's on you, I'm productive
<r0bglees0n>
gin is ugghhh
<r0bglees0n>
too strong for me to be regular
<ljarvis>
yorickpeterse: i dont doubt that
<ljarvis>
r0bglees0n: psh, s'all about a good whiskey
<ljarvis>
I also enjoy rum
<ljarvis>
arrrrr etc
<r0bglees0n>
hehe, yeah, i avoid whiskey, almost a sure bet for a blackout
<ljarvis>
i think i actually kind of enjoy coffeescript
ric_ has quit []
<yorickpeterse>
get the fuck out
<ljarvis>
it's better than writing javascript
<ljarvis>
by a landslide
relix has joined #ruby-lang
<ljarvis>
ny a landslide? does that work in this context?
* yorickpeterse
is mucking with user credentials now
<yorickpeterse>
I don't like this one bit
<yorickpeterse>
like, I actually get a headache from it
<maloik>
lol, talking to my skiing buddy... he says he's so excited he's sitting there behind his computer smiling like a moron "and with my nostrils wide open"
<maloik>
wat
yuuki1224 has quit [Remote host closed the connection]
yuuki1224 has joined #ruby-lang
nofxx has quit [Ping timeout: 245 seconds]
Cakey has quit [Ping timeout: 245 seconds]
yuuki1224 has quit [Ping timeout: 252 seconds]
<yorickpeterse>
oh man, users are so bad at passwords
<yorickpeterse>
might as well use hunter2 as your password
kitak has quit [Remote host closed the connection]
yuuki1224 has joined #ruby-lang
coca_rails has joined #ruby-lang
feinbergscott has joined #ruby-lang
anulman has joined #ruby-lang
skade has quit [Quit: Computer has gone to sleep.]
coca_rails has quit [Ping timeout: 240 seconds]
cored has joined #ruby-lang
anulman has quit [Ping timeout: 265 seconds]
vlad_starkov has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
mistym has joined #ruby-lang
feinbergscott has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby-lang
feinbergscott has joined #ruby-lang
VTLob has joined #ruby-lang
solars has quit [Quit: WeeChat 0.4.1]
RoxasShadowRS has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 264 seconds]
Lewix has quit [Remote host closed the connection]
makoto_ has joined #ruby-lang
sandbags has joined #ruby-lang
sandbags has quit [Changing host]
sandbags has joined #ruby-lang
skade has joined #ruby-lang
cid404 has joined #ruby-lang
makoto_ has quit [Ping timeout: 260 seconds]
Onixs has joined #ruby-lang
soba has quit [Ping timeout: 245 seconds]
Elico has quit [Ping timeout: 265 seconds]
Elico has joined #ruby-lang
yuuki1224 has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
arBmind has joined #ruby-lang
yugui is now known as yugui_zzz
Locke23rus has joined #ruby-lang
gnufied has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby-lang
<DefV>
What's a good solution to store sensitive data encrypted in the database, without having to store a shared key on the server, and without having to tell every user the same key
micalexander has joined #ruby-lang
anulman has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
heftig has quit [Quit: Quitting]
<yorickpeterse>
A key server, though those aren't strictly more secure
<yorickpeterse>
at some point you have to store that stuff on a server and access it
MartynKeigher has quit [Ping timeout: 245 seconds]
coca_rails has quit [Ping timeout: 240 seconds]
jsrn has quit [Ping timeout: 264 seconds]
anulman has quit [Ping timeout: 248 seconds]
<DefV>
but if a hacker gains access to the application server it can access everything, then
rahul_j has quit [Quit: rahul_j]
VTLob has quit [Quit: VTLob]
<yorickpeterse>
That depends on how you set it up
<yorickpeterse>
but in general yes, if they're on your server you're pretty much fucked
anulman has joined #ruby-lang
skade has joined #ruby-lang
<DefV>
I want to prevent tha t:)
_rgn has quit [Ping timeout: 252 seconds]
Mon_Ouie has joined #ruby-lang
<yorickpeterse>
well, start with locking down every port other than maybe SSH and HTTP
<yorickpeterse>
Moving SSH to a different port will also reduce the amount of port scanning crap
<yorickpeterse>
use SSH pubkeys, enforce a IP whitelist (if possible
anulman has quit [Ping timeout: 252 seconds]
<yorickpeterse>
File permissions, yadyadya
benlovell has quit [Ping timeout: 245 seconds]
<yorickpeterse>
What kind of boxes are you running, web stuff?
<DefV>
yorickpeterse: well, "securing the server" doesn't ensure the box won't ever get compromised
FlyingLeap has quit [Remote host closed the connection]
FlyingLeap has joined #ruby-lang
<yorickpeterse>
You can never fully prevent that from happening
<yorickpeterse>
You can only make it as hard as possible
<yorickpeterse>
if you want to go full crazy, set up a bastion host in between
<yorickpeterse>
log the crap out of everything going on there
skade has quit [Read error: Connection reset by peer]
dannysmith has quit [Ping timeout: 260 seconds]
vlad_starkov has joined #ruby-lang
yfeldblum has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
arBmind has quit [Quit: Leaving.]
vlad_sta_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 260 seconds]
makoto_ has joined #ruby-lang
skade has joined #ruby-lang
Elico has quit [Ping timeout: 265 seconds]
benlovell has joined #ruby-lang
makoto_ has quit [Ping timeout: 248 seconds]
VTLob has joined #ruby-lang
Elico has joined #ruby-lang
korpz has quit [Remote host closed the connection]
yuuki1224 has joined #ruby-lang
korpz has joined #ruby-lang
heftig has joined #ruby-lang
ssb123 has joined #ruby-lang
gnufied has joined #ruby-lang
gnufied has left #ruby-lang [#ruby-lang]
gnufied has joined #ruby-lang
<ecnalyr>
I have a few methods that I think look awkward along with the rest of my code, anyone have a better way of styling them so they aren't hanging out around the 80 character length? https://gist.github.com/ecnalyr/be13fdebe820559eff2c
shinnya has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
heftig has quit [Remote host closed the connection]
<sandbags>
i've read too much clojure code recently to be able to bare naked parentheses
<ecnalyr>
:P
<maloik>
first one doesn't have parentheses, the rest does... I'd start there
<maloik>
I probably woudln't even bother sticking to a certain line length in this case, but if you wan't to do it this is probably the only way
<sandbags>
i think the only thing that's going to address your specific concern is not aligning arguments with parentheses
patriciomacadden has joined #ruby-lang
rahul_j has joined #ruby-lang
smashwilson has joined #ruby-lang
robmiller has quit [Quit: robmiller]
coca_rails has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
anulman has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 252 seconds]
skade has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
riffraff has quit [Ping timeout: 240 seconds]
vlad_sta_ has quit [Remote host closed the connection]
jsrn has joined #ruby-lang
anulman has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
arBmind has joined #ruby-lang
heftig has joined #ruby-lang
solars has joined #ruby-lang
heftig has quit [Remote host closed the connection]
Cakey has joined #ruby-lang
phansch has quit [Quit: Leaving]
riffraff has joined #ruby-lang
FlyingLeap has quit [Changing host]
FlyingLeap has joined #ruby-lang
mistym has joined #ruby-lang
yfeldblum has joined #ruby-lang
mistym has quit [Ping timeout: 245 seconds]
MartynKeigher has joined #ruby-lang
DevDoo has joined #ruby-lang
heftig has joined #ruby-lang
yfeldblum has quit [Ping timeout: 264 seconds]
makoto_ has joined #ruby-lang
robmiller has joined #ruby-lang
yuuki1224 has quit [Remote host closed the connection]
yuuki1224 has joined #ruby-lang
_rgn has joined #ruby-lang
rh1n0 has joined #ruby-lang
rh1n0 has quit [Max SendQ exceeded]
makoto_ has quit [Ping timeout: 245 seconds]
vpretzel has joined #ruby-lang
micalexander has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
micalexander has joined #ruby-lang
heftig has joined #ruby-lang
yuuki1224 has quit [Ping timeout: 245 seconds]
rh1n0 has joined #ruby-lang
rh1n0 has quit [Max SendQ exceeded]
micalexander has quit [Ping timeout: 245 seconds]
rh1n0 has joined #ruby-lang
Cakey has quit [Ping timeout: 248 seconds]
tkuchiki has quit [Remote host closed the connection]
adayzdone has joined #ruby-lang
<adayzdone>
Hi All... I need someone to help either A) translate a ruby script into pseudo code B) adapt the script to take 3 parameters and return the results ... Anyone interested?
<adayzdone>
will pay $50/hr
skade has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
<tbuehlmann>
OR: pose your question right here nicely
skade has joined #ruby-lang
blaz3rz has joined #ruby-lang
diegoviola has joined #ruby-lang
<yorickpeterse>
lol
ssb123 has joined #ruby-lang
jsrn has quit [Quit: Leaving]
<yorickpeterse>
that looks totally legit
skade has quit [Read error: Connection reset by peer]
lfox has joined #ruby-lang
skade has joined #ruby-lang
blaz3rz has quit [Ping timeout: 240 seconds]
Rylee has joined #ruby-lang
<adayzdone>
tbuehlmann are you talking to me>
<adayzdone>
?
breakingthings has joined #ruby-lang
patriciomacadden has quit [Ping timeout: 264 seconds]
Rylee has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
skade has quit [Read error: Connection reset by peer]
yuuki1224 has joined #ruby-lang
yuuki1224 has quit [Remote host closed the connection]
tkuchiki has joined #ruby-lang
yuuki1224 has joined #ruby-lang
skade has joined #ruby-lang
enebo has joined #ruby-lang
wallerdev has joined #ruby-lang
coca_rails has joined #ruby-lang
anulman has joined #ruby-lang
skade_ has joined #ruby-lang
yuuki1224 has quit [Ping timeout: 252 seconds]
vlad_starkov has joined #ruby-lang
skade has quit [Read error: Connection reset by peer]
coca_rails has quit [Ping timeout: 240 seconds]
patriciomacadden has joined #ruby-lang
tonni has joined #ruby-lang
anulman has quit [Ping timeout: 260 seconds]
ssb123 has quit [Remote host closed the connection]
IRCInfoCustomer has joined #ruby-lang
IRCInfoCustomer has left #ruby-lang [#ruby-lang]
skade_ has quit [Read error: Connection reset by peer]
skade has joined #ruby-lang
<sandbags>
yuck
Squarepy has joined #ruby-lang
<adayzdone>
?
<yorickpeterse>
"Copyright 2006 __MyCompanyName__. All rights reserved."
<yorickpeterse>
yeahhh
<sandbags>
that's surely some horribly written Ruby code
* yorickpeterse
nopes back to work
wallerdev has quit [Quit: wallerdev]
<adayzdone>
yorickpeterse a client bought this crazy pieced together action for quark written in ruby/applescript/objC/automator
<adayzdone>
asked me to translate it
<sandbags>
that suggests to me it was written in Xcode... looks like the default placeholder from Xcode3
<ljarvis>
dat code
<adayzdone>
So client owns code, I am trying to cut out garbage to make simple script for him. I am interested in parsing logic portion
skade has quit [Read error: Connection reset by peer]
<ljarvis>
adayzdone: so show us the code and a properly formed question
shinnya has quit [Ping timeout: 272 seconds]
Szop_ has joined #ruby-lang
patriciomacadden has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
<adayzdone>
ljarvis code available in link above. I need someone to either help make pseudo code of parsing logic so I can write entire thing in AppleScript (his workflow calls 3 different programs). Or adapt code to take 3 parameters: list of text blocks to translate, list of source language phrases, list of dest language phrases
skade has joined #ruby-lang
crankharder has joined #ruby-lang
<yorickpeterse>
guys my server is slow, lowering threads reduces timeouts but it's still shit
<yorickpeterse>
I will pay $10/hour
* yorickpeterse
runs
skade has quit [Read error: Connection reset by peer]
<ljarvis>
would recommend oracle
<yorickpeterse>
ljarvis: do I look like I am Scrooge McDuck?
<yorickpeterse>
I can't afford that
skade has joined #ruby-lang
skade has quit [Remote host closed the connection]
<ljarvis>
oracle lite
<adayzdone>
yorickpeterse You can afford it after the whopping 50/hr I will pay to translate the script ;)
<ljarvis>
$500/hour
<ljarvis>
cheap
<ljarvis>
lol whopping
yfeldblum has joined #ruby-lang
<yorickpeterse>
adayzdone: I'd rather eat a knife
<adayzdone>
Ha
<yorickpeterse>
I may be Dutch but I'm not that stupid
<adayzdone>
stupid?
<adayzdone>
What is going rate for pseudocode translation?
<yorickpeterse>
That implies you'd actually get paid
anulman has joined #ruby-lang
<adayzdone>
O, thats not it. I will pay you
makoto_ has joined #ruby-lang
yfeldblum has quit [Ping timeout: 252 seconds]
<yorickpeterse>
you're not the first one to say that
rahul_j has quit [Quit: rahul_j]
rahul_j has joined #ruby-lang
<adayzdone>
If you can help, I will give you contact info, whatever assurance you need. I know hard to trust stranger but really not an issue.
phansch has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
<adayzdone>
Given quality of code, I am more worried that I am paying to translate shitty logic and I would be better doing it myselg
rahul_j has quit [Client Quit]
<sandbags>
adayzdone: i've only given the code a quick precis but if you understand the problem i'd say you're probably right
makoto_ has quit [Ping timeout: 245 seconds]
nigerianceo has joined #ruby-lang
<adayzdone>
sandbags I am inclined to go at it like this. Sort the source language list from longest to shortest phrases. Loop through matching large to small.
DevDoo has quit [Remote host closed the connection]
sandbags0 has joined #ruby-lang
DevDoo has joined #ruby-lang
<adayzdone>
removing line feeds from translate block before matching, noting their position, reinserting them in similar position to translated text
<ljarvis>
adayzdone: this isn't the place to hire help
<adayzdone>
ljarvis Ok. Got it
nigerianceo is now known as cpt_planets
cpt_planets has quit [Client Quit]
<sandbags0>
ljarvis: without wishing to be provocative, is it not?
nigerianceo has joined #ruby-lang
sandbags has quit [Ping timeout: 260 seconds]
mytrile has joined #ruby-lang
<adayzdone>
If anyone is interested in talking about this project more with me, please message me
<sandbags0>
adayzdone: you might look into something like odesk.com
<adayzdone>
sandbags0 Yeah.. Although this is time sensitive. Was looking to get in done now
Lewix has joined #ruby-lang
DevDoo has quit [Ping timeout: 252 seconds]
kalehv has joined #ruby-lang
<sandbags0>
i've little to no experience of odesk but i don't imagine it takes a long time to get going with
<sandbags0>
plus you are at least dealing with a community of people available for hire
<sandbags0>
you may find other problems, but at least you will have that angle covered
micalexander has joined #ruby-lang
<adayzdone>
good poin
<adayzdone>
t
<sandbags0>
and since you're not getting a lot of takers here, you might find it a more profitable approach
tonni has joined #ruby-lang
kalehv has quit [Remote host closed the connection]
<adayzdone>
I think I am going to take a swing at it myself. Since I have got feedback that code itself is not good quality, I would imagine logic is not good quality either.
rjrj has joined #ruby-lang
mrevd1 has joined #ruby-lang
tonni has quit [Read error: Connection reset by peer]
wallerdev has joined #ruby-lang
wallerdev has quit [Client Quit]
ssb123 has joined #ruby-lang
ssb123 has quit [Remote host closed the connection]
ssb123 has joined #ruby-lang
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
micalexander has quit [Remote host closed the connection]
micalexander has joined #ruby-lang
coca_rails has joined #ruby-lang
tylersmith has joined #ruby-lang
rahul_j has joined #ruby-lang
serroft has joined #ruby-lang
brettweavnet has joined #ruby-lang
mytrile has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 252 seconds]
micalexander has quit [Ping timeout: 272 seconds]
coca_rails has quit [Ping timeout: 240 seconds]
brettweavnet has quit [Client Quit]
ssb123_ has joined #ruby-lang
ssb123 has quit [Ping timeout: 240 seconds]
rippa has joined #ruby-lang
sandbags0 has quit []
DevDoo has joined #ruby-lang
vlad_sta_ has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
rahul_j has quit [Quit: rahul_j]
mytrile has joined #ruby-lang
seanlinsley has joined #ruby-lang
vlad_sta_ has quit [Ping timeout: 265 seconds]
rahul_j has joined #ruby-lang
jsrn has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Cakey has joined #ruby-lang
alekst has joined #ruby-lang
nathanstitt has joined #ruby-lang
mistym has joined #ruby-lang
Oak_ has joined #ruby-lang
nat3 has joined #ruby-lang
nat3 has quit [Client Quit]
mistym has quit [Ping timeout: 252 seconds]
tap has joined #ruby-lang
dm78 has joined #ruby-lang
flgr_ has joined #ruby-lang
makoto_ has joined #ruby-lang
flgr has left #ruby-lang ["This can't happen."]
chouhoulis has joined #ruby-lang
feinbergscott has left #ruby-lang ["Textual IRC Client: www.textualapp.com"]
flgr_ is now known as flgr
waxjar is now known as shadesaaaa
blaz3rz has joined #ruby-lang
anulman has quit [Read error: Connection reset by peer]
anulman1 has joined #ruby-lang
makoto_ has quit [Ping timeout: 252 seconds]
bjh13 has joined #ruby-lang
rh1n0 has quit [Ping timeout: 252 seconds]
JohnBat26 has joined #ruby-lang
shadesaaaa is now known as waxjar
tap has quit [Remote host closed the connection]
tap has joined #ruby-lang
mykoweb has joined #ruby-lang
bradcliffe has joined #ruby-lang
wallerdev has joined #ruby-lang
rahul_j has quit [Quit: rahul_j]
jeff_r has joined #ruby-lang
enkristoffer has joined #ruby-lang
jsullivandigs has joined #ruby-lang
brooks has joined #ruby-lang
adayzdone has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
tap has quit [Ping timeout: 245 seconds]
korpz has quit [Remote host closed the connection]
rahul_j has joined #ruby-lang
tap has joined #ruby-lang
Szop_ has quit [Ping timeout: 248 seconds]
tap has quit [Remote host closed the connection]
Cakey has quit [Ping timeout: 265 seconds]
feinbergscott has joined #ruby-lang
zlogan has quit [Ping timeout: 272 seconds]
flgr has quit [Ping timeout: 245 seconds]
brettweavnet has joined #ruby-lang
tap has joined #ruby-lang
senj has joined #ruby-lang
yalue has quit [Quit: Leaving]
rjrj has quit [Remote host closed the connection]
ecnalyr has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
dannysmith has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Client Quit]
coca_rails has joined #ruby-lang
Cakey has joined #ruby-lang
kurko_ has joined #ruby-lang
tkuchiki has quit [Remote host closed the connection]
mistym has joined #ruby-lang
|jemc| has joined #ruby-lang
<|jemc|>
#github
momomomomo has joined #ruby-lang
coca_rails has quit [Ping timeout: 240 seconds]
lele has quit [Ping timeout: 252 seconds]
adayzdone has joined #ruby-lang
Cakey has quit [Ping timeout: 252 seconds]
lele has joined #ruby-lang
micalexander has joined #ruby-lang
mikecmpbll has joined #ruby-lang
DevDoo has quit [Remote host closed the connection]
DevDoo has joined #ruby-lang
micalexander has quit [Ping timeout: 265 seconds]
D9 has quit [Quit: Leaving]
heftig has quit [Quit: Quitting]
DevDoo has quit [Ping timeout: 272 seconds]
flgr has joined #ruby-lang
Lewix has quit [Remote host closed the connection]
MichD is now known as michd
bradcliffe has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby-lang
makoto_ has joined #ruby-lang
tbuehlmann has quit [Quit: Konversation terminated!]
yfeldblum has quit [Ping timeout: 245 seconds]
<yorickpeterse>
it's not often that I look at my screen and say "I don't fucking get it"
<yorickpeterse>
Today is one of those days
<yorickpeterse>
code slow as butts, no clear explanation why
<yorickpeterse>
Very tempted to just start ripping things out (e.g. Mongoid) to see if that helps
makoto_ has quit [Ping timeout: 245 seconds]
canton7-mac has joined #ruby-lang
canton7-mac has quit [Remote host closed the connection]
canton7-mac has joined #ruby-lang
canton7-mac has quit [Remote host closed the connection]
michd is now known as MichD
canton7-mac has joined #ruby-lang
momomomomo has quit [Quit: momomomomo]
bin7me has quit [Quit: Leaving]
phansch has quit [Ping timeout: 264 seconds]
havenwood has quit [Remote host closed the connection]
<ljarvis>
sandbags: just noticed your message, and no it's not. This is for community and discussion, I would argue that whilst advertising a job and for people to reply via pm isn't so bad, that guy was poaching
x0f has joined #ruby-lang
<ljarvis>
people were happy to help him for nothing
Mon_Ouie has quit [Ping timeout: 269 seconds]
elliotec has quit [Remote host closed the connection]
x0f_ has quit [Ping timeout: 260 seconds]
enkristoffer has quit [Quit: ❤]
ecnalyr has quit [Remote host closed the connection]
<havenwood>
i don't see any problem with soliciting paid help here, sometimes you want the attention that money buys
blaz3rz has quit [Remote host closed the connection]
ecnalyr has joined #ruby-lang
<havenwood>
maybe Rubyists are just adequately employed, a nice problem to have :)
cirenyc has joined #ruby-lang
<ljarvis>
heh
cirenyc has left #ruby-lang [#ruby-lang]
<ljarvis>
That wasn't an offering of employment
<ljarvis>
it was a terrible job for shit money
<havenwood>
ah, i don't know details
<ljarvis>
havenwood: the details were "rewrite this shitty code in pseudo for a whopping 50 bucks an hour"
blaz3rz has joined #ruby-lang
<yorickpeterse>
"I will pay!"
<havenwood>
ljarvis: i just had to scroll back further, gotcha
<ljarvis>
yorickpeterse: 500 hr for irc bot plz
ecnalyr has quit [Ping timeout: 240 seconds]
<ljarvis>
in other news, I have eaten too much pizza
<yorickpeterse>
oh that reminds me, I would generate a quote dump
<yorickpeterse>
wonder how many URLs there are in this bot..
coca_rails has quit [Ping timeout: 240 seconds]
<yorickpeterse>
7224 apparently
charliesome has joined #ruby-lang
Eric has joined #ruby-lang
anulman has joined #ruby-lang
Eric is now known as Guest76532
ssb123 has quit [Remote host closed the connection]
Johz has quit [Quit: Leaving]
diegoviola has quit [Ping timeout: 252 seconds]
<jackyalcine>
That's not much
senj has quit [Quit: Sleep Now]
yfeldblum has quit [Remote host closed the connection]
<yorickpeterse>
it's a quiet channel lately
machuga|away is now known as machuga
diegoviola has joined #ruby-lang
laszlokorte has quit [Quit: laszlokorte]
senj has joined #ruby-lang
toretore has quit [Quit: This computer has gone to sleep]
elliotec has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
vlad_starkov has quit [Remote host closed the connection]
<yorickpeterse>
which, looking at how bad some of those quotes are, is not a bad thing
momomomomo has quit [Quit: momomomomo]
brooks has quit [Quit: brooks]
Szop_ has quit [Ping timeout: 253 seconds]
Szop_ has joined #ruby-lang
<apeiros>
yorickpeterse: not having used npm, but heard good things about it, I'm curious as to what you miss in it or dislike about it
<zenspider>
are these quotes from in here?
<zenspider>
apeiros: I've only used it a tiny bit, but I was hella impressed that it bootstrapped its own dependencies (like ssl support)
<yorickpeterse>
zenspider: no
<apeiros>
oO how do you bootstrap SSL? getting it from insecure sources?
<yorickpeterse>
apeiros: the client is ok, the server is a mixed bag from what I remember
<zenspider>
yorickpeterse: good, because I'd have banned you 7 times already
<yorickpeterse>
zenspider: heh
momomomomo has joined #ruby-lang
<yorickpeterse>
zenspider: taking into account that most of those are ripped apart from random conversations
elliotec has quit [Remote host closed the connection]
<zenspider>
apeiros: I've always been irked that rubygems has this bullshit notion that it can't have any dependencies and must rely on ruby to provide everything
<yorickpeterse>
apeiros: granted, last time I seriously used it was a while ago
<yorickpeterse>
I think nowadays I just use it to install jshint
<zenspider>
apeiros: like I said, I only have a cursory understanding of npm. For all I know it ships with its own ssl lib and then upgrades it
<apeiros>
zenspider: ah
<zenspider>
but I point to it as proof that rubygems doesn't need to cripple itself
<apeiros>
zenspider: won't that be solved when stdlib gets gemified?
elliotec has joined #ruby-lang
<zenspider>
(nor rdoc, nor any of the others)
<zenspider>
when... hahaha
<yorickpeterse>
soon (tm)
<apeiros>
I think it might happen within the next 20 months
<apeiros>
also see rubysl
<zenspider>
fuck rubysl
ssb123 has joined #ruby-lang
<zenspider>
also... should have happened in the last 20 months...
<apeiros>
sure, but even if it's not the way, it helps by generating pressure
nigerianceo has quit []
<apeiros>
I mean it shows that it *can* be done
<yorickpeterse>
zenspider: so what would you propose instead?
<apeiros>
and it raises the question more than ever why it hasn't been done yet
<zenspider>
of course it can be done. I don't think that was ever in question.
<apeiros>
IMO gemified stdlib should also declare proper rules for abandoned libs
<zenspider>
the reason it hasn't been done is cultural, not technical
woollyams has joined #ruby-lang
<apeiros>
exactly. hence rubysl is good, in applying pressure to get people out of their comfort zone (aka "but what we have now works!")
<zenspider>
no
<apeiros>
yes.
<yorickpeterse>
popcorn
<apeiros>
dialogue is thesis + antithesis -> synthesis
<apeiros>
rubysl is the antithesis. it brings movement.
<zenspider>
think what you want. I've worked on/with ruby-core for a lot longer than you have. And I've been paid to work on rubinius. I know these groups better than you do. oil and water.
<zenspider>
for the record, I think BOTH groups are problematic.
<apeiros>
I don't question that
<zenspider>
but to think than one is gonna affect the culture of the other is simplifying the matter drastically to the point of naivete.
<apeiros>
no
<zenspider>
god... I thought compiling ruby was slow... don't bootstrap racket. just download a package
<apeiros>
:D
<havenwood>
`make -j` seems to help a lot with Ruby
<yorickpeterse>
actually compiling MRI doesn't take that long, at least for me
<yorickpeterse>
maybe because I have superiour European hardware
<yorickpeterse>
...made in Taiwan or w/e it was
<ljarvis>
anyone complaining about compile times for anything should just compile rust
<apeiros>
does rvm cheat? if not, then ruby takes only a couple of minutes for me (less than 10 I think)
<yorickpeterse>
ljarvis: tried that
<ljarvis>
then never complain again
<yorickpeterse>
crapped out because it started swapping
<yorickpeterse>
even though I had 2 GB of RAM left
<yorickpeterse>
that was about 90 minutes in
<zenspider>
compile lua
<zenspider>
don't blink
<ljarvis>
so nice
<apeiros>
ah, btw. zenspider - should the topic be `Ruby 2.1.0; …` instead of `Ruby 2.1.0-p0; …` now that ruby adopted semver?
<ljarvis>
it still uses patch versions doesn't it?
<zenspider>
racket: 15 minutes. damn
<ljarvis>
patchlevels, rather
<yorickpeterse>
teenies
<ljarvis>
giggity
<yorickpeterse>
I honestly think that name isn't entirely well chosen
<yorickpeterse>
"We just released a new teeny of Ruby" I'm sorry what?
<apeiros>
ljarvis: as I understood it, it does have a patchlevel, but new released patchlevel == new version
<ljarvis>
apeiros: ah that would make sense
<zenspider>
and ruby 1.6 used to compile in 60 seconds flat. I loved it.
<apeiros>
i.e. there will never be a 2.1.0-pX where X != 0
<ljarvis>
right
panpainter has quit [Ping timeout: 240 seconds]
panpainter has joined #ruby-lang
cirenyc has joined #ruby-lang
Guest76532 has quit [Ping timeout: 265 seconds]
<yorickpeterse>
<3 being able to undo pulls in Git
<yorickpeterse>
<3 git in general
<yorickpeterse>
except for the shitty UX
diegovio1 has joined #ruby-lang
Thanatermesis has joined #ruby-lang
diegoviola has quit [Ping timeout: 265 seconds]
feinbergscott has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros>
zenspider: no opinion? so it's ok if I change it to just 2.1.0?
DEac- has quit [Read error: Connection reset by peer]
<apeiros>
havenwood: did you suggest to change it? (I forgot :-S)
yfeldblu_ has joined #ruby-lang
smashwilson has quit [Quit: Leaving]
<havenwood>
apeiros: yeah, a while back - but figured not important enough to harp on :)
<apeiros>
:)
<apeiros>
I only forgot who suggested it, I didn't forget the request itself ;-)
brettweavnet has joined #ruby-lang
<zenspider>
can't we just forget that 1.9 ever existed?
yfeldblum has quit [Ping timeout: 272 seconds]
coca_rails has joined #ruby-lang
<apeiros>
sure, as soon as it's EOL :)
<apeiros>
only because of 1.9.0-1.9.2, or do you consider 1.9.3 bad too?
<zenspider>
I don't like any of them. avoided them like the plague. just tested against them for my CI matrix
AtnNn has left #ruby-lang [#ruby-lang]
<yorickpeterse>
yeah, 1.9 doesn't have refinements
<apeiros>
1.9 introduced encoding
<apeiros>
big step in the right direction
<apeiros>
still waiting for collations, though :(
<havenwood>
i miss top level refinements in 2.1
<havenwood>
hoping those get added, like top level prepend did
mbj has quit [Quit: leaving]
<zenspider>
the encodings are such a clunky PITA. 2.0 helped that some... but like, regexp still drives me up the wall.
makoto_ has joined #ruby-lang
<zenspider>
biggest pain in my neck is trying to get it all working right on ruby_parser
brettweavnet has quit [Quit: Bye]
<zenspider>
if Regexp had the ability to set the encodings, that'd be one thing
<zenspider>
but fuck... what a PITA currentyl
<zenspider>
currently
<zenspider>
and yeah. where the hell is collation?
<yorickpeterse>
havenwood: I swear to god I hope you are trolling
<zenspider>
he's prolly not
<yorickpeterse>
:'<
<havenwood>
i'm not
<yorickpeterse>
havenwood: don't make me hit you with an inflatable bat
breakingthings has quit []
momomomomo has quit [Quit: momomomomo]
cnivolle has joined #ruby-lang
makoto_ has quit [Ping timeout: 240 seconds]
<havenwood>
yorickpeterse: I'm not suggesting it is useful in real projects, but that uniformity is worth it. The same reasons we can include, extend or prepend from top level.
brettweavnet has joined #ruby-lang
<havenwood>
Helpful for people learning, least surprise, not harmful, etc.
<havenwood>
yorickpeterse: You think this is foolish?
chouhoulis has joined #ruby-lang
<yorickpeterse>
I believe that exact feature was reconsidered due to performance problems
<yorickpeterse>
they were initially top-level if I'm not mistaken
<havenwood>
yeah, they were in 2.0
<yorickpeterse>
but I think the whole concept of refinements is a disaster
<yorickpeterse>
They don't solve the actual root cause of problems related to monkey patches, they just shove it under the carpet
<yorickpeterse>
I'll keep it short because I'm off to bed but to me the root problem is scumbag devs who think it's totally legit to add 15 methods to String so you can urlify_casefy your stuff
<yorickpeterse>
because you totally always need that
<yorickpeterse>
You solve that by smacking devs in the face, not by allowing them to play their dirty games in a dark corner of your production environment
chouhoulis has quit [Ping timeout: 245 seconds]
<yorickpeterse>
ActiveSupport is the prime example of this
<yorickpeterse>
To make things worse, a lot of the things it does make absolutely no sense on Ruby >= 1.9
<yorickpeterse>
(ignoring silly things such as HashWithIndifferentAccessWhoTheHellEnjoysTypingThiss)
<yorickpeterse>
With that I'm off, toodles!
<zenspider>
havenwood: least surprise? until you have to debug ...
<havenwood>
zenspider: debugging within a single file, where you know you've made a top level refinement
coca_rails has quit [Read error: Connection reset by peer]
<havenwood>
zenspider: doesn't seem that onerous to me
<havenwood>
pretty tightly scoped
<zenspider>
who the fuck winds up with a single file ?
<havenwood>
Refinements are active until the end of the file or the end of the eval string, respectively.
<havenwood>
""
kurko_ has quit [Quit: Computer has gone to sleep.]
serroft has quit [Quit: Leaving.]
jsrn has quit [Quit: Leaving]
Lewix has quit [Remote host closed the connection]
sandbags has quit []
enebo has quit [Quit: enebo]
cirenyc has quit [Quit: Leaving...]
knu has quit [Ping timeout: 252 seconds]
<apeiros>
havenwood: that we can include at toplevel is IMO inconsistent
<apeiros>
include is Module#include, and top-level is according to introspection an instance of Object, not Module or Class
<havenwood>
apeiros: well, if we roll back all other top levels then it makes sense to me to not have `using`. :P
<apeiros>
:)
<apeiros>
I wouldn't mind
<apeiros>
extend works just fine
<apeiros>
as a substitute for toplevel include, that is
<apeiros>
alternatively they could make main a module
<apeiros>
but that brings other inconsistencies
diegovio1 has quit [Quit: WeeChat 0.4.2]
Lewix has joined #ruby-lang
mytrile has joined #ruby-lang
elliotec has quit [Remote host closed the connection]
apeiros has quit []
apeiros has joined #ruby-lang
bjh13 has quit [Quit: leaving]
mrevd1 has quit [Quit: Leaving.]
danijoo has quit [Read error: Operation timed out]
mytrile has quit [Ping timeout: 260 seconds]
elliotec has joined #ruby-lang
marcofernandez has joined #ruby-lang
danijoo has joined #ruby-lang
jigfox has quit [Quit: jigfox]
MrZYX is now known as MrZYX|off
elliotec has quit [Remote host closed the connection]
elliotec has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
nathanstitt has quit [Quit: I growing sleepy]
momomomomo has joined #ruby-lang
momomomomo has quit [Client Quit]
laszlokorte has joined #ruby-lang
cnivolle has quit [Remote host closed the connection]
mikekellyio has quit [Read error: Connection reset by peer]