<csguest>
how can I do such voodoo with a hash map?
skweek has joined #ruby
dikaio has quit [Quit: ........]
c0ncealed has quit [Remote host closed the connection]
rigsby has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
tubuliferous_ has quit [Ping timeout: 260 seconds]
c0ncealed has joined #ruby
kerunaru has joined #ruby
roshanavand has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nso95- has joined #ruby
rigsby has quit [Client Quit]
alindeman has joined #ruby
nso95- has quit [Remote host closed the connection]
woven has quit [Quit: Leaving]
wet88 has quit [Quit: Quiting the chat]
roshanavand has quit [Ping timeout: 246 seconds]
jessemcgilallen has joined #ruby
ItSANgo__ has quit [Quit: Leaving...]
kerunaru has quit [Ping timeout: 246 seconds]
blueOxigen has joined #ruby
maloik has quit [Ping timeout: 240 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 240 seconds]
jdawgaz has joined #ruby
marr has quit []
htmldrum has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dmcp_ has joined #ruby
BSaboia has joined #ruby
dmcp_ has quit [Client Quit]
RegulationD has joined #ruby
NeverDie has joined #ruby
dotix has quit [Ping timeout: 246 seconds]
BraddPitt has joined #ruby
alindeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BraddPitt has quit [Client Quit]
BraddPitt has joined #ruby
BrunoSaboia has quit [Ping timeout: 260 seconds]
BraddPitt has quit [Client Quit]
BraddPitt has joined #ruby
krobzaur has joined #ruby
RegulationD has quit [Ping timeout: 246 seconds]
vF3hNGxc47h8 has quit [Ping timeout: 246 seconds]
tubuliferous_ has joined #ruby
InvGhostt has quit [Ping timeout: 240 seconds]
tomchapin has joined #ruby
Bellthoven has joined #ruby
blackmesa has joined #ruby
h99h9h88 has joined #ruby
BrunoSaboia has joined #ruby
queequeg1 has quit [Remote host closed the connection]
h99h9h88 has quit [Remote host closed the connection]
pawnbox has joined #ruby
h99h9h88 has joined #ruby
kies has quit [Ping timeout: 264 seconds]
h99h9h88 has quit [Remote host closed the connection]
h99h9h88 has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bellthoven has quit [Client Quit]
BSaboia has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 260 seconds]
sankaber has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
h99h9h88 has joined #ruby
h99h9h88_ has joined #ruby
framling has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
h99h9h88 has quit [Ping timeout: 260 seconds]
exadeci has quit [Quit: Connection closed for inactivity]
snapcase has joined #ruby
<Scriptonaut>
Hi y'all. I'm messing around with the ncurses-ruby gem. A lot of it is wayyy too C-like, I'm trying to make it more ruby like (for example, when a method takes a pointer, I'm trying to override that method to just return the values rather than modify the pointers). However, it doesn't seem to be overriding it correctly. The top file is my app, and it's breaking on line 15, because it says I'm calling the method with 0 arguments when it takes 3. The bo
htmldrum has quit [Ping timeout: 246 seconds]
arescorpio has joined #ruby
<Scriptonaut>
I thought in ruby, this was how you overrode methods
chouhoulis has joined #ruby
<GraveLlama>
Java
snapcase has quit [Ping timeout: 246 seconds]
snapcase has joined #ruby
<Scriptonaut>
GraveLlama: is that in response to m
<Scriptonaut>
me*
<GraveLlama>
no
Coldblackice has quit [Read error: Connection reset by peer]
neo__ has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chouhoulis has quit [Ping timeout: 260 seconds]
nkts has joined #ruby
Coldblackice has joined #ruby
neo_ has quit [Ping timeout: 240 seconds]
htmldrum has joined #ruby
ItSANgo has joined #ruby
gambl0re has quit [Read error: Connection reset by peer]
myztic has joined #ruby
dimasg has joined #ruby
maloik has joined #ruby
<GraveLlama>
#include <iostream> using namespace; intmain() { string name =""; int age = 0; cout << "Enter your name: \n"; cin > return0; )
FooMunki has quit [Quit: FooMunki]
malconis has joined #ruby
snapcase has quit [*.net *.split]
dimasg has quit [Ping timeout: 246 seconds]
jdawgaz has joined #ruby
vikas027 has quit [Ping timeout: 240 seconds]
ur5us has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
manolo1 has joined #ruby
arescorpio has quit [Ping timeout: 260 seconds]
djbkd has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dotix has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
axsuul has joined #ruby
dorei has quit []
<GraveLlama>
rBUY
<GraveLlama>
RUBY
<GraveLlama>
RUBY SHELL
<GraveLlama>
ruby riding on the rails on the way to hell
<Scriptonaut>
Can somebody help me understand how 'super' works with modules?
<apeiros>
Scriptonaut: take a look at .ancestors of the class in question
<Scriptonaut>
I am trying to override a module method, however when I call super in that method, it says, there is no such superclass method "mymethod"
<apeiros>
super works its way through it from "left" to "right"
<Scriptonaut>
Ya, I'm well versed in the method lookup hierarchy
<Scriptonaut>
I pair program every day, they all use vim too
<pontiki>
i will never work on a team that mandates what editor i use
<Scriptonaut>
either way, why would working on a team matter here
<Scriptonaut>
I've worked with people that use sublime, it was fine
<Scriptonaut>
as long as everybody uses spaces
chouhoulis has joined #ruby
amclain has joined #ruby
amclain has quit [Read error: Connection reset by peer]
<Scriptonaut>
apparently there is a plugin for vim, but a plugin is required for most editors anyways
<blubjr>
tabs wouldn't cause any problems either if you only use them for \t = 1 indentation level, semantically, and then everyone could set it so indentation levels are as wide as they like, transparently to everyone else
h99h9h88 has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 260 seconds]
h99h9h88 has joined #ruby
douglass1 has joined #ruby
helpa has joined #ruby
maloik has joined #ruby
edj has joined #ruby
<edj>
is there somewhere i can take a test to see if i know enough ruby to do rails?
<Scriptonaut>
I don't think so
<Scriptonaut>
I would just get a decent understanding of ruby then try rails
tomchapin has joined #ruby
<Scriptonaut>
how well do you know ruby
gambl0re has joined #ruby
slacker has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
<Radar>
edj: ?rails
<Radar>
?rails edj
<ruboto>
edj, Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
dotix has joined #ruby
dotix has joined #ruby
<blubjr>
hi radar
<Radar>
hi blubjr
tubuliferous_ has quit [Ping timeout: 260 seconds]
landry has joined #ruby
axsuul has quit [Ping timeout: 246 seconds]
brt has quit [Ping timeout: 260 seconds]
dotix has quit [Ping timeout: 240 seconds]
jessemcgilallen has quit [Read error: Connection reset by peer]
wldcordeiro has quit [Ping timeout: 246 seconds]
jpaulo7 has joined #ruby
NeverDie has joined #ruby
peterhil_ has joined #ruby
PaulCapestany has quit [Quit: .]
Guest52138 has joined #ruby
PaulCapestany has joined #ruby
sinepreggin has joined #ruby
ekinmur has joined #ruby
landry has quit [Quit: landry]
yqt has quit [Ping timeout: 260 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jpaulo7 has quit [Quit: Leaving]
peterhil_ has quit [Ping timeout: 240 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
akkad has quit [Excess Flood]
htmldrum has quit [Ping timeout: 246 seconds]
blackmesa has joined #ruby
akkad has joined #ruby
dlitvak has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
dlitvak has quit [Remote host closed the connection]
dlitvak has joined #ruby
mary5030 has joined #ruby
pawnbox has joined #ruby
Guest10223 has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 260 seconds]
sinepreggin has quit [Ping timeout: 246 seconds]
bnizzle has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
cyberfawkes has left #ruby [#ruby]
krobzaur has quit [Ping timeout: 240 seconds]
snapcase has joined #ruby
chouhoulis has joined #ruby
PaulCapestany has quit [Quit: .]
csguest has quit [Quit: Leaving]
PaulCapestany has joined #ruby
PaulCapestany has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
freerobby has joined #ruby
PaulCapestany has joined #ruby
griffindy has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
manolo1 has left #ruby ["WeeChat 1.3"]
<pocketprotector>
I have been tasked with learning python..
yoongkang has joined #ruby
<pocketprotector>
I am finding Python to be more difficult than necessary.
<pocketprotector>
I <3 Ruby
<Wsewolod>
I like both, but then again I am not a Mac user.
wldcordeiro has joined #ruby
maloik has joined #ruby
h99h9h88 has joined #ruby
<pocketprotector>
I think Lynda's python3 videos are low quality material
<blubjr>
lynda....
<pocketprotector>
I watched Lynda's Ruby tutorial and I think it did a very good job.
<pocketprotector>
(teaching me)
qiukun has joined #ruby
maloik has quit [Ping timeout: 240 seconds]
agent_white has quit [Quit: brb]
houhoulis has joined #ruby
<shevy>
does it really work to learn from videos
agent_white has joined #ruby
dotix has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Wsewolod>
shevy: I've always preferred books
Trynemjoel has quit [Ping timeout: 264 seconds]
dotix has quit [Ping timeout: 260 seconds]
<pontiki>
people have different modes of learning. different media work well for some, not for others
minimalism has joined #ruby
pawnbox has joined #ruby
dlitvak has quit [Remote host closed the connection]
maloik has joined #ruby
nofxx has quit [Ping timeout: 260 seconds]
Trynemjoel has joined #ruby
nofxx has joined #ruby
bigmac_ has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
solocshaw has quit [Ping timeout: 240 seconds]
<bigmac_>
im reading a tutorial but i cant find the documentation on class HashTable
<douglass1>
there's already a class, Hash, that does what that tutorial describes
<douglass1>
bigmac_: the author just calls his re-implementation of it HashTable to prevent conflicts
<bigmac_>
i believe he calls bin_count or bins...
<bigmac_>
hash stuff is new for me...
<bigmac_>
instead of storing millions of key/value's into a single has... he used bins
<douglass1>
hashes use bins internally
<douglass1>
you just don't have to think about them with Hash because ruby handles it all for you
<bigmac_>
oh lol
chouhoulis has joined #ruby
<bigmac_>
ill see if i can compare the same benchmarks, with a simple hash=Hash.new
<bigmac_>
i maybe missing something.
<pontiki>
bigmac_: that article is not describing a "better" Hash class, it's explaining what a hash table is, how it's implemented
<pontiki>
the Hash is called that because it uses the classic hashing table storage and lookup scheme
<bigmac_>
so, he just shows how ruby already uses bins?
<pontiki>
it's a pretty well known algorithm
<pontiki>
yes
mary5030 has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 240 seconds]
vdamewood has quit [Quit: Life beckons.]
pawnbox has joined #ruby
<bigmac_>
i see...
bf4 has quit [Ping timeout: 264 seconds]
Outlastsheep has quit [Ping timeout: 240 seconds]
<bigmac_>
so, ruby already uses bins... when storing hash's
<pontiki>
yes
<pontiki>
this is in the article:
<pontiki>
"HOW MANY BINS DOES RUBY ACTUALLY USE?
<bigmac_>
thank you for your help... hours i would have been messing around with this
<pontiki>
Ruby manages the size of the bins dynamically. It starts with 11 and as soon as one of the bins has 5 or more elements, the bin size is increased and all hash elements are reallocated to their new corresponding bin."
<pontiki>
(i'm not shouting, that's the article text)
sivoais has quit [Ping timeout: 260 seconds]
<pontiki>
from the top of the article: "Let's imagine for a second that we want to emulate the functionality in hashes because, for some strange reason, they have not been implemented yet."
<bigmac_>
i see now
pawnbox has quit [Ping timeout: 246 seconds]
<bigmac_>
i guess i r4ead over to quickly.
bf4 has joined #ruby
<bigmac_>
ill watch out for implementation examples
<bigmac_>
lol
<bigmac_>
wondering off into the dark webs of examples
<pontiki>
it's not you, especially, it's very common when reading on a screen
<blubjr>
its good to know how things work, anyway
<pontiki>
indeed
kies has joined #ruby
<pontiki>
reading a screen produces a lot of fatigue, actually, and most strategies people use skips tons of information. i'm sure you've heard the typical strategy is to simply scan over a page, looking for highlights.
spt0 has quit [Ping timeout: 240 seconds]
<bigmac_>
i am glad i found that well written example.
<pontiki>
if nothing else, staring into a glaring which screen trying to read a very thing, sans serif font
<pontiki>
it's a great example, definitely
<pontiki>
glaring white*
gix has quit [Ping timeout: 240 seconds]
<bigmac_>
im working with duplicate key/values... But
<bigmac_>
key[0]=[value,more]
<bigmac_>
all the keys are 0-10_000_000
<bigmac_>
there are duplicates besides the key
gambl0re has quit []
<bigmac_>
meh. nvm
sivoais has joined #ruby
axsuul has joined #ruby
dotix has joined #ruby
<bigmac_>
i was thinking about turning some machines on my network into Bins
landry has joined #ruby
gix has joined #ruby
roshanavand has joined #ruby
<pontiki>
heh, you'll reimplement Cassandra if you don't watch out!
<bigmac_>
is that the gem
<bigmac_>
lol
Trynemjoel has quit [Ping timeout: 264 seconds]
<pontiki>
it's a huge key-value store database, multi-machine, distributed
<bigmac_>
oh... im book marking
<bigmac_>
thank you lol
<bigmac_>
also, i have learned that ruby mri threads are green?
<bigmac_>
or locked
<bigmac_>
when searching a hash for a key... its quick... but when searching for a value its slow
<bigmac_>
does this make sense?
dotix has quit [Ping timeout: 246 seconds]
sivoais has quit [Read error: Connection reset by peer]
h99h9h88 has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 260 seconds]
sivoais has joined #ruby
spt0 has joined #ruby
kies has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
Guest52138 has quit [Quit: Leaving]
dopie has joined #ruby
pawnbox has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
pawnbox has joined #ruby
landry has quit [Quit: landry]
edj has quit [Quit: Page closed]
<shevy>
I guess looking for the associated value takes one extra step at least?
maloik has joined #ruby
landry has joined #ruby
slacker has quit [Ping timeout: 240 seconds]
landry has quit [Client Quit]
spt0 has quit [Ping timeout: 260 seconds]
landry has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
spt0 has joined #ruby
maloik has quit [Ping timeout: 260 seconds]
<bigmac_>
invert the hash
<pontiki>
the point of the hashing algorithm is the speed up the lookup by finding the head of the bin quickly, but then shooting the list of items in the bin
<pontiki>
it's always going to be slower than an array
<pontiki>
(just an array)
spt0 has quit [Max SendQ exceeded]
<pontiki>
but, again, this algorithm has been worked to pieces, it's been around well before i attended uni
<pontiki>
so unless you're particularly artful about algorithm optimization, you're probably not likely going to come with something better
<pontiki>
if you're significantly worried about speed like this, you probably shouldn't be using ruby at all
<pontiki>
but premature optimization is also one of the biggest problems coders have
howdoi has joined #ruby
kies has joined #ruby
blackmesa has joined #ruby
<bigmac_>
im learning ,-)
solocshaw has quit [Ping timeout: 240 seconds]
<bigmac_>
dealing with hash size around 10 million
niftylettuce has quit [Quit: Connection closed for inactivity]
<bigmac_>
i hope to optimize for increasing to 100 million and maybe more
<pontiki>
what are you storing?
<shevy>
cats
tuelz1 has quit [Ping timeout: 264 seconds]
arup_r has joined #ruby
<douglass1>
according to wikipedia, hash tables were invented in the early 1950s
blackmesa has quit [Ping timeout: 246 seconds]
<douglass1>
so yes, old old old
<shevy>
damn
<shevy>
we are digging towards the dinosaurs
<pontiki>
older than i am
<bigmac_>
i probably should own a computer if i dont understand email and how to use it
<shevy>
you can still play games!
edj has joined #ruby
<edj>
does anyone know why this "Unable to save /c2f.rb Error: Permission denied" would pop up in sublime when i try to save my file?
bigmac_ has quit [Quit: Leaving]
<douglass1>
edj: just checking, are you sure you have write permissions for that file?
slacker has joined #ruby
spt0 has joined #ruby
<edj>
douglass1: well I just created it so i would assume so
<edj>
it wouldn't even let me officially create it though
<douglass1>
huh
<edj>
i tried to cmd s it
<douglass1>
which os are you using?
<edj>
osx
Aww has left #ruby ["Leaving"]
snapcase has quit [*.net *.split]
<shevy>
and you can save in other directories just fine?
<edj>
normally yea
<edj>
i have been coding in browser until now
<douglass1>
can you save other files (not from sublime) in that directory?
<edj>
i just started the grounded rubyist
<edj>
i haven't tried
bf4 has quit [Ping timeout: 240 seconds]
<edj>
i just tried with .txt
<edj>
sublime wont save anything at all
zack6849 has quit [*.net *.split]
nirix has quit [*.net *.split]
aredridel has quit [*.net *.split]
closer has quit [*.net *.split]
cibs has quit [*.net *.split]
eshy has quit [*.net *.split]
voxxit has quit [*.net *.split]
timmow has quit [*.net *.split]
fulgore_ has quit [*.net *.split]
nfsnobody has quit [*.net *.split]
chouhoulis has joined #ruby
<edj>
i just tried it with another folder
<edj>
still same
nirix has joined #ruby
bf4 has joined #ruby
nfsnobody has joined #ruby
timmow has joined #ruby
<douglass1>
http://www.macinstruct.com/node/415 has some info on os x file/directory permissions that may or may not be helpful but since i haven't used a mac in months i should shut up now
user1138_ has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
user1138 has joined #ruby
user1138 has quit [Remote host closed the connection]
<edj>
blubjr: didnt work
<blubjr>
weird
<edj>
shevy: i only have one user on my computer so idk
bkxd has joined #ruby
<douglass1>
can you save other files (not with sublime) in this directory?
<edj>
yes
<edj>
and i was able to make a .rb file in aptana
<shevy>
no idea what that is, normally saving files with sublime works fine
lokulin has quit [Changing host]
lokulin has joined #ruby
user1138 has joined #ruby
user1138 has quit [Remote host closed the connection]
Outlastsheep has joined #ruby
h99h9h88 has joined #ruby
<bigmac_>
can i search a hash for a key starting with a regex 0-100
<bougyman>
sure
<bigmac_>
input_hash[/{0-100}/.to_s+" string"]
h99h9h88_ has joined #ruby
<edj>
shevy: could there be some dependency issue?
slacker has left #ruby ["Leaving"]
slacker has joined #ruby
ur5us has joined #ruby
h99h9h88 has quit [Ping timeout: 246 seconds]
<shevy>
dunno. if you changed some python stuff, and that may be called during saving, perhaps that may explain why it would not work and delegate an error message
<douglass1>
bigmac_: the keys method on a hash gives you an array of keys, and you can select the keys that match the regex
nertzy has quit [Quit: This computer has gone to sleep]
ponga has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
smokey_2303 has quit [Read error: Connection reset by peer]
smokey has joined #ruby
smokey has quit [Read error: Connection reset by peer]
smokey has joined #ruby
agit0 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
symm- has joined #ruby
iateadonut has joined #ruby
smokey has quit [Read error: Connection reset by peer]
sepp2k has joined #ruby
maloik has joined #ruby
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smokey has joined #ruby
yoongkang has quit [Remote host closed the connection]
stannard has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
howdoicomputer has joined #ruby
yfeldblum has quit [Ping timeout: 246 seconds]
tobiasgreen has quit [Remote host closed the connection]
smokey has quit [Read error: Connection reset by peer]
minimalism has quit [Quit: leaving]
minimalism has joined #ruby
stannard has quit [Ping timeout: 240 seconds]
Ox0dea has joined #ruby
howdoicomputer has quit [Ping timeout: 260 seconds]
zeroDivisible has joined #ruby
xaitec has joined #ruby
Xeago has joined #ruby
xaitec has quit [Client Quit]
<[spoiler]>
shevy: You mean "can use google?" :D
<[spoiler]>
Yeah I lolled at that, too
smokey has joined #ruby
<testetest>
hey guys
<[spoiler]>
testetest: hi
<blubjr>
hi testetest
<[spoiler]>
I think that's the end of testetest's vocabulary
<testetest>
haha
testetest has left #ruby [#ruby]
<[spoiler]>
Lol. This happened earlier, too
<Ox0dea>
It's a troll.
Arnvald has joined #ruby
tuelz1 has joined #ruby
<Ox0dea>
It wants us to ?guys it, if I'm not much mistaken.
<apeiros>
let's find out :D
<Ox0dea>
It's gone.
<apeiros>
oh, they left
<apeiros>
WHO QUERIES MY VERSION?!?
* apeiros
looks at Ox0dea
<apeiros>
I wonder - what does it actually say?
<Ox0dea>
I was going to recommend smart filtering if you used a client I recognized.
<apeiros>
sadly limechat still doesn't have that :<
<apeiros>
so I get either all the join/part noise, or won't notice joins/parts at all.
<Ox0dea>
I see when a new speaker joined and when a recent speaker parts.
<Ox0dea>
It's purrfect.
<apeiros>
yes, that's precisely what I'd want.
User458764 has joined #ruby
<apeiros>
i.e. before first message, show time & other info about join. only show parts of people who recently spoke. also show joins of people I recently interacted with.
tuelz1 has quit [Ping timeout: 260 seconds]
bronson has quit [Remote host closed the connection]
<shevy>
[spoiler] yeah
<shevy>
[spoiler] was so fitting as a reply to jackcom :D
<[spoiler]>
apeiros: I think it's hilarious you use a client called LimeChat, and are in a "lemon" situation (as in "when life gives you lemons..."). I think this is a perfect opportunity to make a lemonade and a pull request :P
<apeiros>
[spoiler]: I'm actually just too lazy to abandon ship
Macaveli has joined #ruby
<apeiros>
I want a client again which supports ruby scripting.
<[spoiler]>
Weethus: is nice
solenoids has quit [Ping timeout: 240 seconds]
<[spoiler]>
Sorry, I meant WeeChat
<apeiros>
problem is - all the interesting irc clients are CLI clients. but I prefer "full blown" UI
<[spoiler]>
oh
<apeiros>
I got recommended to use irssi, weechat and textual I think
symm- has quit [Ping timeout: 246 seconds]
<[spoiler]>
Yeah I actually preferred UIs, but then gave in to some people here being all "Ooh but WeeChat is like God's gift." and "WeeChat is the best thing since the Holy Grail!"
<[spoiler]>
GUIs*
<[spoiler]>
and I tried it and... They were right.
<apeiros>
?guis [spoiler]
<ruboto>
[spoiler], I don't know anything about guis
<apeiros>
;-D
<apeiros>
j/k
<[spoiler]>
LMAO
ur5us has quit [Remote host closed the connection]
<jackcom>
Ox0dea: oh i have heard of singleton method thanks
<Ox0dea>
jackcom: Well, then it doesn't take much of a leap to realize that a Class is essentially just another object, capable of having its own instance variables and singleton methods.
<yxhuvud>
jackcom: seems you are one of the few that actually want to use @@class-variables.
Moeh has quit [Ping timeout: 246 seconds]
<jackcom>
ok thanks shevy Ox0dea yxhuvud
<jackcom>
:)
yoongkang has joined #ruby
<yxhuvud>
or hmm. actually, no. Your code doesn't really show what you want to accomplish.
<[spoiler]>
yxhuvud: rarely does
howdoicomputer has joined #ruby
<apeiros>
yxhuvud: weeeell actually… we don't have the faintest idea what jackcom wants.
<Ox0dea>
How the tables have turned.
<[spoiler]>
apeiros: oh your client inserts an ellipsis when you type `...` that is fancy
<apeiros>
[spoiler]: it doesn't
<[spoiler]>
oh
<[spoiler]>
Did you add a plugin for it?
<apeiros>
I think you can teach osx to do that, though. but I type it manually.
<apeiros>
opt-. is faster to type than ... :)
<[spoiler]>
Ah
<[spoiler]>
Once upon a time I created cool mappings, then I never used them, then some bizarre things started happening in my text editor, and it took me 2 days to debug wtf was going on because I forgot about them
<apeiros>
heh
<[spoiler]>
oh and they started happening because I switched to atom and some atom KBs collided with my mappings
<Ox0dea>
Vim's digraph support is pretty good.
yoongkang has quit [Ping timeout: 246 seconds]
<[spoiler]>
Ox0dea: Oh I love that
<jackcom>
Ox0dea: i think that class method can access to instance variable. because instace variabel can be set when class is designed.
<Ox0dea>
I only really use it for Greek and a few box drawing characters.
<apeiros>
hm, I wonder whether git can now handle changing case of a filename…
<[spoiler]>
this is the best thing ever: ^KOK
<jackcom>
@foo_count=0
<jackcom>
directly setting
<apeiros>
jackcom: ivars can be accessed by classes because classes are objects
howdoicomputer has quit [Ping timeout: 246 seconds]
<apeiros>
objects are instances, instances have instance variables.
<Ox0dea>
[spoiler]: Oh, I use the first-backspace-second input method.
<apeiros>
Foo.instance_variables will list all ivars the class itself possesses
<[spoiler]>
Ox0dea: Didn't even know about that one
<jackcom>
yeah thanks apeiros :)
maloik has quit [Ping timeout: 246 seconds]
<apeiros>
whereas Foo.new.instance_variables will list all ivars an *instance* of Foo has
htmldrum has joined #ruby
peterhil_ has joined #ruby
<Ox0dea>
jackcom: What kinds of object are permitted to have instance variables?
<jackcom>
i don’t know
<jackcom>
Ox0dea:
<jackcom>
Ox0dea: i don’t know
<Ox0dea>
Why do you do that shit?
<jackcom>
heh my mistake
minimalism has joined #ruby
<apeiros>
!kick jackcom told you no more nickname only lines
jackcom was kicked from #ruby by ruboto [told you no more nickname only lines]
seaned has quit [Quit: …was abducted by aliens.]
* apeiros
needs a lart-stick for this one.
<[spoiler]>
Oh wow. How often does this happen for him to have gotten kicked for this LOL
<apeiros>
all. the. f'cking time.
<apeiros>
got better when I said I'd kick if it happened again.
htmldrum has quit [Ping timeout: 246 seconds]
arup_r has quit [Remote host closed the connection]
<apeiros>
and with better I mean it took a full day
toretore has joined #ruby
arup_r has joined #ruby
<apeiros>
I actually pondered whether to let it slip as their S:N ratio has improved significantly.
<Ox0dea>
I don't see why you didn't, to be honest.
<[spoiler]>
Damn. Maybe he's new to the concept or something.
lipoqil has joined #ruby
jackcom has joined #ruby
<Ox0dea>
jackcom: Can a String have instance variables?
<jackcom>
really i m member of IS. :x
peterhil_ has quit [Ping timeout: 246 seconds]
<[spoiler]>
jackcom: Nobody accused you of that...
<Ox0dea>
Regardless, I've phoned the authorities.
<apeiros>
jackcom: that kind of deflection won't get you anywhere.
<apeiros>
jackcom: you got kicked for a reason, and it wasn't "being a member of IS". own up to your faults and get better.
blackmesa has quit [Ping timeout: 240 seconds]
<[spoiler]>
Ox0dea: Wait, did something happen? Why did you have to call the authorities?
<jackcom>
ok apeiros :)
<Ox0dea>
[spoiler]: There's a terrorist in our midsts!
bronson has joined #ruby
<Ox0dea>
*midst
<[spoiler]>
jackcom: Essentially, you got kicked because your typing is faster than your thinking. :P
<jackcom>
my hand is very fast
<jackcom>
heh :)
<Ox0dea>
jackcom: Wanna race?
<jackcom>
i m eating food now
<jackcom>
i can’t type now
<[spoiler]>
I could go eat some food, too... BRB
tk__ has joined #ruby
pandaant has quit [Remote host closed the connection]
<Ox0dea>
jackcom: Would you say that you're "afraid" to learn Ruby?
<apeiros>
*sob* bootstrap repo - gemfiles with x flag set. sure…
<jackcom>
food
<jackcom>
:|
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 246 seconds]
futilegames has quit [Read error: Connection reset by peer]
futilegames has joined #ruby
<[spoiler]>
Gave up on my quest. there's only sweets in the house lol
<apeiros>
:-(
* apeiros
at work, not even sweets here
pawnbox has quit [Remote host closed the connection]
<[spoiler]>
It's a Sunday!
<[spoiler]>
Don't tell me I overslept and that it's Monday again
<Ox0dea>
Going from "does the encoding of a regex matter?" to "regexes have encodings as well?" is a little suspect.
subscope has joined #ruby
pawnbox has quit [Ping timeout: 246 seconds]
r34d3x has joined #ruby
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy>
ok that is cool
blueOxigen has quit [Ping timeout: 260 seconds]
lkba has joined #ruby
<Ox0dea>
But, like, what happened?
<shevy>
no please
<shevy>
you are wasting time
iooner- is now known as iooner
<Ox0dea>
I realize this is a little embarrassing, but there could be a very serious medical condition at play here.
<shevy>
<Ox0dea> shevy: Now you're a goldfish too?! :<
<shevy>
You set the tone pal
<Ox0dea>
I'm not sure I follow?
RobertBirnie has joined #ruby
pawnbox has joined #ruby
<[spoiler]>
Ox0dea: that's because you're born to be a leader!
<Ox0dea>
[spoiler]: It's right there in the name!
<[spoiler]>
:D
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
sdothum has joined #ruby
RobertBirnie has quit [Client Quit]
ceejey has joined #ruby
<Bilge>
0
<[spoiler]>
1
<Bilge>
Do you guys think Rubo makes you into a smarter?
<[spoiler]>
I was born a smarter
<Ox0dea>
Bilge: How do I into smarter?
RegulationD has joined #ruby
<apeiros>
smells like troll spirit
karapetyan has quit [Remote host closed the connection]
subscope has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
smokey has quit [Read error: Connection reset by peer]
<Ox0dea>
I'll prepare the pyre.
<apeiros>
I'll get the pitchforks
smokey has joined #ruby
karapetyan has joined #ruby
peterhil_ has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago has joined #ruby
<Ox0dea>
We'll need a few pitchknives as well; barbecued troll isn't particularly tender.
<[spoiler]>
apeiros: Well the question is nice. I think Ruby can help one become smarter. I learned a lot of new concepts by tinkering in Ruby and/or inspecting other people's Ruby code. I think it made am an overall better programmer. I don't think I would've been able to "grow" as efficiently in any other language. Not to mention some of you in the channel also contributed a lot to that, and showed me what a nice
<[spoiler]>
community means (I had previous negative experiences). So yes, Ruby did make me smarter and a better person.
<[spoiler]>
Damn
<[spoiler]>
Didn't think it would end up this long
SCHAAP137 has quit [Ping timeout: 260 seconds]
<apeiros>
Bilge: ok, unequivocal answer is "yes".
FooMunki has quit [Quit: FooMunki]
<[spoiler]>
LOL
<[spoiler]>
or just "yes"
<apeiros>
Ox0dea: the torch guy is sleeping again anyway.
RegulationD has quit [Ping timeout: 246 seconds]
FooMunki has joined #ruby
* apeiros
not sure who's on torch-duty this week
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
karapetyan has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
blackmesa has joined #ruby
maloik has joined #ruby
arup_r has quit [Remote host closed the connection]
Macaveli has joined #ruby
tomphp has joined #ruby
howdoicomputer has joined #ruby
<[spoiler]>
Next time someone asks me to do infographics, I'll just say "fuck no". Everyone's up in my business with what they don't like, without pointers what they don't like about it or how to make it better, and now I was given a 2KB essay and need to incorporate that into the infographics. What. The. Fuck. Saying yes to this has been such a colossal regret.
agit0 has joined #ruby
<Ox0dea>
[spoiler]: I'll be looking for you in /r/dataisbeautiful.
<[spoiler]>
And to make it worse, I was supposed to have a work-free weekend, and I won't even get paid for this.
<Ox0dea>
I suppose that doesn't count as a Googlewhack?
pawnbox has quit [Ping timeout: 246 seconds]
blackmes1 has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bubbys has quit [Ping timeout: 260 seconds]
bubbys has joined #ruby
tomphp has joined #ruby
tuelz1 has joined #ruby
pawnbox has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
NeverDie has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
<jackcom>
i eat snake that is catched a few days ago.
tomphp has quit [Client Quit]
cdg has quit [Remote host closed the connection]
tuelz1 has quit [Ping timeout: 246 seconds]
<apeiros>
jackcom: enjoy your meal, I guess?
maloik has joined #ruby
tomphp has joined #ruby
<jackcom>
yeah, i like snake food. :) apeiros
bronson has joined #ruby
arup_r has quit [Remote host closed the connection]
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
<shevy>
so now he appends the nick
colegatron has joined #ruby
arup_r has quit [Remote host closed the connection]
arup_r has joined #ruby
roshanavand has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 246 seconds]
maloik has quit [Ping timeout: 246 seconds]
TheHodge has joined #ruby
brt has joined #ruby
fantazo has quit [Ping timeout: 240 seconds]
sankaber has joined #ruby
blackmes1 has joined #ruby
allcentury has joined #ruby
c0ncealed has quit [Ping timeout: 240 seconds]
tomzx_mac has joined #ruby
tomzx_mac has quit [Client Quit]
chouhoulis has joined #ruby
tvw has joined #ruby
Karpuragauram has quit [Ping timeout: 272 seconds]
chouhoulis has quit [Ping timeout: 246 seconds]
glenny has quit [Ping timeout: 246 seconds]
futilegames has quit [Quit: futilegames]
maloik has joined #ruby
jdawgaz has joined #ruby
kfpratt has quit [Read error: Connection reset by peer]
postmodern has quit [Quit: Leaving]
kfpratt has joined #ruby
<Ox0dea>
jackcom: What other language(s) do you speak?
marr has quit [Read error: Connection reset by peer]
<jackcom>
i use Russian language Ox0dea
<Ox0dea>
Thank you, jackcom.
ghoti has quit [Read error: Connection reset by peer]
<jackcom>
why? Ox0dea
ghoti has joined #ruby
<Ox0dea>
Because reasons, jackcom.
M-mistake has quit [Ping timeout: 240 seconds]
<jackcom>
:(
marr has joined #ruby
<apeiros>
anthropology, I presume
M-Kodo has quit [Ping timeout: 260 seconds]
agit0 has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
Azure|dc has joined #ruby
Azure has quit [Ping timeout: 260 seconds]
voodo has joined #ruby
pandaant has joined #ruby
pandaant has quit [Remote host closed the connection]
tvw has quit [Ping timeout: 246 seconds]
M-mistake has joined #ruby
M-Kodo has joined #ruby
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maloik has joined #ruby
CloCkWeRX has joined #ruby
purplexed- has quit [Excess Flood]
purplexed- has joined #ruby
purplexed- has joined #ruby
purplexed- has quit [Changing host]
kriskropd has quit [Ping timeout: 260 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
c0ncealed has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
Wsewolod has joined #ruby
jdawgaz has joined #ruby
freerobby has joined #ruby
yoongkang has joined #ruby
Macaveli has joined #ruby
howdoicomputer has joined #ruby
dlitvak has quit [Remote host closed the connection]
maloik has joined #ruby
agit0 has joined #ruby
voodo has quit [Quit: Leaving...]
Macaveli has quit [Ping timeout: 246 seconds]
howdoicomputer has quit [Ping timeout: 246 seconds]
nertzy has joined #ruby
devbug has quit [Ping timeout: 246 seconds]
dlitvak has joined #ruby
yoongkang has quit [Ping timeout: 246 seconds]
edwardly has quit [Ping timeout: 240 seconds]
julieeharshaw has quit [Ping timeout: 240 seconds]
inteq has quit [Ping timeout: 260 seconds]
diesel has quit [Ping timeout: 260 seconds]
julieeharshaw has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
edwardly has joined #ruby
edwardly has quit [Changing host]
edwardly has joined #ruby
User458764 has joined #ruby
diesel has joined #ruby
inteq has joined #ruby
dlitvak has quit [Ping timeout: 246 seconds]
dorei has joined #ruby
baweaver has joined #ruby
tuelz1 has joined #ruby
brunto has joined #ruby
<apeiros>
so for one of my private projects I started with abandoning ruby & rails filenaming conventions, which allows me to automatically autoload all constants. I wrapped it up into a gem: https://github.com/apeiros/zeroload
<apeiros>
opinions are welcome.
Emmanuel_Chanel has quit [Remote host closed the connection]
inukshuk_ has joined #ruby
voodo has joined #ruby
inukshuk_ has quit [Client Quit]
Emmanuel_Chanel has joined #ruby
Emmanuel_Chanel has quit [Max SendQ exceeded]
lurch_ has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
Emmanuel_Chanel has joined #ruby
cajone_afk is now known as cajone
InvGhost has quit [Ping timeout: 246 seconds]
doublemalt_ has joined #ruby
<apeiros>
I'll consider making it a 1.0.0 release once I figured out a way to provide it in 3 different ways: patch of Module, refinement of Module, neither (manual call to Zeroload.module). Not sure how to conveniently do that.
bronson has joined #ruby
tuelz1 has quit [Ping timeout: 246 seconds]
<adaedra>
I don't like autoload.
antgel has quit [Ping timeout: 260 seconds]
<apeiros>
it does have a significant downside: it kills explorability. reminds me that I haven't added "preload!" which would amend that.
DoubleMalt has quit [Ping timeout: 240 seconds]
<adaedra>
Even if, I agree, it's prettier than a bunch of requires.
bronson has quit [Ping timeout: 246 seconds]
baweaver has quit [Remote host closed the connection]
<apeiros>
let me see. Zeroload.preload! shouldn't be hard.
mmitchell has joined #ruby
allomov_ has joined #ruby
Xeago_ has joined #ruby
diegoaguilar has joined #ruby
lxsameer has quit [Remote host closed the connection]
<adaedra>
jackcom: you're making fun of us right now.
<apeiros>
Object.is_a?(Class) && Class < Module
<jackcom>
yeah. i realize one thing.
<jackcom>
for ruby
<apeiros>
Ox0dea: you made me double-check!
<Ox0dea>
apeiros: I should've double-checked before making you double-check. :P
<apeiros>
I thought it may be a case similar to how Array#map is its own thing and not Enumerable#map
<Ox0dea>
Yeah, that was my intuition.
<Ox0dea>
Either way, "deep" #const_get works fine?
<jackcom>
i realize one thing.
<jackcom>
:)
malconis has joined #ruby
<apeiros>
jhass: oooooh, const_get does not like *symbols* when the name is nested
<apeiros>
what. the. fuck.
Tempesta has joined #ruby
<apeiros>
>> Object.const_get(:"Float::MAX")
<ruboto>
apeiros # => wrong constant name Float::MAX (NameError) ...check link for more (https://eval.in/477511)
<Ox0dea>
Yeah, that's a bug.
fantazo has joined #ruby
solocshaw has joined #ruby
<adaedra>
<Ox0dea>
I don't know why Sasada-san agreed that `nil::Hash` is a bug, though.
<Ox0dea>
I think it's useful for being able to dynamically decide whether or not to start resolving at the top.
brt has quit [Ping timeout: 246 seconds]
shaibn777 has joined #ruby
davedev24 has joined #ruby
<shaibn777>
Hi :) I started a new Logger and wanted to print the name of the log I'm currently writing to. How do I do that?
maloik has joined #ruby
<jackcom>
All programming language is same, so it is important to do one language well.
<jackcom>
this is one that i realized from ruby.
adaedra has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
allomov_ has joined #ruby
<jackcom>
right?
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass>
shaibn777: doesn't look like Logger exposes logdev again, so you can't in a sane manner
adaedra has joined #ruby
Xeago has joined #ruby
<jhass>
jackcom: kinda, some languages are very different but there are 2 1/2 - 3 types, when you know one of each type well enough, picking up a new one is fairly easy
<Ox0dea>
What's the half-paradigm?
allomov has quit [Ping timeout: 246 seconds]
<jackcom>
very different :(
NeverDie has joined #ruby
maloik has quit [Ping timeout: 246 seconds]
ponga has quit []
pawnbox has quit [Ping timeout: 246 seconds]
InvGhost has joined #ruby
Arnvald has quit [Remote host closed the connection]
<shevy>
jackcom what is a monad
exadeci has quit [Quit: Connection closed for inactivity]
<jackcom>
monad?
<jackcom>
i don’t know monad?
<jackcom>
shevy…… i don’t know
<jackcom>
hehehe
<Ox0dea>
shevy: What is a monad?
peteyg_ has joined #ruby
<arup_r>
Haskel is monad.. .... ...
<jackcom>
hahahaha
<jackcom>
i know haskell already …. functional language
<jackcom>
:) i m not beginner
<arup_r>
then you know monad.
<jackcom>
monad == haskell?
<shevy>
Ox0dea I don't know. Do you know?
<arup_r>
i know ruby only ( OOP + functional)
<jackcom>
2.4 Serializing <—— i will study it from tomorrow. very hard today
<shevy>
jackcom are you a true monk?
peteyg has quit [Ping timeout: 240 seconds]
<jackcom>
shevy: what mean?
<jackcom>
what you mean?
Porfa has quit [Quit: Porfa]
armyriad has quit [Ping timeout: 260 seconds]
armyriad has joined #ruby
<jackcom>
my dream is doing hacker.
<jackcom>
member of annoymous
<Ox0dea>
jackcom: Would you take offense at my asking your age?
<agent_white>
No need citizen. I already have hacked the gibsons.
<Ox0dea>
shevy: I think of Comparable and Enumerable as essentially monadic.
<apeiros>
oooooh
<Ox0dea>
They're not, but they demonstrate the utility well enough.
<apeiros>
autoload properly works with Module#constants
<apeiros>
*nice*
maloik has joined #ruby
howdoicomputer has joined #ruby
<jackcom>
Ox0dea: first
<Ox0dea>
jackcom: You're first <units> old? You're a first-year? What does it even mean?!
edwinvdgraaf has quit [Remote host closed the connection]
<adaedra>
apeiros: this didn't fix my dislike for autoload.
<apeiros>
which part about it do you dislike?
<Ox0dea>
Spooky action at a distance is spooky.
<apeiros>
mine have gone. it's thread-safe and .constants reports correctly
yoongkang has joined #ruby
<adaedra>
The whole thing. I like to see where things are loaded.
<apeiros>
those have been my only beefs. and I think rails' autoloading doesn't show nested constants because it does not use autoload, but const_missing.
maloik has quit [Ping timeout: 246 seconds]
<Ox0dea>
Perhaps adaedra has porks.
<adaedra>
?
howdoicomputer has quit [Ping timeout: 246 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros>
or sheeps
<apeiros>
we won't know
zapata has quit [Quit: WeeChat 1.3]
<apeiros>
lambs are tasty, though.
yoongkang has quit [Ping timeout: 246 seconds]
<apeiros>
oh, lol. just noticed that zeroload fails to follow its own naming convention :D
<apeiros>
how. terrifyingly. bad.
jdawgaz has joined #ruby
<apeiros>
at least git seems now capable of dealing with case changes in file names.
<shaibn777>
jhass: thank you
shaibn777 has quit [Quit: Page closed]
freerobby has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
weemsledeux has joined #ruby
agit0 has joined #ruby
<apeiros>
ok, too early. still can't handle it in directory names.
h99h9h88 has quit [Remote host closed the connection]
gaussblurinc1 has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
allcentury has quit [Ping timeout: 272 seconds]
<gaussblurinc1>
hello! I have a method in a module, defined without self. prefix. def; method_named_oh; end. How could I add this method to already existing class as instance method? (brr, as a method of an instance of an existing class ) I try to just include module but this seems doesn't help, instance doesn't respond to that method
mistermocha has quit [Remote host closed the connection]
<netuoso>
^ Ruby based Slack bot for searching ThePirateBay
r0bby_ has quit [Quit: Konversation terminated!]
griffindy has joined #ruby
<nofxx>
apeiros, yeah... had to def to_json(_arg = nil); values.to_json
yoongkang has joined #ruby
<apeiros>
nofxx: I usually use * for that
Didac has joined #ruby
<apeiros>
def to_json(*); …
<apeiros>
nothing says "I ignore all args" nicer than that :D
tubuliferous has joined #ruby
<nofxx>
apeiros, great tip, ty
<adaedra>
def to_json(*_we_dont_need_no_args)
<adaedra>
:p
<apeiros>
_we_dont_need_no_thought_control
<apeiros>
I think providing zeroload as refinement is stupid.
FooMunki has quit [Quit: FooMunki]
<apeiros>
module Foo; using Zeroload; zeroload!; end # <-- worse than
<apeiros>
module Foo; Zeroload.module(self); end # IMO
<apeiros>
if we had binding_of_caller in ruby proper, I could do Zeroload.me!
<nofxx>
to quote Ox0dea while true { wall << brick }
yoongkang has quit [Ping timeout: 276 seconds]
colegatron has quit [Ping timeout: 246 seconds]
jetpackjoe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 264 seconds]
Mon_Ouie has joined #ruby
yqt has quit [Ping timeout: 264 seconds]
r34d3x has quit [Remote host closed the connection]
r34d3x has joined #ruby
sandstrom has joined #ruby
zast has joined #ruby
tuelz1 has quit [Ping timeout: 246 seconds]
jetpackjoe has joined #ruby
Coldblackice has joined #ruby
diegoviola has quit [Ping timeout: 246 seconds]
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jetpackjoe has quit [Max SendQ exceeded]
tildes has quit [Ping timeout: 272 seconds]
agit0 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
Keltia_ is now known as Keltia
mattarse has joined #ruby
InvGhost has quit [Ping timeout: 246 seconds]
colegatron has joined #ruby
tildes has joined #ruby
User458764 has joined #ruby
<nofxx>
apeiros, this worked too: def to_json(*); to_h.to_json ;
Klumben has joined #ruby
aryaching has quit []
jpaulo7 has quit [Ping timeout: 276 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sankaber has joined #ruby
decoponio has quit [Quit: Leaving...]
<netuoso>
if you want to run .to_json on a hash you can just require 'json' somewhere above it
diegoviola has joined #ruby
<netuoso>
i didnt miss the topic so sorry if i am way off base here. but {}.to_json doesnt work unless you require 'json' . then {}.to_json works fine. little monkey patching
djbkd has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
maloik has joined #ruby
elsimate has joined #ruby
gizmore has quit [Ping timeout: 246 seconds]
elsimate has quit [Client Quit]
bronson has joined #ruby
elsimate has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
Bellthoven has quit []
elsimate has quit [Remote host closed the connection]
dopie has quit [Quit: Leaving]
pawnbox has quit [Remote host closed the connection]
elsimate has joined #ruby
railswebdev has joined #ruby
<apeiros>
netuoso: nofxx needs Struct#to_json, and they implemented it using Hash#to_json. i.e. they're aware Hash#to_json exists.
howdoicomputer has joined #ruby
<netuoso>
apeiros: yeah sorry i figured i would be spouting nonsense since i missed the question
<apeiros>
:)
<apeiros>
no worries
j4sp10n has left #ruby ["zZzZ"]
jessemcgilallen has joined #ruby
pawnbox has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
jottr has quit [Quit: WeeChat 1.3]
jottr has joined #ruby
howdoicomputer has quit [Ping timeout: 264 seconds]
jottr has quit [Client Quit]
jottr has joined #ruby
colegatron has quit [Ping timeout: 276 seconds]
jottr has quit [Client Quit]
jottr has joined #ruby
B1n4r10 has joined #ruby
Luming has quit [Ping timeout: 260 seconds]
colegatron has joined #ruby
jottr has quit [Client Quit]
blackmes1 has joined #ruby
jottr has joined #ruby
gizmore has joined #ruby
DexterLB has quit [Quit: So long and thanks for all the fish]
Luming has joined #ruby
tref has joined #ruby
DexterLB has joined #ruby
Luming has quit [Max SendQ exceeded]
tomchapin has joined #ruby
jessemcgilallen has quit [Quit: jessemcgilallen]
Luming has joined #ruby
r34d3x has quit [Read error: Connection reset by peer]
Luming has quit [Max SendQ exceeded]
r34d3x has joined #ruby
Luming has joined #ruby
r34d3x has quit [Read error: Connection reset by peer]
Macaveli has joined #ruby
r34d3x has joined #ruby
gambl0re has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 246 seconds]
<apeiros>
huh? yard fails to pick up documentation of some methods? wtf?
<adaedra>
apeiros: capitalized letter in the file name?
<apeiros>
adaedra: requirement for zeroload
<Ox0dea>
nofxx: You made me briefly consider that I might've actually used `while true` in Ruby code.
agit0 has joined #ruby
<apeiros>
adaedra: that's what I meant with "I leave ruby & rails convention behind"
<apeiros>
it's wroth it.
<apeiros>
*worth even
allcentury has joined #ruby
s2013 has joined #ruby
diegoaguilar has joined #ruby
<apeiros>
I don't get why yard fails here :-S
myztic has quit [Ping timeout: 246 seconds]
dt__ has joined #ruby
<dt__>
I have setup an active job with sidekiq
<dt__>
is it necessary to always do bundle exec sidekiq to run the job
<dt__>
I did TransactionsResetJob.set(wait: 1.minutes).perform_later
<dt__>
but it is not getting executed unless i do bundle exec sidekiq
<dt__>
i m trying in console
solars has joined #ruby
zenguy_pc2 is now known as zenguy_pc
pawnbox has joined #ruby
<jhass>
dt__: that's kinda the point of a background queue, that it's processed by a background process
<TheBloke>
Yes it's necessary - sidekiq is a job processing server. You have to run the server to run the jobs. It's like asking, "do I always need to start MySQL before running queries against it?"
<dt__>
so should i need to do it each time....can i make it automatic
<jhass>
that's a question for your deployment
<TheBloke>
Once you start it, it should stay running until you stop it (or the server/container/VM shuts down)
<TheBloke>
so if it keeps stopping, maybe you're not in a permanent environment. is it an app server or something?
<dt__>
it is in my local system
yoongkang has joined #ruby
<jhass>
why do you want to use ActiveJob?
<TheBloke>
Check the Sidekiq logs
<dt__>
i need to execute an action after 20 mins of form submit....how can i achieve this
<dt__>
@theBloke- which server should i start....redis or sidekiq
<jhass>
sidekiq is not a good backend for that, it doesn't come with a scheduler by itself
skade has quit [Quit: Computer has gone to sleep.]
<dt__>
which backend adapter should i use?
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<TheBloke>
dt__: I think you need to start from basics and the read the docs for the tools you're using and understand them. Sidekiq stores its data in Redis so you need to start both.
<jhass>
given your confusion, probably delayed job still
DurstBurger has joined #ruby
<dt__>
Thanks buddies..i ll try that..
<dt__>
but in active job basics ....they sadi we can use sidekiq for scheduling
<TheBloke>
Redis should probably supply a standard OS start/stop script, or if you installed it from an OS package that may already be in place. Make sure Redis is started before Sidekiq starts
<dt__>
redis is started ..i guess, when i did redis-cli ping...it gave me PONG.
<atmosx>
dt__: it's really easy
<Nilium>
Redis does provide a regular init script on the Debians
Gypsyfinger has joined #ruby
<Nilium>
Or did. Might be upstart now. Or systemd depending on the debian.
gizmore has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
<Nilium>
Centos should also come with one, but installing Redis from yum on Centos is kind of hit-or-miss.
pawnbox has joined #ruby
futilegames has quit [Quit: futilegames]
tubuliferous has quit [Ping timeout: 272 seconds]
tubuliferous has joined #ruby
B1n4r10 has quit [Ping timeout: 276 seconds]
skweek has quit [Ping timeout: 240 seconds]
ta has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
SalviaNobile has quit [Ping timeout: 276 seconds]
howdoicomputer has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
null__- has joined #ruby
karapetyan has quit [Remote host closed the connection]
null__ has quit [*.net *.split]
snapcase has quit [*.net *.split]
karapetyan has joined #ruby
ta has joined #ruby
ereslibre has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
futilegames has joined #ruby
skweek has joined #ruby
gizmore has joined #ruby
alindeman has joined #ruby
user1138 has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium>
atmosx: You're liable to end up with a very old version of Redis.
ur5us has quit [Read error: No route to host]
tuelz1 has joined #ruby
kerunaru has joined #ruby
ur5us has joined #ruby
<Nilium>
Either that or you add a third-party source for Redis. Could also build from source if you've got a particular version/tag/commit hash you've standardized around, which is usually what I end up doing.
<atmosx>
I see
colegatron has quit [Ping timeout: 264 seconds]
an0ma1y has quit [Ping timeout: 276 seconds]
<atmosx>
Nilium: hm, I've used redis + sidekiq for a sinatra app some time ago. I just installed the default freebsd redis on the server and worked fine. I mean if you're not using latest features, you should be fine with the OS's version. The package manager usually will handle security updates, etc.
<Nilium>
Unfortunately, we use redis cluster at work, so we have a minimum version requirement
diegoviola has joined #ruby
<Nilium>
Which means what ships is with an OS (or distro) is almost never what we want. That said, we don't use FreeBSD at work, so I don't know what ports/pkg install will get you.
<Nilium>
We did almost end up using FreeBSD for our switches but found some sort of oddity in the process and had to use linux :(
gizmore has quit [Remote host closed the connection]
<atmosx>
Nilium: precompiled version redis-3.0.4 on FreeBSD
<atmosx>
what's the current version?
<atmosx>
Nilium: Are you using docker to manage the cluster?
<Nilium>
I think it's around there.
<Nilium>
No, not using Docker for that.
BTRE has joined #ruby
<darix>
Nilium: you will probably have a common OS under all cluster nodes
<darix>
and then you should have the same redis version for all of them too
<Nilium>
We do, but the one available via the package manager is too old.
<Nilium>
i.e., doesn't include Redis cluster, since that's fairly recent.
<atmosx>
Nilium: what kind of linux distribution to do you use? debian?
<Nilium>
Redis cluster is a little finnicky with configurations, so we haven't found a good way to make that run out of Docker.
ereslibre has joined #ruby
ereslibre has joined #ruby
<Nilium>
Ubuntu 14.04 LTS, unfortunately.
yqt has joined #ruby
<atmosx>
Nilium: you should check out this one https://nixos.org/ - although if you had probelms with creating docker images with redis
<atmosx>
I don't know if it's a good idea to automate the redis installation/configuration process.
<Nilium>
There's no problem creating images, it's just a problem of there being no reason to use Docker.
eaxxae has joined #ruby
tildes has quit [Ping timeout: 264 seconds]
levifig has quit [Ping timeout: 276 seconds]
<Nilium>
Which isn't to say we don't use Docker elsewhere, it's just that the redis cluster isn't a thing you can really grow easily.
j416 has quit [Ping timeout: 276 seconds]
howdoi has quit [Quit: Connection closed for inactivity]
Rickmasta has quit [Ping timeout: 276 seconds]
javawizard has quit [Ping timeout: 276 seconds]
ejnahc_ has quit [Ping timeout: 276 seconds]
levifig has joined #ruby
jcp has joined #ruby
<atmosx>
I see
j416 has joined #ruby
Affix has quit [Excess Flood]
<arup_r>
atmosx: 0/
Ilyes512 has joined #ruby
<atmosx>
hello arup_r !
<arup_r>
life is smooth now lol
r34d3x has quit [Remote host closed the connection]
colegatron has joined #ruby
Affix has joined #ruby
CodingWolf has joined #ruby
p0m3r4n0 has joined #ruby
Affix is now known as Guest44450
neo__ has quit [Quit: leaving]
Evan_ has quit [Ping timeout: 276 seconds]
<atmosx>
Nilium: I like your blog btw. Really nice design.
<Nilium>
Thanks.
<Nilium>
I should probably update it, but I first need to rewrite my tool to generate the site HTML.
grotewold has joined #ruby
<Nilium>
It's kind of a disaster.
FifthWall has quit [Ping timeout: 276 seconds]
lguardiola has quit [Ping timeout: 276 seconds]
<Nilium>
My university is now sending me emails about how I should try to become a student... I already graduated.
DLSteve has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
<Nilium>
Also, their email template didn't work.
Guest44450 has quit [Changing host]
Guest44450 has joined #ruby
Evan_ has joined #ruby
VeryBewitching has joined #ruby
<atmosx>
hahaha
Guest44450 is now known as Affix
Rickmasta has joined #ruby
grotewold has quit [Client Quit]
ghr has joined #ruby
levifig has quit [Ping timeout: 276 seconds]
<VeryBewitching>
G'day folks.
<Nilium>
Hi
<atmosx>
the NYTimes keep sending me email notifications asking me to subscribe to their awesome offer. I feel bad becuase I've subscribed to their previous offer already, from another email, which was more expensive :-P
<atmosx>
hi VeryBewitching
FifthWall has joined #ruby
levifig has joined #ruby
<VeryBewitching>
Sounds like the NYTimes really wants your money.
<Nilium>
I should probably renew my subscription to The Sun.
<Nilium>
The literary magazine, not the daily garbage liner.
tref has quit [Ping timeout: 276 seconds]
aep has quit [Ping timeout: 276 seconds]
<VeryBewitching>
I read Reuters and AP online
lguardiola has joined #ruby
TheBloke- has joined #ruby
ejnahc has joined #ruby
howdoicomputer has quit [Ping timeout: 264 seconds]
tubuliferous has quit [Ping timeout: 272 seconds]
TheBloke has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 276 seconds]
lkba has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
ghr has joined #ruby
<VeryBewitching>
Well, /. and Ars Technica too
aep has joined #ruby
SalviaNobile has joined #ruby
davedev24 has quit []
yoongkang has joined #ruby
<Nilium>
As online things go, I mostly just read Ars now and everything else I hear about by word of mouth.
<Nilium>
Kind of wrote /. off a while back.
unsymbol has quit [Ping timeout: 276 seconds]
mighty_gorilla has quit [Ping timeout: 276 seconds]
dorei has quit []
Gypsyfinger has left #ruby [#ruby]
unsymbol has joined #ruby
hollywood has joined #ruby
pawnbox has quit [Ping timeout: 276 seconds]
s2013 has quit [Write error: Connection reset by peer]
codecop has quit [Remote host closed the connection]
adaedra has joined #ruby
blackmesa has joined #ruby
PaulCapestany has joined #ruby
aep has quit [Ping timeout: 264 seconds]
yoongkang has quit [Ping timeout: 275 seconds]
chouhoul_ has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
plonk_ has joined #ruby
sandstro_ has joined #ruby
plonk_ has quit [Changing host]
plonk_ has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
solars has quit [Ping timeout: 264 seconds]
jottr has quit [Ping timeout: 264 seconds]
cornerman has quit [Ping timeout: 264 seconds]
johnny56 has quit [Ping timeout: 264 seconds]
unsymbol has quit [Ping timeout: 278 seconds]
plonk_ has quit [Excess Flood]
ereslibre_laptop has joined #ruby
ereslibre_laptop has joined #ruby
SalviaNobile has quit [Ping timeout: 264 seconds]
ejnahc has quit [Ping timeout: 264 seconds]
Rickmasta has quit [Ping timeout: 264 seconds]
colegatron has quit [Ping timeout: 264 seconds]
ereslibre has quit [Ping timeout: 264 seconds]
myztic has quit [Ping timeout: 264 seconds]
null__- has quit [Ping timeout: 264 seconds]
Luming has quit [Ping timeout: 264 seconds]
blackmes1 has quit [Ping timeout: 264 seconds]
maloik has quit [Ping timeout: 264 seconds]
mattarse has quit [Ping timeout: 264 seconds]
Xeago has quit [Ping timeout: 264 seconds]
chouhoulis has quit [Ping timeout: 264 seconds]
pdoherty has quit [Ping timeout: 264 seconds]
plonk has quit [Ping timeout: 264 seconds]
cookiez has quit [Ping timeout: 264 seconds]
ghormoon has quit [Ping timeout: 264 seconds]
VeryBewitching has quit [Ping timeout: 264 seconds]
jcp has quit [Ping timeout: 264 seconds]
skweek has quit [Ping timeout: 264 seconds]
DurstBurger has quit [Ping timeout: 264 seconds]
diegoaguilar has quit [Ping timeout: 264 seconds]
sandstrom has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 264 seconds]
PaulCape_ has quit [Ping timeout: 264 seconds]
allcentury has quit [Ping timeout: 278 seconds]
VeryBewitching has joined #ruby
jottr has joined #ruby
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
ruboto has joined #ruby
johnhamelink has joined #ruby
myztic has joined #ruby
plonk has quit [Excess Flood]
glenny has joined #ruby
jcp has joined #ruby
<shevy>
the good things die
blackmesa has quit [Ping timeout: 273 seconds]
futilegames has quit [Ping timeout: 243 seconds]
arup_r has quit []
Xeago has joined #ruby
<Ox0dea>
> [The world] kills the very good and the very gentle and the very brave impartially.
plonk has joined #ruby
plonk has quit [Changing host]
plonk has joined #ruby
elsimate has quit []
pawnbox has joined #ruby
shanemcd has joined #ruby
aep has joined #ruby
calderonroberto has quit [Ping timeout: 272 seconds]
aep has quit [Excess Flood]
musicmatze has quit [Ping timeout: 260 seconds]
aep has joined #ruby
unsymbol has joined #ruby
aep has quit [Excess Flood]
kerunaru has quit [Quit: leaving]
mattarse has joined #ruby
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alindeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<VeryBewitching>
Slashdot has a variety that Ars doesn't, that's why I still read it.
naftilos76 has joined #ruby
<VeryBewitching>
Ars is almost exlusively technology-related material.
yfeldblum has joined #ruby
calderonroberto has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
calderonroberto has quit [Max SendQ exceeded]
ur5us has joined #ruby
Uranio has joined #ruby
pdoherty has joined #ruby
eaxxae has quit [Write error: Broken pipe]
calderonroberto has joined #ruby
calderonroberto has quit [Max SendQ exceeded]
`derpy has joined #ruby
SalviaNobile has joined #ruby
kerunaru has joined #ruby
calderonroberto has joined #ruby
an0ma1y has joined #ruby
calderonroberto has quit [*.net *.split]
ur5us has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
aep has quit [*.net *.split]
skweek has quit [*.net *.split]
unsymbol has quit [*.net *.split]
shanemcd has quit [*.net *.split]
pawnbox has quit [*.net *.split]
Xeago has quit [*.net *.split]
johnhamelink has quit [*.net *.split]
ruboto has quit [*.net *.split]
jottr has quit [*.net *.split]
chouhoul_ has quit [*.net *.split]
hollywood has quit [*.net *.split]
TheBloke- has quit [*.net *.split]
FifthWall has quit [*.net *.split]
levifig has quit [*.net *.split]
p0m3r4n0 has quit [*.net *.split]
CodingWolf has quit [*.net *.split]
Affix has quit [*.net *.split]
Ilyes512 has quit [*.net *.split]
yqt has quit [*.net *.split]
tuelz1 has quit [*.net *.split]
diegoviola has quit [*.net *.split]
karapetyan has quit [*.net *.split]
alem0lars has quit [*.net *.split]
agit0 has quit [*.net *.split]
Klumben has quit [*.net *.split]
sankaber has quit [*.net *.split]
User458764 has quit [*.net *.split]
zast has quit [*.net *.split]
Didac has quit [*.net *.split]
houhoulis has quit [*.net *.split]
ibouvousaime has quit [*.net *.split]
freerobby has quit [*.net *.split]
Gnut has quit [*.net *.split]
cdg has quit [*.net *.split]
workmad3 has quit [*.net *.split]
dimik has quit [*.net *.split]
redlegion has quit [*.net *.split]
yaewa has quit [*.net *.split]
edwinvdgraaf has quit [*.net *.split]
EvilJStoker has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
AnoHito_ has quit [*.net *.split]
jord has quit [*.net *.split]
blackjid has quit [*.net *.split]
jabreity has quit [*.net *.split]
ltd has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
guardian has quit [*.net *.split]
Lloyd has quit [*.net *.split]
digneety has quit [*.net *.split]
Steve_Jobs has quit [*.net *.split]
acadavid has quit [*.net *.split]
constantinexvi_ has quit [*.net *.split]
prosody has quit [*.net *.split]
mrsolo has quit [*.net *.split]
benlakey has quit [*.net *.split]
absolutejam has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
Kuukunen has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
machty has quit [*.net *.split]
coffeejunk has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
AdamMeghji has quit [*.net *.split]
universa1 has quit [*.net *.split]
JoL1hAHN has quit [*.net *.split]
segmond has quit [*.net *.split]
Cork has quit [*.net *.split]
groundnuty has quit [*.net *.split]
tonini has quit [*.net *.split]
daxroc has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
Veejay has quit [*.net *.split]
wedgwood has quit [*.net *.split]
genpaku has quit [*.net *.split]
LBRapid has quit [*.net *.split]
ZeeNoodley has quit [*.net *.split]
Uptime has quit [*.net *.split]
Guest3889 has quit [*.net *.split]
infernix has quit [*.net *.split]
bjmllr has quit [*.net *.split]
frog0909 has quit [*.net *.split]
flori has quit [*.net *.split]
DanKnox[away] has quit [*.net *.split]
VladGh has quit [*.net *.split]
nchambers has quit [*.net *.split]
jimeh_ has quit [*.net *.split]
yokel has quit [*.net *.split]
canton7 has quit [*.net *.split]
zly has quit [*.net *.split]
freeze has quit [*.net *.split]
yonatankoren has quit [*.net *.split]
suffice_ has quit [*.net *.split]
jaxxstorm has quit [*.net *.split]
iooner has quit [*.net *.split]
TDJACR has quit [*.net *.split]
ja has quit [*.net *.split]
Miron has quit [*.net *.split]
HaythamKenway has quit [*.net *.split]
nullwarp has quit [*.net *.split]
Scriptonaut has quit [*.net *.split]
jsrn has quit [*.net *.split]
sgrdrnk has quit [*.net *.split]
oz has quit [*.net *.split]
pizzaops has quit [*.net *.split]
CabbageMan69 has quit [*.net *.split]
ruisantos has quit [*.net *.split]
lnx has quit [*.net *.split]
Seich_ has quit [*.net *.split]
IceDragon has quit [*.net *.split]
Y_Ichiro has quit [*.net *.split]
freedrull has quit [*.net *.split]
rethi has quit [*.net *.split]
Ikzi has quit [*.net *.split]
joevandyk has quit [*.net *.split]
douglass1 has quit [*.net *.split]
bascht has quit [*.net *.split]
uber has quit [*.net *.split]
greenbigfrog has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
znz_jp has quit [*.net *.split]
renderfu_ has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
bougyman has quit [*.net *.split]
hanmac has quit [*.net *.split]
kalzz has quit [*.net *.split]
tekacs has quit [*.net *.split]
moss has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
tekk has quit [*.net *.split]
funnel has quit [*.net *.split]
err_ok has quit [*.net *.split]
hostess has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
colstrom has quit [*.net *.split]
janno_ has quit [*.net *.split]
DarthGandalf has joined #ruby
guardian has joined #ruby
tekacs has joined #ruby
EvilJStoker has joined #ruby
<Radar>
totes weird given that they're called ars TECHnica
tekk has joined #ruby
hollywood has joined #ruby
Xeago has joined #ruby
zly has joined #ruby
Ikri has joined #ruby
houhoulis has joined #ruby
dlitvak has joined #ruby
wedgwood has joined #ruby
canton7 has joined #ruby
EvilJStoker has quit [Excess Flood]
saltsa has quit [Quit: Reconnecting]
tuelz1 has joined #ruby
FifthWall has joined #ruby
Uptime has joined #ruby
renderfu_ has joined #ruby
EvilJStoker has joined #ruby
AnoHito has joined #ruby
MasterNayru has joined #ruby
JoL1hAHN has joined #ruby
chouhoulis has joined #ruby
dt__ has left #ruby [#ruby]
frog0909 has joined #ruby
yfeldblum has joined #ruby
greenbigfrog has joined #ruby
ur5us has joined #ruby
karapetyan has joined #ruby
TheBloke has joined #ruby
cmoneylulz has joined #ruby
jottr has joined #ruby
shanemcd has joined #ruby
Cork has joined #ruby
pawnbox has joined #ruby
diegoaguilar has joined #ruby
roger_rabbit has joined #ruby
hostess has joined #ruby
mbeasley has joined #ruby
alindeman has joined #ruby
C0deMaver1ck has joined #ruby
zast has joined #ruby
yonatankoren has joined #ruby
Uptime has quit [Max SendQ exceeded]
C0deMaver1ck is now known as Guest89718
InvGhost has quit [Ping timeout: 264 seconds]
kellabyte has quit [Ping timeout: 264 seconds]
yokel has joined #ruby
Y_Ichiro has joined #ruby
Y_Ichiro has quit [Changing host]
Y_Ichiro has joined #ruby
colstrom has joined #ruby
Seich has joined #ruby
diegoviola has joined #ruby
nordskald has joined #ruby
NeverDie has joined #ruby
AnoHito has quit [Read error: Network is unreachable]
iooner has joined #ruby
Gnut has joined #ruby
sankaber has joined #ruby
segmond has joined #ruby
oz has joined #ruby
levifig has joined #ruby
err_ok has joined #ruby
jabreity has joined #ruby
mrsolo has joined #ruby
kalzz has joined #ruby
jord has joined #ruby
AnoHito has joined #ruby
gambl0re has joined #ruby
jsrn has joined #ruby
Rickmasta has joined #ruby
iooner has quit [Excess Flood]
Miron has joined #ruby
benlakey has joined #ruby
maloik has joined #ruby
cmoneylulz has quit [Remote host closed the connection]
nchambers has joined #ruby
iooner has joined #ruby
workmad3 has joined #ruby
ibouvousaime has joined #ruby
freerobby has joined #ruby
unsymbol has joined #ruby
Scriptonaut has joined #ruby
infernix has joined #ruby
TDJACR has joined #ruby
Mr_Pancake has joined #ruby
sugardrunk has joined #ruby
joevandyk has joined #ruby
Guest93329 has quit [Ping timeout: 246 seconds]
IceDragon has joined #ruby
djbkd has joined #ruby
Kuukunen has joined #ruby
flori has joined #ruby
DarkBushido has joined #ruby
pizzaops has joined #ruby
cdg has joined #ruby
IceDragon is now known as Guest47134
calderonroberto has joined #ruby
redlegion has joined #ruby
edwinvdgraaf has joined #ruby
Guest47134 is now known as IceDragon
bougyman has joined #ruby
LBRapid has joined #ruby
alindeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bascht has joined #ruby
rethi has joined #ruby
ejnahc has joined #ruby
freedrull has joined #ruby
CloCkWeRX has quit [Ping timeout: 246 seconds]
Luming has joined #ruby
genpaku has joined #ruby
p0m3r4n0 has joined #ruby
uber has joined #ruby
absolutejam has joined #ruby
musicmatze has joined #ruby
BLuEGoD has joined #ruby
tobiasvl has joined #ruby
blackmesa has joined #ruby
asas has joined #ruby
Ilyes512 has joined #ruby
<Nilium>
I think the only site I've made a personal policy of avoiding is hacker news
constantinexvi has joined #ruby
coffeejunk has joined #ruby
<Nilium>
Just because there's something wrong with that community, and I can't put my finger on it
h99h9h88 has joined #ruby
janno has joined #ruby
aep has joined #ruby
<apeiros>
Nilium: what about reddit?
digneety has joined #ruby
Veejay has joined #ruby
<Nilium>
I try to limit what I check on reddit
tonini has joined #ruby
User458764 has joined #ruby
blackjid has joined #ruby
<Nilium>
It's hard to pin it down because it depends on the group on there, but a lot of it is more or less awful.
prosody has joined #ruby
nullwarp has joined #ruby
freeze has joined #ruby
Affix has joined #ruby
skweek has joined #ruby
moss has joined #ruby
<Radar>
Nilium: The "Well Actually" crowd is the name I've given it.
Affix is now known as Guest23209
InvGhost has joined #ruby
<Radar>
They will debate you on any point, no matter how trivial
nertzy has joined #ruby
cmoneylulz has joined #ruby
<Radar>
Just to prove themselves right
groundnuty has joined #ruby
Xeago has quit [Remote host closed the connection]
<Nilium>
Pretty much.
Ariadeno has joined #ruby
suffice has joined #ruby
colstrom has quit [Ping timeout: 264 seconds]
[spoiler] has quit [Ping timeout: 264 seconds]
<Nilium>
It's worse when I look back and go "oh, I've done that"
<Radar>
And also: "I did this thing in Ruby which I think is pretty great" and the reply is "That sucks. I did the same thing in Assembly in < 1hr when I was in high school."
<Nilium>
It's kind of hard to train yourself not to be a crappy person.
Ariadeno is now known as Guest69636
soahccc has quit [Ping timeout: 264 seconds]
nemesit|znc has quit [Ping timeout: 264 seconds]
[spoiler] has joined #ruby
kellabyte has joined #ruby
User458764 has quit [Client Quit]
ltd has joined #ruby
allcentury has joined #ruby
TheMoonMaster has joined #ruby
<apeiros>
Radar: just reply "boo, I did it with punchcards in <1min when I wasn't yet born!"
greenbigfrog has quit [Ping timeout: 264 seconds]
skmp has quit [Ping timeout: 264 seconds]
twe4ked has quit [Ping timeout: 264 seconds]
<apeiros>
don't forget to link topper from dilbert :D
Xeago has joined #ruby
shanemcd has quit [Remote host closed the connection]
ja has joined #ruby
futilegames has joined #ruby
skmp has joined #ruby
roshanavand has joined #ruby
tobiasgreen has joined #ruby
Nightmare has joined #ruby
nullset68 has joined #ruby
Nightmare has quit [Changing host]
Nightmare has joined #ruby
AdamMeghji has joined #ruby
futilegames has quit [Client Quit]
ruisantos has joined #ruby
colstrom has joined #ruby
diegoaguilar has quit [Ping timeout: 276 seconds]
nullset68 has quit [Client Quit]
yardenbar has joined #ruby
Lloyd has joined #ruby
chinmay_dd has quit [Ping timeout: 264 seconds]
zzak has quit [Ping timeout: 264 seconds]
douglass_ has joined #ruby
acadavid has joined #ruby
Fire-Dragon-DoL has joined #ruby
Uptime has joined #ruby
sepp2k has quit [Ping timeout: 240 seconds]
daxroc has joined #ruby
jaxxstorm has joined #ruby
Uranio has quit [Quit: Leaving]
hanmac has joined #ruby
heftig has quit [Quit: heftig]
solocshaw has joined #ruby
<Nilium>
I just try, not always successfully, to not put down someone's work because they tried to do something I think isn't useful/good/right.
nullwarp has quit [Ping timeout: 264 seconds]
Nightmare is now known as HaythamKenway
<Radar>
Same
twe4ked has joined #ruby
greenbigfrog has joined #ruby
<Radar>
"Your code is shit and you should feel shit" is not helpful to anyone but yourself.
framling has quit [Remote host closed the connection]
<Radar>
Yay feeling of moral superiority
heftig has joined #ruby
<Nilium>
And even then you'll probably just feel bad about it later.
<Radar>
Big deal, hotshot. The better person is the one who helps rather than wounds.
Uptime has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 240 seconds]
chinmay_dd has joined #ruby
<Nilium>
Assuming you dwell on it the way I do, but I don't know how other people think.
stannard has joined #ruby
<Radar>
Psycopaths don't dwell on their actions :P
<apeiros>
for real?
<Radar>
And that kinda comment is _really harmful_. It can lead to such a large confidence hit and take months to recover from.
lnx has joined #ruby
frode15243 has quit [Ping timeout: 264 seconds]
cjk101010 has quit [Ping timeout: 264 seconds]
<Radar>
apeiros: which is the "for real" directed at?
<Radar>
brb walking home
asas has quit [Ping timeout: 260 seconds]
hollywood has quit [Ping timeout: 264 seconds]
Shidash has quit [Ping timeout: 264 seconds]
Fluent has quit [Ping timeout: 264 seconds]
hollywood has joined #ruby
platzhirsch has joined #ruby
<apeiros>
Radar: psychos dwelling
nullwarp has joined #ruby
Shidash has joined #ruby
universa1 has joined #ruby
jimeh has joined #ruby
kaspergrubbe has joined #ruby
Fluent has joined #ruby
<Nilium>
That's more or less what psychopathy is, if I remember right.
skade has joined #ruby
DanKnox[away] has joined #ruby
<Nilium>
Aside from the other stuff that makes it up.
cjk101010 has joined #ruby
VladGh has joined #ruby
<Nilium>
So, not empathizing and whatnot doesn't mean someone's a psychopath, it's just a facet.
justinweiss__ has quit [Ping timeout: 264 seconds]
<apeiros>
time to restudy ICD I guess :D
<apeiros>
(actually not really having time for such fun stuff :-S)
<Nilium>
Bear in mind I could be (and probably am) way off.
zzak has joined #ruby
frode15243 has joined #ruby
karapetyan has quit [Remote host closed the connection]
noodle has quit [Quit: /quit]
Xeago has quit [Remote host closed the connection]
justinweiss__ has joined #ruby
alindeman has joined #ruby
alxndr_ has joined #ruby
<apeiros>
colloquial and medical definition might differ wildly anyway
sepp2k has joined #ruby
BLuEGoD has quit [Ping timeout: 264 seconds]
nemesit|znc has joined #ruby
jabreity has quit [Ping timeout: 264 seconds]
alxndr has quit [Ping timeout: 264 seconds]
PhilK has quit [Ping timeout: 264 seconds]
voker57_ has quit [Quit: voker57_]
karapetyan has joined #ruby
funnel has joined #ruby
apipkin has quit [Ping timeout: 264 seconds]
Voker57 has joined #ruby
Voker57 has quit [Changing host]
Voker57 has joined #ruby
stannard has quit [Remote host closed the connection]
Guest1660 has joined #ruby
apipkin has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
apipkin has quit [Changing host]
apipkin has joined #ruby
karapetyan has quit [Remote host closed the connection]
alxndr_ is now known as alxndr
<slash_nick>
Radar: previous actions, you mean? i'd imagine they dwell on future actions from time to time or in some cases
BSaboia has quit [Ping timeout: 246 seconds]
Ilyes512 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jhass has quit [Excess Flood]
twe4ked has quit [Ping timeout: 264 seconds]
<slash_nick>
/join #psychology
epochwolf has quit [Ping timeout: 264 seconds]
jhass has joined #ruby
karapetyan has joined #ruby
jabreity has joined #ruby
greenbigfrog has quit [Ping timeout: 264 seconds]
jabreity has quit [Changing host]
jabreity has joined #ruby
<atmosx>
I don't know what are you guys talking about
nullset68 has joined #ruby
shinnya has quit [Ping timeout: 253 seconds]
BLuEGoD has joined #ruby
[spoiler] has quit [Ping timeout: 264 seconds]
ibouvousaime has quit [Ping timeout: 249 seconds]
BLuEGoD has quit [Changing host]
BLuEGoD has joined #ruby
<atmosx>
I am probably the only one here that can draw the structure of diltiazem, olanzapine and morphine/heroin/thebaine by heart! \o/
noodle has joined #ruby
ElderFain has quit [Excess Flood]
<atmosx>
that said, I'm going to bed.
ElderFain has joined #ruby
jud has quit [Ping timeout: 246 seconds]
nyandoge has quit [Read error: Connection reset by peer]
nyandoge has joined #ruby
nyandoge has quit [Changing host]
nyandoge has joined #ruby
russt has quit [Excess Flood]
<adaedra>
'night.
G has quit [Ping timeout: 264 seconds]
G has joined #ruby
bjmllr has joined #ruby
bjmllr has quit [Changing host]
bjmllr has joined #ruby
nullset68 has quit [Client Quit]
<Radar>
slash_nick: yes, that's it
<apeiros>
night adaedra
johnny56 has joined #ruby
cookiez has joined #ruby
<adaedra>
That was for atmosx, apeiros
Gnut has quit [Ping timeout: 276 seconds]
karapetyan has quit [Write error: Broken pipe]
Guest23209 has quit [Excess Flood]
<apeiros>
whoops
PhilK has joined #ruby
<Radar>
I meant that psychos wouldn't dwell on their actions negatively.
<slash_nick>
my only reliable source source is Dexter
<slash_nick>
source source source
epochwolf has joined #ruby
Affix-Phobos has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
ur5us has quit [Remote host closed the connection]
dlitvak has quit [Remote host closed the connection]
SCHAAP137 has quit [Quit: Leaving]
<Radar>
I think that maybe the word I was looking for is sociopath
twe4ked has joined #ruby
karapetyan has joined #ruby
colstrom has quit [Ping timeout: 264 seconds]
Mr_Pancake has quit [Ping timeout: 264 seconds]
TheHodge has quit [Ping timeout: 264 seconds]
jord has quit [Read error: Connection reset by peer]
nullset68 has joined #ruby
nullset68 has quit [Write error: Connection reset by peer]
<blubjr>
i just meant for 'guarding' the expression from going under zero
<blubjr>
or do i have to be explicit
<Radar>
?xy
<adaedra>
Two bots down
<Radar>
ruboto, why have you forsaken us?
<Radar>
Hey, at least helpa stays up.
<Radar>
:trollface:
<adaedra>
blubjr: what are you trying to do in the first place?
spastorino has joined #ruby
<Radar>
blubjr: Sounds like you've come up with a solution and now you're asking us how to apply that solution to your rpoblem.
maloik_ has quit [Ping timeout: 244 seconds]
Outlastsheep has quit [Ping timeout: 246 seconds]
futilegames has quit [Quit: futilegames]
vikas027 has joined #ruby
alindeman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
golgaroth has joined #ruby
johnhamelink has joined #ruby
techietrash has joined #ruby
techietrash has quit [Changing host]
techietrash has joined #ruby
Diabolik has quit [Excess Flood]
sivoais has quit [Ping timeout: 260 seconds]
zapata has joined #ruby
IceDragon has joined #ruby
Luming has joined #ruby
Paradox has joined #ruby
havenwood has joined #ruby
havenwood has quit [Changing host]
havenwood has joined #ruby
Scriptonaut has joined #ruby
Uptime has joined #ruby
epochwolf has joined #ruby
IceDragon is now known as Guest8114
rflot has quit [Ping timeout: 264 seconds]
duncannz has quit [Ping timeout: 276 seconds]
fluchtreflex has joined #ruby
fluchtreflex has joined #ruby
claw has joined #ruby
<apeiros>
Radar: ye, föcking problems with freenodes perma-netsplit
Puffball has joined #ruby
Koshian has joined #ruby
shadeslayer has joined #ruby
kallisti5 has joined #ruby
<Radar>
apeiros: I have two bots now. helpa + helpa-ping. If one can't reach the other then they disconnect and reconnect.
<apeiros>
second time I have to manually get ruboto up :-(
[ace] has joined #ruby
vbatts|work has joined #ruby
jzigmund has joined #ruby
Skelz0r has joined #ruby
aibot___ has joined #ruby
absolutejam has joined #ruby
ciege has joined #ruby
okdas has joined #ruby
okdas has quit [Changing host]
okdas has joined #ruby
naftilos76 has quit [Ping timeout: 276 seconds]
Papierkorb has joined #ruby
<slash_nick>
nice
Lildirt has joined #ruby
hightower4 has joined #ruby
<apeiros>
Radar: sounds like a good idea
z3uS has joined #ruby
kies has joined #ruby
ryotarai has joined #ruby
jinie has joined #ruby
adeponte has joined #ruby
ebertx has joined #ruby
Lorn has joined #ruby
YaknotiS has joined #ruby
boshhead has joined #ruby
dannluciano has joined #ruby
russt has joined #ruby
joneshf-laptop has joined #ruby
joeyjones has joined #ruby
Couch has joined #ruby
shtirlic has joined #ruby
nertzy has joined #ruby
df has joined #ruby
gusrub has joined #ruby
Diabolik has joined #ruby
zenspider has joined #ruby
blackmesa has joined #ruby
scottymeuk has joined #ruby
marahin has joined #ruby
Rickmasta has joined #ruby
skarn has quit [Max SendQ exceeded]
Diabolik has quit [Excess Flood]
cfloare has joined #ruby
marahin is now known as Guest4353
varesa has joined #ruby
_ko1 has joined #ruby
euoia has joined #ruby
ozzloy has joined #ruby
ozzloy has quit [Changing host]
ozzloy has joined #ruby
kitallis has joined #ruby
gsingh93 has joined #ruby
DrShoggoth has joined #ruby
lianj has joined #ruby
lianj has quit [Changing host]
lianj has joined #ruby
pjaspers has joined #ruby
<blubjr>
im porting a program, and i would prefer to get it working period in ruby before i think about restructuring the whole thing. writing [0, expr].max over and over is cumbersome, thats all, its easy enough to write something to cover that but bounding the ends of an expression is general enough that i thought ruby might have something predefined, thats all i was asking
<apeiros>
something about these netsplits kills cinch
marr has joined #ruby
j0bk has joined #ruby
Drakevr has joined #ruby
rvchangue has joined #ruby
hplar has joined #ruby
ruboto has joined #ruby
nlsun has joined #ruby
lurch_ has quit [Quit: lurch_]
<adaedra>
apeiros: maybe it's just at the other side of the netsplit, it happens.
Ray` has joined #ruby
sivoais has joined #ruby
Esya has joined #ruby
<apeiros>
adaedra: nope
<apeiros>
it's dead
yxhuvud has joined #ruby
bf4 has joined #ruby
mmasaki has joined #ruby
<adaedra>
, jim.
konopka has joined #ruby
<apeiros>
second time this happened
Derailed has joined #ruby
gnarf has joined #ruby
jackcom has joined #ruby
bradland has joined #ruby
<apeiros>
lol @ ", jim"
VladGh has joined #ruby
Bish has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
kadoppe has joined #ruby
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
flori has joined #ruby
<apeiros>
too sad I don't have the new ruboto up yet. would have been nice to see how it holds up.
Spleeze has joined #ruby
crowell has joined #ruby
Kuukunen has joined #ruby
M-prosodyContext has joined #ruby
DEac- has joined #ruby
shanemcd_ has joined #ruby
woodruffw has joined #ruby
freeze has joined #ruby
infernix has quit [Ping timeout: 258 seconds]
maloik has joined #ruby
* Radar
enjoys that people explain code with text
* Radar
is not being sarcastic at all
* Radar
no really
<Radar>
blubjr: ^
kerunaru has quit [Ping timeout: 276 seconds]
sindork has joined #ruby
ELCALOR has quit [Ping timeout: 264 seconds]
Vile` has joined #ruby
<apeiros>
Radar: is that double plusnogood sarcasm
<apeiros>
?
alexblom has joined #ruby
roshanavand has joined #ruby
rethi has joined #ruby
golgaroth has quit [Ping timeout: 264 seconds]
jlyndon has quit [Ping timeout: 264 seconds]
vbatts|work has quit [Ping timeout: 245 seconds]
shadeslayer has quit [Ping timeout: 245 seconds]
platzhirsch has left #ruby [#ruby]
Lloyd has joined #ruby
kloeri has joined #ruby
<Radar>
apeiros: I.... don't know.
nertzy has quit [Client Quit]
dfoolz has quit [Ping timeout: 260 seconds]
ironcamel has joined #ruby
p0m3r4n0 has joined #ruby
levifig has joined #ruby
andersh has joined #ruby
Rickmasta has quit [Ping timeout: 245 seconds]
awk has joined #ruby
gaussblurinc1 has quit [Quit: Leaving.]
SirCmpwn has joined #ruby
stephenh has joined #ruby
g3funk has joined #ruby
sparr has quit [Ping timeout: 264 seconds]
prosody has quit [Ping timeout: 264 seconds]
michael_mbp has joined #ruby
awk is now known as Guest726
KervyN has joined #ruby
ZYPP has joined #ruby
pleiosaur has joined #ruby
Ariadeno has joined #ruby
TTilus has joined #ruby
arthurnn has joined #ruby
Ariadeno is now known as Guest50975
async_prince has joined #ruby
coffeejunk has joined #ruby
jabreity has joined #ruby
xxneolithicxx has joined #ruby
<blubjr>
radar: does ruby have an equivalent shorthand to def bound(x, l, h); x < l ? l : x > h ? h : x; end
golgaroth has joined #ruby
[dmp] has joined #ruby
Silex has joined #ruby
alindeman has joined #ruby
<Radar>
blubjr: Show me what the method does.
<Radar>
I already had breakfast this morning so I don't want to have some alphabet soup]\
<Ox0dea>
Today on Things You('ll) Wish You Could Un-know: If you can smell something, it's because particles thereof are *in* your nostrils.
sandstro_ has quit [Quit: My computer has gone to sleep.]
phrozen77 has joined #ruby
Azure has quit [Excess Flood]
skade has quit [Client Quit]
DenysLins has quit [Quit: Saindo]
<douglass_>
that's kind of true but kind of not
Freeaqingme has joined #ruby
twe4ked has joined #ruby
cmoneylulz has joined #ruby
majjoha_ has joined #ruby
Xeago has quit [Remote host closed the connection]
<Ox0dea>
douglass_: Enlighten me, Ol' Factoryman.
<Ox0dea>
VeryBewitching: Any qualms with parenthetical apostrophization?
gusrub has quit [Quit: Leaving]
cmoneylulz has quit [Remote host closed the connection]
<douglass_>
distinction between the odor-bearing compound actually reaching your nose and the thing it comes from
soahccc has quit [Ping timeout: 264 seconds]
pizzaops has quit [Ping timeout: 264 seconds]
borkdude has quit [Ping timeout: 264 seconds]
danoo_ has joined #ruby
<VeryBewitching>
Example please.
davedev24 has joined #ruby
<douglass_>
if i smell indole, well, it's because there are indole molecules getting to my nose. simple.
<Ox0dea>
VeryBewitching: I just did it with "You('ll)".
moei has joined #ruby
<douglass_>
but if i smell shit, what that actually means is *also* likely that there are indole molecules getting to my nose, since these are one of the main odor-bearing components of shit
<VeryBewitching>
Oh, when it comes to a style of writing, I take cues from CS Lewis and Jabberwocky :D
<douglass_>
doesn't necessarily mean other components are also in my nose
gusrub has joined #ruby
<Ox0dea>
VeryBewitching: Isn't that "anything goes"? :P
jbrhbr has quit [Quit: Leaving.]
cbednarski has quit [Ping timeout: 264 seconds]
<douglass_>
(aside: indole is a weird compound. in high concentrations humans perceive it as smelling like shit. but in much lower ones, it's often said to smell like flowers; it's a significant component of jasmine oil for instance.)
<VeryBewitching>
Ox0dea: The rules of English, in my opinion, can be set aside if the implied misusage promotes better emphasis or communication to with the reader.
amitchellbullard has quit [Ping timeout: 264 seconds]
unreal has joined #ruby
Xeago has joined #ruby
im0b has quit [Read error: Network is unreachable]
amitchellbullard has joined #ruby
<VeryBewitching>
Ox0dea: Mostly because English is a one to many compiler relationship; plain English can mean different things to different people.
cosmicfires has quit [Ping timeout: 260 seconds]
greenbigfrog has quit [Ping timeout: 264 seconds]
JoL1hAHN has quit [Ping timeout: 264 seconds]
bf4 has joined #ruby
tomchapin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
NeverDie_ has joined #ruby
null__ has joined #ruby
null__ has quit [Changing host]
null__ has joined #ruby
ghormoon has joined #ruby
<Ox0dea>
VeryBewitching: Aye, I suppose I was only look for whether or not you consider the construction to be an "improper" one.
jimeh has quit [Ping timeout: 264 seconds]
leslie has quit [Ping timeout: 264 seconds]
cdg_ has quit [Remote host closed the connection]
<Ox0dea>
What say the prescriptivists of parenthetical apostrophization?
<VeryBewitching>
Ox0dea: I like what it expressed, the parenthetical in that statement caused the content to have two meanings.
<Ox0dea>
As would it have done if I'd instead parenthesized "Will", of course.
<Ox0dea>
I'm only bothering you because my go-to resource has failed me on the matter in spectacular fashion.
jaxxstorm has quit [Ping timeout: 264 seconds]
SegFaultAX has quit [Ping timeout: 264 seconds]
jabreity_ has joined #ruby
existensil has joined #ruby
jabreity has quit [Ping timeout: 264 seconds]
SegFaultAX has joined #ruby
Guest8114 is now known as IceDragon
NeverDie_ has quit [Ping timeout: 245 seconds]
cookiez has joined #ruby
jimeh has joined #ruby
soahccc has joined #ruby
krobzaur has joined #ruby
ciege has joined #ruby
leslie has joined #ruby
leslie has quit [Changing host]
leslie has joined #ruby
spastorino has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
jaxxstorm has joined #ruby
cmoneylulz has joined #ruby
calderonroberto has quit [Ping timeout: 244 seconds]
<VeryBewitching>
Make your grammer gooder.
<Ox0dea>
I are want to make me grammars many much good as possibiliyu.
<Ox0dea>
*possibility
Meeh_ has quit [Remote host closed the connection]
JoL1hAHN has joined #ruby
davedev24 has quit [Read error: Network is unreachable]
johnny56 has joined #ruby
<Ox0dea>
Is ##English a graveyard?
BraddPitt has joined #ruby
davedev24 has joined #ruby
ytti has joined #ruby
Coraline has joined #ruby
abbe has joined #ruby
<krobzaur>
I think I justy discovered that the array.each{} block has its own scope. How do I get variables assigned within an array.each{} block to be accessible in the surrounding scope?
<Ox0dea>
krobzaur: No.
doublemalt_ has quit [Remote host closed the connection]
<krobzaur>
Ox0dea: no as in I am wrong?
<VeryBewitching>
English was the natural result of mashing as many contrary languages together as possible into a homogeneous mess.
abbe is now known as Guest37866
theRoUS has joined #ruby
<Ox0dea>
krobzaur: I suspect you don't have a sufficiently good reason for wanting that.
<krobzaur>
Ox0dea: lol ok probably true
<Ox0dea>
Sanity prevails! <3
<krobzaur>
Ox0dea: I supposed I could put the rest of my program within that block
greenbigfrog has joined #ruby
<Ox0dea>
Wat.
<Ox0dea>
360 no-scope is not programming advice.
cbednarski has joined #ruby
ElderFain has quit [Ping timeout: 264 seconds]
amitchellbullard has quit [Ping timeout: 264 seconds]
lacrosse has quit [Ping timeout: 264 seconds]
<krobzaur>
Ox0dea: lol ok well I think I have a legitimate reason to want variables assigned in this .each block to persist after the program exits from the loop
blackmesa has quit [Ping timeout: 245 seconds]
<Ox0dea>
krobzaur: Go on.
lacrosse has joined #ruby
Brando753 has joined #ruby
amitchellbullard has joined #ruby
<krobzaur>
Ox0dea: So how do I do that? It works if I just declare the variables I want before the loop but that seems like kind of a janky way to achieve the result I want
SalviaNobile has quit [Ping timeout: 276 seconds]
<Ox0dea>
krobzaur: That's the way to do it, and its jankiness is a feature.
<krobzaur>
Ox0dea: lol fair enough
leslie has quit [Ping timeout: 264 seconds]
<krobzaur>
Ox0dea: It certaintly requires you to be attentive
<krobzaur>
Ox0dea: and understand exactly what you want from the loop
<Ox0dea>
krobzaur: It's really not the done thing in idiomatic Ruby.
DanKnox[away] has quit [Ping timeout: 264 seconds]
universa1 has quit [Ping timeout: 264 seconds]
<blubjr>
you probably want a fold
tsunamie has joined #ruby
vifino has joined #ruby
andersh has joined #ruby
<Ox0dea>
*reduction
<krobzaur>
Ox0dea: mmm I just picked up Ruby yesterday so i'm not really privy to any best practices or whatnot
soahccc has quit [Ping timeout: 264 seconds]
<Ox0dea>
krobzaur: Whence do you come, if you don't mind my asking?
<Ox0dea>
C, perhaps?
C0deMaver1ck_ has quit [Ping timeout: 264 seconds]
epochwolf has quit [Ping timeout: 264 seconds]
ajafo has joined #ruby
_ko1 has quit [Quit: Quit Nadoka 0.8.4+git(v0.8.3-5-g0ae819a-dt)]
<krobzaur>
Ox0dea: This window management program I found has a Ruby API so I'm using it to script my window setups
<Ox0dea>
That's about as imperative as it gets. :P