00:02
johncash has joined #ruby-lang
00:04
<
johncash >
If I have some code I want to run on some data like foo(data), should I create a proc or a method? This method/proc won't be called on the instance of the class or the class itself
00:04
djbkd has quit [Remote host closed the connection]
00:04
<
johncash >
it's only used internally by the class
00:04
charliesome has quit [Read error: Connection reset by peer]
00:05
<
drbrain >
I create a method
00:06
ddv has quit [Ping timeout: 245 seconds]
00:07
CodeBunny has joined #ruby-lang
00:08
ddv has joined #ruby-lang
00:08
mykoweb has quit [Remote host closed the connection]
00:11
djbkd has joined #ruby-lang
00:12
djbkd has quit [Remote host closed the connection]
00:12
starbucks has joined #ruby-lang
00:14
tylersmith has quit [Remote host closed the connection]
00:19
dknox has quit [Ping timeout: 245 seconds]
00:21
<
ari-_-e >
johncash: does it use instance variables?
00:21
<
johncash >
ari-_-e: nope
00:23
<
ari-_-e >
is there actually any reason to put it inside the class, if it doesn't use anything from the class?
00:23
<
johncash >
ari-_-e: the only time it's used it for data inside the class
00:24
<
johncash >
what other class would I put it into?
00:24
<
johncash >
it uses data inside the class but it's passed explicitly not as an instance variable
00:25
<
ari-_-e >
a method is fine
00:26
DevDoo has quit [Remote host closed the connection]
00:26
symm- has quit [Ping timeout: 255 seconds]
00:27
<
johncash >
then when
*is* a good idea to use a proc? are they pretty much only used as blocks in ruby?
00:27
<
pipework >
johncash: Nope. I use them to not evaluate something until it's called.
00:28
<
johncash >
methods don't evaluate anything until they're called…?
00:30
lsegal has joined #ruby-lang
00:30
<
pipework >
johncash: You make an interesting point. You could just wrap what you'd type as proc { Time.now - @oven.started_at } into a class that has a call method or a method you call, but why bother?
00:30
<
pipework >
I could see arguments on both sides that I'd agree with. What do you think?
00:31
sharpmachine has quit [Remote host closed the connection]
00:32
<
johncash >
i think that i do not know enough to make the best decision thus i chose to ask on irc
00:33
<
pipework >
Well, don't you think that the proc and lambda syntaxes are pretty clean, clear, and under control?
00:34
<
pipework >
If you feel like the code in that lambda doesn't belong where it is, or it deserves to be a method, or deserves its own class, then do it. I'd start by writing the proc or private method unless it's going to be a part of the object's public interface. I like using procs in hash arguments too sometimes.
00:35
<
johncash >
ah like passing a proc as an argument
00:35
<
johncash >
that's a good litmus probably. asking "Am I going to explicitly pass this function to someone"
00:35
DevDoo has joined #ruby-lang
00:36
ryba has joined #ruby-lang
00:37
yubrew has joined #ruby-lang
00:37
DevDoo has quit [Remote host closed the connection]
00:39
dsaint-pierre has joined #ruby-lang
00:41
charliesome has joined #ruby-lang
00:41
DevDoo has joined #ruby-lang
00:41
<
pipework >
johncash: You can do the same with Object#method though.
00:42
yubrew has quit [Ping timeout: 260 seconds]
00:42
<
pipework >
johncash: receiver.method_name(callback: method(:my_callback))
00:43
zlogan has joined #ruby-lang
00:43
<
johncash >
yeah but if you're going to jump through hoops like that, it seems pretty obvious that a proc is called for
00:43
mykoweb has joined #ruby-lang
00:43
mykoweb has quit [Remote host closed the connection]
00:44
<
pipework >
For example: User.invite(email: 'joe@minaswan.co.jp', success: method(:successfully_invited))
00:44
DevDoo has quit [Remote host closed the connection]
00:44
mykoweb has joined #ruby-lang
00:44
<
pipework >
One could also just use :successfully_invited if the receiver knows who to send the message to.
00:45
<
pipework >
Get creative if you want.
00:45
|jemc| has joined #ruby-lang
00:45
sharpmachine has joined #ruby-lang
00:46
mykoweb_ has joined #ruby-lang
00:48
zlogan has quit [Ping timeout: 276 seconds]
00:48
mykoweb has quit [Ping timeout: 240 seconds]
00:48
mister_i_ has joined #ruby-lang
00:50
DevDoo has joined #ruby-lang
00:50
kfpratt has quit [Remote host closed the connection]
00:50
seanot has joined #ruby-lang
00:51
kfpratt has joined #ruby-lang
00:52
DevDoo has quit [Remote host closed the connection]
00:52
mister_integer has quit [Ping timeout: 240 seconds]
00:52
|jemc| has quit [Ping timeout: 240 seconds]
00:54
DevDoo has joined #ruby-lang
00:55
kfpratt has quit [Ping timeout: 255 seconds]
00:56
enebo has joined #ruby-lang
00:57
sharpmachine has quit [Remote host closed the connection]
00:57
Olipro has quit [Ping timeout: 246 seconds]
00:59
CodeBunny has quit [Ping timeout: 276 seconds]
00:59
shinnya has quit [Ping timeout: 252 seconds]
01:00
tkuchiki has joined #ruby-lang
01:00
Olipro has joined #ruby-lang
01:01
fragamus_ has joined #ruby-lang
01:03
robbyoconnor has quit [Ping timeout: 276 seconds]
01:04
enebo has quit [Quit: enebo]
01:05
tenderlove has joined #ruby-lang
01:10
DevDoo has quit [Remote host closed the connection]
01:13
knu has quit [Ping timeout: 252 seconds]
01:14
mistym has quit [Ping timeout: 245 seconds]
01:16
houhoulis has joined #ruby-lang
01:16
lewix has quit [Read error: Connection reset by peer]
01:17
lewix has joined #ruby-lang
01:19
mister_i_ has quit [Remote host closed the connection]
01:19
mister_integer has joined #ruby-lang
01:23
DevDoo has joined #ruby-lang
01:26
mykoweb_ has quit [Remote host closed the connection]
01:26
avdi has quit [Ping timeout: 252 seconds]
01:26
mykoweb has joined #ruby-lang
01:27
mistym has joined #ruby-lang
01:27
miwood_ has joined #ruby-lang
01:30
avdi has joined #ruby-lang
01:30
lewix has quit [Read error: Connection reset by peer]
01:31
mykoweb has quit [Ping timeout: 265 seconds]
01:31
yubrew has joined #ruby-lang
01:31
lewix has joined #ruby-lang
01:31
miwood has quit [Ping timeout: 276 seconds]
01:32
pixelhandler has quit [Quit: pixelhandler]
01:32
miwood_ has quit [Ping timeout: 255 seconds]
01:33
mistym has quit [Remote host closed the connection]
01:35
Cakey has joined #ruby-lang
01:35
yubrew has quit [Ping timeout: 255 seconds]
01:36
starbucks has quit [Remote host closed the connection]
01:36
Gendalph has joined #ruby-lang
01:37
<
Gendalph >
I have a quick question: if I love Perl, how good are my chances to love Ruby?
01:38
tylersmith has joined #ruby-lang
01:38
starbucks has joined #ruby-lang
01:38
tenderlove has quit [Quit: Leaving...]
01:40
DevDoo has quit [Remote host closed the connection]
01:41
RobertBirnie has quit [Ping timeout: 240 seconds]
01:42
adambeynon has quit [Read error: Connection reset by peer]
01:42
adambeynon has joined #ruby-lang
01:43
seanot has quit [Remote host closed the connection]
01:43
seanot has joined #ruby-lang
01:43
DevDoo has joined #ruby-lang
01:44
dsaint-pierre has quit [Read error: Connection reset by peer]
01:44
alexju has joined #ruby-lang
01:45
dsaint-pierre has joined #ruby-lang
01:47
cored has quit [Ping timeout: 240 seconds]
01:47
seanot has quit [Ping timeout: 240 seconds]
01:51
robbyoconnor has joined #ruby-lang
01:52
toastynerd has joined #ruby-lang
01:53
mistym has joined #ruby-lang
01:54
thmzlt has joined #ruby-lang
01:56
ddfreyne has quit [Ping timeout: 252 seconds]
01:56
wallerdev has quit [Quit: wallerdev]
01:57
ddfreyne has joined #ruby-lang
01:58
johncash has quit [Quit: Leaving.]
01:59
melthefedorable has joined #ruby-lang
01:59
lewix has quit [Remote host closed the connection]
02:00
doitjay has quit [Quit: Leaving]
02:00
mykoweb has joined #ruby-lang
02:06
vpretzel|1392 has quit [Read error: Connection reset by peer]
02:07
vpretzel|1392 has joined #ruby-lang
02:09
Burgestrand has joined #ruby-lang
02:09
toastynerd has quit [Remote host closed the connection]
02:11
ryba has quit [Ping timeout: 240 seconds]
02:13
seanot has joined #ruby-lang
02:13
wallerdev has joined #ruby-lang
02:15
lewix has joined #ruby-lang
02:18
<
zenspider >
Gendalph: lots borrowed from perl, so pretty good?
02:18
<
Gendalph >
zenojis, I think good enough to try it
02:18
Gendalph has quit [Quit: Nah, not worth reading.]
02:19
kfpratt has joined #ruby-lang
02:21
vpretzel|1392 has quit [Quit: Adios!]
02:22
agarie has quit [Quit: Leaving...]
02:23
Macacity has quit [Quit: Connection closed for inactivity]
02:24
sharpmachine has joined #ruby-lang
02:25
yubrew has joined #ruby-lang
02:26
mistym_ has joined #ruby-lang
02:27
mistym has quit [Ping timeout: 252 seconds]
02:27
tectonic has joined #ruby-lang
02:28
danijoo has quit [Read error: Connection reset by peer]
02:28
danijoo has joined #ruby-lang
02:30
yubrew has quit [Ping timeout: 264 seconds]
02:30
DevDoo has quit [Remote host closed the connection]
02:31
karamazov has quit [Remote host closed the connection]
02:38
amclain has joined #ruby-lang
02:43
zlogan has joined #ruby-lang
02:43
ikrima has quit [Read error: Connection reset by peer]
02:44
ikrima has joined #ruby-lang
02:45
kfpratt has quit [Remote host closed the connection]
02:46
djbkd has joined #ruby-lang
02:46
kfpratt has joined #ruby-lang
02:48
zlogan has quit [Ping timeout: 264 seconds]
02:48
lewix has quit [Remote host closed the connection]
02:49
seanot has quit [Remote host closed the connection]
02:49
seanot has joined #ruby-lang
02:50
DevDoo has joined #ruby-lang
02:51
kfpratt has quit [Ping timeout: 255 seconds]
02:52
kfpratt has joined #ruby-lang
02:53
kfpratt has quit [Remote host closed the connection]
02:53
seanot has quit [Ping timeout: 240 seconds]
02:54
tectonic has quit []
02:59
tectonic has joined #ruby-lang
02:59
Nilium has joined #ruby-lang
03:00
Rich_Morin_ has joined #ruby-lang
03:01
hakunin has quit [Remote host closed the connection]
03:02
hakunin has joined #ruby-lang
03:06
hakunin has quit [Ping timeout: 240 seconds]
03:07
fragamus_ has quit [Quit: Computer has gone to sleep.]
03:10
Cakey has quit [Ping timeout: 265 seconds]
03:11
Cakey has joined #ruby-lang
03:12
ikrima has quit [Ping timeout: 245 seconds]
03:13
knu has joined #ruby-lang
03:15
mykoweb has quit [Remote host closed the connection]
03:16
mykoweb has joined #ruby-lang
03:18
Cakey has quit [Ping timeout: 245 seconds]
03:18
seanot has joined #ruby-lang
03:19
yubrew has joined #ruby-lang
03:20
mykoweb has quit [Ping timeout: 252 seconds]
03:21
miwood has joined #ruby-lang
03:22
Cakey has joined #ruby-lang
03:24
seanot has quit [Remote host closed the connection]
03:24
yubrew has quit [Ping timeout: 276 seconds]
03:25
seanot has joined #ruby-lang
03:28
doitjay has joined #ruby-lang
03:28
knu has quit [Ping timeout: 252 seconds]
03:29
seanot has quit [Ping timeout: 255 seconds]
03:32
Atttwww has joined #ruby-lang
03:32
symm- has joined #ruby-lang
03:35
x0f_ has joined #ruby-lang
03:36
Cakey has quit [Ping timeout: 240 seconds]
03:38
Cakey has joined #ruby-lang
03:39
dsaint-pierre has quit [Remote host closed the connection]
03:39
x0f has quit [Ping timeout: 265 seconds]
03:41
kfpratt has joined #ruby-lang
03:44
araujo has quit [Read error: Connection reset by peer]
03:45
dsaint-pierre has joined #ruby-lang
03:46
Cakey has quit [Ping timeout: 260 seconds]
03:46
araujo has joined #ruby-lang
03:46
PSU_Boss has quit [Read error: No route to host]
03:46
ikrima has joined #ruby-lang
03:46
araujo has quit [Read error: Connection reset by peer]
03:49
alexju has quit [Remote host closed the connection]
03:53
vpretzel has joined #ruby-lang
03:53
doitjay has quit [Quit: Leaving]
03:54
charliesome_ has joined #ruby-lang
03:55
charliesome has quit [Ping timeout: 252 seconds]
03:55
JoshuaPaling has joined #ruby-lang
03:58
mykoweb has joined #ruby-lang
03:58
Cakey has joined #ruby-lang
03:59
mehlah has joined #ruby-lang
03:59
mykoweb has quit [Read error: No route to host]
03:59
mykoweb has joined #ruby-lang
04:02
duderonomy has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
04:03
Cakey has quit [Ping timeout: 265 seconds]
04:04
mykoweb has quit [Remote host closed the connection]
04:04
Cakey has joined #ruby-lang
04:04
araujo has joined #ruby-lang
04:04
mykoweb has joined #ruby-lang
04:08
mistym_ has quit [Remote host closed the connection]
04:08
mykoweb has quit [Ping timeout: 252 seconds]
04:13
yubrew has joined #ruby-lang
04:14
cirenyc has joined #ruby-lang
04:14
nclaburn has joined #ruby-lang
04:14
vpretzel has quit [Remote host closed the connection]
04:16
charliesome_ is now known as charliesome
04:16
cirenyc has quit [Client Quit]
04:17
charliesome_ has joined #ruby-lang
04:18
yubrew has quit [Ping timeout: 260 seconds]
04:21
charliesome has quit [Ping timeout: 276 seconds]
04:23
djbkd has quit [Remote host closed the connection]
04:23
_ht has joined #ruby-lang
04:25
seanot has joined #ruby-lang
04:30
seanot has quit [Ping timeout: 240 seconds]
04:30
charliesome_ is now known as charliesome
04:33
thmzlt has quit [Remote host closed the connection]
04:34
thmzlt has joined #ruby-lang
04:34
pixelhandler has joined #ruby-lang
04:38
starbucks has quit [Remote host closed the connection]
04:38
thmzlt has quit [Ping timeout: 240 seconds]
04:44
zlogan has joined #ruby-lang
04:44
kfpratt has quit [Remote host closed the connection]
04:45
mistym has joined #ruby-lang
04:46
AKASkip has joined #ruby-lang
04:47
alexju has joined #ruby-lang
04:49
sharpmachine has quit [Remote host closed the connection]
04:52
Nilium has quit [Ping timeout: 240 seconds]
04:52
dsaint-pierre has quit [Remote host closed the connection]
04:52
miwood has quit [Remote host closed the connection]
04:53
miwood has joined #ruby-lang
04:53
vpretzel has joined #ruby-lang
04:53
btiefert has quit [Read error: Connection reset by peer]
04:54
djbkd has joined #ruby-lang
04:55
vpretzel_ has joined #ruby-lang
04:56
Cakey has quit [Ping timeout: 276 seconds]
04:58
vpretzel has quit [Ping timeout: 245 seconds]
05:00
Nilium has joined #ruby-lang
05:00
djbkd has quit [Ping timeout: 240 seconds]
05:00
vpretzel_ has quit [Ping timeout: 264 seconds]
05:02
houhoulis has quit [Remote host closed the connection]
05:02
yfeldblum has quit [Ping timeout: 240 seconds]
05:04
djbkd has joined #ruby-lang
05:05
mister_integer has quit [Remote host closed the connection]
05:07
yubrew has joined #ruby-lang
05:08
Rich_Morin_ has left #ruby-lang [#ruby-lang]
05:09
Bosox20051 has quit [Read error: Connection reset by peer]
05:12
yubrew has quit [Ping timeout: 240 seconds]
05:14
amclain has quit [Quit: Leaving]
05:15
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
05:15
seanot has joined #ruby-lang
05:19
seanot has quit [Ping timeout: 240 seconds]
05:24
Cakey has joined #ruby-lang
05:25
knu has joined #ruby-lang
05:27
nclaburn has quit [Quit: This computer has gone to sleep]
05:28
dik_dak has quit [Quit: Leaving]
05:32
ur5us has quit [Remote host closed the connection]
05:33
xcesariox has joined #ruby-lang
05:34
Gil has quit [Ping timeout: 252 seconds]
05:34
phansch has joined #ruby-lang
05:34
thmzlt has joined #ruby-lang
05:36
mister_integer has joined #ruby-lang
05:36
knu has quit [Ping timeout: 252 seconds]
05:38
DevDoo has quit [Remote host closed the connection]
05:39
thmzlt has quit [Ping timeout: 245 seconds]
05:39
tylersmith has quit [Remote host closed the connection]
05:40
tylersmith has joined #ruby-lang
05:40
tectonic has quit []
05:41
Cakey has quit [Ping timeout: 260 seconds]
05:41
mister_integer has quit [Ping timeout: 264 seconds]
05:44
tylersmith has quit [Ping timeout: 252 seconds]
05:45
danijoo has quit [Read error: Connection reset by peer]
05:46
danijoo has joined #ruby-lang
05:52
toastynerd has joined #ruby-lang
05:54
miqui has quit [Quit: No Ping reply in 180 seconds.]
05:54
vpretzel has joined #ruby-lang
05:56
toastynerd has quit [Remote host closed the connection]
05:57
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
05:57
apeiros_ has quit [Remote host closed the connection]
05:58
apeiros has joined #ruby-lang
05:59
vpretzel has quit [Ping timeout: 245 seconds]
06:01
xcesariox has joined #ruby-lang
06:01
arBmind has joined #ruby-lang
06:01
tylersmith has joined #ruby-lang
06:02
yubrew has joined #ruby-lang
06:03
apeiros has quit [Ping timeout: 264 seconds]
06:04
avdi has quit [Ping timeout: 252 seconds]
06:04
shennyg has quit [Ping timeout: 252 seconds]
06:05
manveru has quit [Ping timeout: 252 seconds]
06:05
dlackty_ has quit [Ping timeout: 252 seconds]
06:05
lacrosse_ has quit [Ping timeout: 252 seconds]
06:06
phrozen7- has quit [Ping timeout: 252 seconds]
06:06
antonishen has quit [Ping timeout: 252 seconds]
06:06
shennyg_ has joined #ruby-lang
06:06
dlackty_ has joined #ruby-lang
06:06
yubrew has quit [Ping timeout: 260 seconds]
06:07
avdi has joined #ruby-lang
06:07
yfeldblum has joined #ruby-lang
06:07
phrozen77 has joined #ruby-lang
06:08
antonishen has joined #ruby-lang
06:08
lacrosse_ has joined #ruby-lang
06:08
manveru has joined #ruby-lang
06:16
seanot has joined #ruby-lang
06:17
pixelhandler has quit [Quit: pixelhandler]
06:18
Miphix has joined #ruby-lang
06:20
Lumio has joined #ruby-lang
06:20
seanot has quit [Ping timeout: 240 seconds]
06:21
rahul_j has joined #ruby-lang
06:23
dsaint-pierre has joined #ruby-lang
06:24
Coincidental has quit [Remote host closed the connection]
06:24
willmarshall has joined #ruby-lang
06:24
arBmind has quit [Quit: Leaving.]
06:28
dsaint-pierre has quit [Ping timeout: 276 seconds]
06:28
apeiros has joined #ruby-lang
06:34
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
06:35
Asher has quit [Read error: Connection reset by peer]
06:35
relix has joined #ruby-lang
06:35
Asher has joined #ruby-lang
06:38
starbucks has joined #ruby-lang
06:38
ur5us has joined #ruby-lang
06:41
arBmind has joined #ruby-lang
06:42
lolmaus has quit [Ping timeout: 264 seconds]
06:42
starbucks has quit [Ping timeout: 245 seconds]
06:45
dsaint-pierre has joined #ruby-lang
06:45
alexju has quit [Remote host closed the connection]
06:45
solars has joined #ruby-lang
06:49
dsaint-pierre has quit [Ping timeout: 265 seconds]
06:50
AKASkip has quit [Ping timeout: 264 seconds]
06:50
jsullivandigs has quit [Remote host closed the connection]
06:54
vpretzel has joined #ruby-lang
06:57
arBmind has quit [Ping timeout: 260 seconds]
06:58
luiz_ has joined #ruby-lang
06:58
luiz_ is now known as Guest94363
06:59
vpretzel has quit [Ping timeout: 252 seconds]
06:59
tbuehlmann has joined #ruby-lang
07:00
mistym has quit [Remote host closed the connection]
07:01
luiz_lha has quit [Ping timeout: 255 seconds]
07:04
djbkd has quit [Remote host closed the connection]
07:05
lolmaus has joined #ruby-lang
07:06
willmarshall has quit [Ping timeout: 252 seconds]
07:06
wallerdev has quit [Quit: wallerdev]
07:08
soraher__ has quit [Ping timeout: 252 seconds]
07:08
anekos has quit [Ping timeout: 276 seconds]
07:08
soraher__ has joined #ruby-lang
07:10
dmitrykorotkov has joined #ruby-lang
07:11
dmitrykorotkov has quit [Read error: Connection reset by peer]
07:14
GBrawl has joined #ruby-lang
07:14
GBrawl has quit [Client Quit]
07:15
willmarshall has joined #ruby-lang
07:16
seanot has joined #ruby-lang
07:17
willmarshall has quit [Client Quit]
07:19
arBmind has joined #ruby-lang
07:21
seanot has quit [Ping timeout: 240 seconds]
07:23
anekos has joined #ruby-lang
07:24
thmzlt has joined #ruby-lang
07:25
Lumio has quit [Quit: Lumio]
07:28
gregf_ has joined #ruby-lang
07:28
thmzlt has quit [Ping timeout: 255 seconds]
07:31
tylersmith has quit [Remote host closed the connection]
07:31
tylersmith has joined #ruby-lang
07:32
AKASkip has joined #ruby-lang
07:33
lsegal has quit [Read error: Connection reset by peer]
07:33
lsegal has joined #ruby-lang
07:34
tomkadwill has joined #ruby-lang
07:35
tomkadwill has quit [Client Quit]
07:36
tylersmith has quit [Ping timeout: 265 seconds]
07:37
knu has joined #ruby-lang
07:38
mister_integer has joined #ruby-lang
07:40
eval-in_ has quit [Remote host closed the connection]
07:40
eval-in has joined #ruby-lang
07:41
lolmaus has quit [Ping timeout: 240 seconds]
07:41
tomkadwill has joined #ruby-lang
07:43
mister_integer has quit [Ping timeout: 260 seconds]
07:44
lolmaus has joined #ruby-lang
07:45
eval-in has quit [Remote host closed the connection]
07:45
eval-in has joined #ruby-lang
07:45
dsaint-pierre has joined #ruby-lang
07:46
knu has quit [Ping timeout: 252 seconds]
07:50
yubrew has joined #ruby-lang
07:50
dsaint-pierre has quit [Ping timeout: 255 seconds]
07:51
r0bby has joined #ruby-lang
07:51
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
07:51
robbyoconnor has quit [Ping timeout: 240 seconds]
07:53
rahul_j has quit [Quit: rahul_j]
07:53
lsegal has quit [Read error: Connection reset by peer]
07:53
Macacity has joined #ruby-lang
07:53
lsegal has joined #ruby-lang
07:54
vpretzel has joined #ruby-lang
07:55
yubrew has quit [Ping timeout: 264 seconds]
07:56
rahul_j has joined #ruby-lang
07:56
heftig has joined #ruby-lang
07:57
ur5us has quit [Remote host closed the connection]
07:59
vpretzel has quit [Ping timeout: 260 seconds]
08:04
kingpong1 has joined #ruby-lang
08:04
<
kingpong1 >
#rubyonrails
08:05
<
kingpong1 >
just dont know how to join it without typing it with #
08:05
<
kingpong1 >
in channel
08:05
[spoiler] has joined #ruby-lang
08:05
<
FiXato >
/join #rubyonrails
08:05
<
maloik >
you just type /join #channel
08:05
<
FiXato >
try that command kingpong1 :)
08:06
<
FiXato >
anything starting with a / will be parsed as a command
08:06
<
kingpong1 >
FiXato: kool :)
08:09
<
[spoiler] >
hello folk
08:10
<
yorickpeterse >
morning
08:12
LBo has quit [Ping timeout: 240 seconds]
08:15
Xzyx987X has quit [Ping timeout: 240 seconds]
08:16
LBo has joined #ruby-lang
08:17
seanot has joined #ruby-lang
08:21
seanot has quit [Ping timeout: 240 seconds]
08:23
Cakey has joined #ruby-lang
08:25
thmzlt has joined #ruby-lang
08:27
alex-quiterio has joined #ruby-lang
08:29
thmzlt has quit [Ping timeout: 240 seconds]
08:30
priodev has quit [Ping timeout: 252 seconds]
08:31
banister has joined #ruby-lang
08:32
Cakey has quit [Ping timeout: 260 seconds]
08:33
priodev has joined #ruby-lang
08:34
<
[spoiler] >
I have a tangential question. Is there a way to convert encoding from one format to another? Someone cock up their database and for some reason, when we backed up the database, all the encoding got fucked up?
08:34
Xzyx987X has joined #ruby-lang
08:34
<
[spoiler] >
Like, it's unicode but all instances of "š" for example now looks as "Å¡" lol
08:35
<
[spoiler] >
I suppose i could do a literal search/replace for those characters and and fix it, but it's still bizarre...
08:35
<
yorickpeterse >
force_encoding
08:35
<
yorickpeterse >
>> "Å¡".force_encoding('UTF-8')
08:35
tomkadwill has quit [Remote host closed the connection]
08:35
<
yorickpeterse >
That modifies the string in place btw
08:35
<
yorickpeterse >
>> "Å¡".encode('UTF-8')
08:36
<
yorickpeterse >
that doesn't
08:36
<
[spoiler] >
yorickpeterse <3
08:40
priodev has quit [Ping timeout: 245 seconds]
08:42
priodev has joined #ruby-lang
08:43
mikecmpbll has joined #ruby-lang
08:44
yubrew has joined #ruby-lang
08:45
mehlah has quit [Quit: Leaving...]
08:46
dsaint-pierre has joined #ruby-lang
08:46
mnngfltg has joined #ruby-lang
08:49
yubrew has quit [Ping timeout: 260 seconds]
08:51
dsaint-pierre has quit [Ping timeout: 265 seconds]
08:52
<
apeiros >
yorickpeterse: uh, force_encoding and encode do two completely different things…
08:53
<
apeiros >
>> Encoding.default_internal
08:53
<
apeiros >
>> Encoding.default_external
08:53
<
apeiros >
>> ENV["LANG"]
08:54
<
[spoiler] >
gid, is there a way to do this conversion through SQL directly? :s I feel like using ruby is overkill
08:54
<
apeiros >
..>> "Å¡".encode('UTF-8') # => "š" # <-- that's weird…
08:54
vpretzel has joined #ruby-lang
08:54
<
apeiros >
>> "Å¡".encoding
08:55
<
apeiros >
interesting - the output on eval.in differs
08:55
danijoo has quit [Read error: Connection reset by peer]
08:55
Guest94363 has quit [Ping timeout: 240 seconds]
08:55
<
apeiros >
that might explain why eval-in has generally some issues with pasting unicode in the channel
08:56
danijoo has joined #ruby-lang
08:56
Atttwww has quit [Ping timeout: 264 seconds]
08:56
Guest94363 has joined #ruby-lang
08:57
<
[spoiler] >
yeah it does
08:57
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:57
<
[spoiler] >
on eval.in it's just "Å¡"
08:57
<
apeiros >
which it should be
08:58
<
apeiros >
because you input "Å¡" as utf-8 and it stays utf-8 in both operations. so no change in either case.
08:58
djbkd has joined #ruby-lang
08:58
<
[spoiler] >
which encoding does the bot pass from irc though?
08:59
tomkadwill has joined #ruby-lang
08:59
vpretzel has quit [Ping timeout: 260 seconds]
08:59
<
[spoiler] >
because ` "Å¡".force_encoding('UTF-8') # => š` is the desired output :P
08:59
<
apeiros >
I'm not quite sure. I expected it to be all unicode (utf-8), but above behavior indicates there's a transcoding happening somewhere
09:00
<
apeiros >
[spoiler]: above works if your editor is using win-1252
09:00
<
apeiros >
i.e. open a file, put that code in and save it as win-1252. then run it. should print "š" (well, add a puts, obviously :D)
09:01
<
apeiros >
all force_encoding does is set the encoding attribute on the string. it does not change any bytes.
09:01
marr has joined #ruby-lang
09:01
<
apeiros >
encode on the other hand will convert the content of the string if source and destination encoding differ
09:01
<
[spoiler] >
apeiros, that's to be expected though
09:02
<
apeiros >
yes. "to be expected" and "people
*know* that it's to be expected" are different
09:02
<
apeiros >
and "know why it's to be expected" even more so :)
09:03
djbkd has quit [Ping timeout: 264 seconds]
09:04
phansch has quit [Quit: WeeChat 0.4.3]
09:04
r0bby_ has joined #ruby-lang
09:05
r0bby has quit [Ping timeout: 265 seconds]
09:06
kingpong1 has quit [Ping timeout: 240 seconds]
09:06
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
09:06
<
[spoiler] >
I wonder if there's a way to do this directly in SQL lmao
09:06
<
[spoiler] >
also, why are encodings always such a mess :|
09:07
<
yorickpeterse >
Either way, in general String#encode / String#force_encoding is a way to deal with encoding pains
09:07
<
yorickpeterse >
But you should of course solve that on input level whenever possible
09:07
<
apeiros >
[spoiler]: encoding stuff is database dependent
09:07
<
apeiros >
but yes, oracle e.g. provides functions/procedures. I'd bet so does postgres.
09:08
<
[spoiler] >
apeiros, it's odd because (it's MySQL), because this broke only after the database was backed up
09:08
<
[spoiler] >
well, restred from backup
09:08
<
apeiros >
sounds like you had broken settings
09:08
Fushi has joined #ruby-lang
09:08
<
apeiros >
i.e. exported it as win-1252 and then reimported it as utf-8
09:08
banister has joined #ruby-lang
09:09
<
yorickpeterse >
FYI I also think MySQL doesn't implement UTF8 as UTF8 or something
09:09
<
yorickpeterse >
it had some oddity with it where it wasn't actual UTF8
09:09
<
apeiros >
actually it'd be the other way round. export properly. import as win-1252, treat the converted as utf-8
09:10
kingpong1 has joined #ruby-lang
09:10
<
apeiros >
if I were you, I'd properly test db restoration to avoid that problem in the future…
09:11
<
[spoiler] >
apeiros, lol, it's their unmanaged VPS, they just asked for help
09:11
<
[spoiler] >
we don't mess with unmanaged vps settings :/
09:12
banister has quit [Client Quit]
09:13
mehlah has joined #ruby-lang
09:18
seanot has joined #ruby-lang
09:22
seanot has quit [Ping timeout: 240 seconds]
09:25
banister has joined #ruby-lang
09:25
banister has quit [Client Quit]
09:25
thmzlt has joined #ruby-lang
09:26
banister has joined #ruby-lang
09:26
banister has quit [Max SendQ exceeded]
09:27
banister has joined #ruby-lang
09:27
<
kingpong1 >
and this one
09:28
<
yorickpeterse >
kingpong1: ?
09:28
<
kingpong1 >
any help on these would be great I alread yasked on #rubyonrails
09:29
GBrawl has joined #ruby-lang
09:30
thmzlt has quit [Ping timeout: 255 seconds]
09:30
<
kingpong1 >
yorickpeterse: i want to convert raw sql to rails query
09:30
<
kingpong1 >
yorickpeterse: just need a pointer
09:37
Burgestrand has quit [Quit: Burgestrand]
09:38
yubrew has joined #ruby-lang
09:43
koos303 has joined #ruby-lang
09:43
Mellett68 has quit [Remote host closed the connection]
09:43
yubrew has quit [Ping timeout: 276 seconds]
09:43
GBrawl has quit [Ping timeout: 265 seconds]
09:44
knu has joined #ruby-lang
09:44
arBmind1 has joined #ruby-lang
09:45
Mellett68 has joined #ruby-lang
09:46
arBmind has quit [Ping timeout: 260 seconds]
09:47
stamina has joined #ruby-lang
09:47
dsaint-pierre has joined #ruby-lang
09:47
<
[spoiler] >
kingpong1, what's a "rails query?"
09:47
momomomomo has quit [Quit: momomomomo]
09:48
<
whitequark >
activerecord, I guess
09:48
<
[spoiler] >
So, just make them models
09:48
<
[spoiler] >
and use the methods rails provides
09:48
<
[spoiler] >
well, activerecord provides
09:50
<
yorickpeterse >
[spoiler]: way to miss the point
09:51
<
kingpong1 >
[spoiler]: ok will not as rails question
09:51
<
[spoiler] >
I'm confused now
09:51
<
yorickpeterse >
[spoiler]: if you look at the gist you can see they are using stuff AR provides
09:51
<
yorickpeterse >
They're just trying to convert a literal SQL query to those methods
09:51
<
[spoiler] >
oh, I didn't look at the gist lmao
09:51
<
yorickpeterse >
...
09:51
dsaint-pierre has quit [Ping timeout: 252 seconds]
09:52
* yorickpeterse
likes slapping people and randomly picks [spoiler] to slap
09:52
<
kingpong1 >
yorickpeterse: [spoiler] u r fun :)
09:52
r0bby_ has quit [Ping timeout: 240 seconds]
09:54
vpretzel has joined #ruby-lang
09:56
<
[spoiler] >
mother f* this charset is stupid
09:56
<
[spoiler] >
charset thing
09:57
<
FiXato >
kingpong1, have a look at
http://guides.rubyonrails.org/active_record_querying.html and then start building up your active record find chain using those methods to retrieve the data you want. I would start with first doing the joins/includes till you have a result that has the fields you want, and then trim it down to the minimum necessary by chaining on where(), select() and any limits/offsets and
09:57
<
FiXato >
group/having you need. Take incremental steps, so you know where your data selection starts going wrong :)
09:59
vpretzel has quit [Ping timeout: 245 seconds]
09:59
djbkd has joined #ruby-lang
09:59
<
FiXato >
Don't look too much at your original query; start from scratch and add the activerecord chains you need :)
10:00
rahul_j has quit [Ping timeout: 240 seconds]
10:01
<
kingpong1 >
FiXato: u make sense :)
10:01
<
kingpong1 >
FiXato: cheers
10:01
rahul_j has joined #ruby-lang
10:04
djbkd has quit [Ping timeout: 276 seconds]
10:10
xcesariox has joined #ruby-lang
10:11
danijoo has quit [Read error: Connection reset by peer]
10:11
danijoo has joined #ruby-lang
10:15
ironhide_604 has joined #ruby-lang
10:16
<
[spoiler] >
I hate silly clients like this.
10:19
seanot has joined #ruby-lang
10:21
benlovell has joined #ruby-lang
10:23
seanot has quit [Ping timeout: 240 seconds]
10:25
phansch has joined #ruby-lang
10:26
thmzlt has joined #ruby-lang
10:27
solars has quit [Ping timeout: 276 seconds]
10:30
joonty is now known as Red-Guy
10:31
thmzlt has quit [Ping timeout: 260 seconds]
10:32
Red-Guy is now known as joonty
10:32
yubrew has joined #ruby-lang
10:33
yfeldblum has quit [Read error: Connection reset by peer]
10:35
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
10:36
hakunin has joined #ruby-lang
10:37
yubrew has quit [Ping timeout: 260 seconds]
10:39
relix has joined #ruby-lang
10:39
rahul_j has quit [Ping timeout: 264 seconds]
10:40
mister_integer has joined #ruby-lang
10:41
rahul_j has joined #ruby-lang
10:44
elia has joined #ruby-lang
10:45
mister_integer has quit [Ping timeout: 245 seconds]
10:48
dsaint-pierre has joined #ruby-lang
10:49
zenojis has quit [Ping timeout: 240 seconds]
10:52
zenojis has joined #ruby-lang
10:52
dsaint-pierre has quit [Ping timeout: 252 seconds]
10:52
GBrawl has joined #ruby-lang
10:53
ryba has joined #ruby-lang
10:54
arBmind1 has quit [Quit: Leaving.]
10:54
vpretzel has joined #ruby-lang
10:56
charliesome has joined #ruby-lang
10:58
vpretzel has quit [Ping timeout: 240 seconds]
11:01
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
11:01
relix has joined #ruby-lang
11:06
relix has quit [Ping timeout: 260 seconds]
11:06
ledestin has quit [Quit: ledestin]
11:12
arBmind has joined #ruby-lang
11:15
elia has quit [Quit: Computer has gone to sleep.]
11:19
arBmind1 has joined #ruby-lang
11:19
seanot has joined #ruby-lang
11:20
arBmind has quit [Ping timeout: 264 seconds]
11:21
arBmind1 has quit [Client Quit]
11:23
seanot has quit [Ping timeout: 240 seconds]
11:26
benlovell has quit [Ping timeout: 265 seconds]
11:26
yubrew has joined #ruby-lang
11:28
Cakey has joined #ruby-lang
11:29
ryba has quit [Ping timeout: 245 seconds]
11:29
rahul_j has quit [Quit: rahul_j]
11:30
andrewhl has joined #ruby-lang
11:30
ironhide_604 has quit [Ping timeout: 265 seconds]
11:31
rahul_j has joined #ruby-lang
11:31
yubrew has quit [Ping timeout: 240 seconds]
11:33
Cakey has quit [Ping timeout: 260 seconds]
11:33
rahul_j_ has joined #ruby-lang
11:34
ldnunes has joined #ruby-lang
11:35
rahul_j has quit [Ping timeout: 260 seconds]
11:35
rahul_j_ is now known as rahul_j
11:41
benlovell has joined #ruby-lang
11:44
solars has joined #ruby-lang
11:48
dsaint-pierre has joined #ruby-lang
11:51
mbj has joined #ruby-lang
11:51
mbj has quit [Client Quit]
11:52
kyb3r_ has quit [Read error: Connection reset by peer]
11:53
dsaint-pierre has quit [Ping timeout: 276 seconds]
11:54
symm- has quit [Read error: Connection reset by peer]
11:54
vpretzel has joined #ruby-lang
11:54
modintel has joined #ruby-lang
11:56
Cakey has joined #ruby-lang
11:57
elia has joined #ruby-lang
11:57
yfeldblum has joined #ruby-lang
11:57
shinnya has joined #ruby-lang
11:59
vpretzel has quit [Ping timeout: 252 seconds]
12:00
symm- has joined #ruby-lang
12:00
tomkadwi_ has joined #ruby-lang
12:01
workmad3 has joined #ruby-lang
12:02
spastorino has joined #ruby-lang
12:02
relix has joined #ruby-lang
12:02
yfeldblum has quit [Ping timeout: 265 seconds]
12:03
<
yorickpeterse >
so I'm not a secret agent, but having to go to starbucks to crawl some websites feels close to it
12:03
tomkadwill has quit [Ping timeout: 240 seconds]
12:04
<
apeiros >
got your company IPs blocked? :D
12:04
<
yorickpeterse >
No, not yet
12:04
<
yorickpeterse >
But everybody is like "ooooh be careful boooo"
12:04
<
yorickpeterse >
so I went to starbucks to do my thing there
12:05
<
yorickpeterse >
Our office network is shit toay so can't use any proxies really
12:05
<
yorickpeterse >
* today
12:05
<
yorickpeterse >
running out of tea though..
12:06
<
yorickpeterse >
(of course I only bought a 2 euro cup of tea, because i'm cheap)
12:06
elia has quit [Quit: Computer has gone to sleep.]
12:06
relix has quit [Ping timeout: 240 seconds]
12:07
<
yorickpeterse >
I wonder how many people are listening in on this wifi network
12:07
scampbell has joined #ruby-lang
12:07
<
apeiros >
can't you put it on expenses?
12:07
<
apeiros >
heh, at railsconf, you could see everybodys irc password :)
12:08
stamina has quit [Remote host closed the connection]
12:08
tomkadwi_ has quit [Remote host closed the connection]
12:08
Cakey has quit [Ping timeout: 240 seconds]
12:09
stamina has joined #ruby-lang
12:10
chouhoulis has joined #ruby-lang
12:12
relix has joined #ruby-lang
12:13
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
12:13
<
yorickpeterse >
well good thing I'm tunneling that over SSH
12:18
toastynerd has joined #ruby-lang
12:19
toastynerd has quit [Client Quit]
12:20
seanot has joined #ruby-lang
12:21
yubrew has joined #ruby-lang
12:21
<
benlovell >
yorickpeterse: are you coming to brighton in july?
12:21
rahul_j has quit [Quit: rahul_j]
12:21
Guest94363 has quit [Ping timeout: 260 seconds]
12:22
Guest94363 has joined #ruby-lang
12:24
seanot has quit [Ping timeout: 240 seconds]
12:25
Guest94363 has quit [Max SendQ exceeded]
12:25
yubrew has quit [Ping timeout: 252 seconds]
12:25
Guest94363 has joined #ruby-lang
12:25
Ainieco has joined #ruby-lang
12:25
Ainieco has quit [Changing host]
12:25
Ainieco has joined #ruby-lang
12:26
<
Ainieco >
not sure where to ask it better but facing this issue while doing ruby so i'll ask here if you odn't mind
12:27
mnngfltg has quit [Quit: Ex-Chat]
12:27
<
Ainieco >
1 | 2 | 4 == 7; how to remove arbitrary part of "1 | 2 | 4" having just 7?
12:28
thmzlt has joined #ruby-lang
12:28
<
Ainieco >
is it just "-"?
12:28
symm- has quit [Ping timeout: 240 seconds]
12:28
* Ainieco
sucks at bitwise logic
12:29
<
apeiros >
I don't really understand your question
12:29
<
apeiros >
you mean you have 7 and want to remove the 2 from it?
12:30
<
apeiros >
i.e. 7 <???> 2 == 1 | 4
12:30
<
Ainieco >
apeiros: right
12:30
<
Ainieco >
apeiros: i can check if 2 is in 7 by "(7 & 2) == 2"
12:30
symm- has joined #ruby-lang
12:31
<
apeiros >
well, if all your numbers are powers of 2, + and - will work
12:31
<
Ainieco >
but how to remove 2 from 7, looks like it just a "-" but not sure if it's correct
12:31
<
Ainieco >
apeiros: yep, they're power of 2
12:31
<
apeiros >
but bitwise would be & ~, iirc
12:31
<
apeiros >
>> 7 & ~2
12:31
* apeiros
kicks eval-in
12:31
<
apeiros >
"he's dead, jim". oh dear :(
12:32
<
Ainieco >
apeiros: what does ~ means?
12:32
kfpratt has joined #ruby-lang
12:32
stamina has quit [Quit: WeeChat 0.4.3]
12:32
<
Ainieco >
gotcha, thanks
12:32
<
apeiros >
inverts all 0 and 1's
12:33
<
apeiros >
i,e, a & ~b effectively unsets all bits from a which are set in b
12:33
thmzlt has quit [Ping timeout: 276 seconds]
12:33
<
Ainieco >
apeiros: that makes sense, thank you again!
12:34
lolmaus has quit [Ping timeout: 276 seconds]
12:35
<
Ainieco >
apeiros: by the way, is there true bitwise variant of "(7 & 2) == 2", i.e without "==" part?
12:36
<
apeiros >
Ainieco: since ruby doesn't treat 0 as false and 1 as true - no
12:37
<
workmad3 >
Ainieco: well, you could do '(7 & 2).nonzero?'
12:38
arBmind1 has joined #ruby-lang
12:38
<
workmad3 >
Ainieco: that only works because the only possible answers from x & 2 are 0 or 2 though... for 3 you'd have to use == 3
12:39
symm- has quit [Ping timeout: 245 seconds]
12:40
<
Ainieco >
workmad3: understood
12:41
starbucks has joined #ruby-lang
12:41
elia has joined #ruby-lang
12:41
thisirs has joined #ruby-lang
12:45
starbucks has quit [Ping timeout: 252 seconds]
12:48
Cakey has joined #ruby-lang
12:49
dsaint-pierre has joined #ruby-lang
12:51
andrewhl has quit [Quit: andrewhl]
12:51
malconis has joined #ruby-lang
12:51
yfeldblum has joined #ruby-lang
12:52
malconis has quit [Remote host closed the connection]
12:53
yatish27 has joined #ruby-lang
12:53
[spoiler] has quit [Quit: Leaving]
12:54
dsaint-pierre has quit [Ping timeout: 252 seconds]
12:55
Ainieco has quit [Quit: leaving]
12:56
yfeldblum has quit [Ping timeout: 245 seconds]
12:56
yfeldblum has joined #ruby-lang
12:56
tomkadwill has joined #ruby-lang
12:57
miqui has joined #ruby-lang
12:58
redgetan has quit [Quit: This computer has gone to sleep]
12:58
seanot has joined #ruby-lang
12:59
dsaint-pierre has joined #ruby-lang
12:59
modintel has joined #ruby-lang
13:00
modintel has quit [Client Quit]
13:00
modintel has joined #ruby-lang
13:00
modintel has quit [Client Quit]
13:00
Cakey has quit [Ping timeout: 245 seconds]
13:01
yfeldblum has quit [Ping timeout: 255 seconds]
13:01
djbkd has joined #ruby-lang
13:01
Cakey has joined #ruby-lang
13:01
karamazov has joined #ruby-lang
13:02
allolex has joined #ruby-lang
13:02
luiz_ has joined #ruby-lang
13:02
luiz_ is now known as Guest71166
13:05
Guest94363 has quit [Ping timeout: 265 seconds]
13:07
<
yorickpeterse >
benlovell: perhaps, I still have to work out my travel plans for this year
13:07
djbkd has quit [Ping timeout: 265 seconds]
13:08
thmzlt has joined #ruby-lang
13:09
vpretzel has joined #ruby-lang
13:10
vpretzel_ has joined #ruby-lang
13:14
vpretzel has quit [Ping timeout: 245 seconds]
13:14
davs has joined #ruby-lang
13:14
davs has quit [Client Quit]
13:15
yubrew has joined #ruby-lang
13:15
thmzlt_ has joined #ruby-lang
13:15
mister_integer has joined #ruby-lang
13:16
thmzlt has quit [Read error: Connection reset by peer]
13:17
hackpcbsd has joined #ruby-lang
13:17
vpretzel_ is now known as vpretzel
13:19
shinnya has quit [Ping timeout: 264 seconds]
13:19
yubrew has quit [Ping timeout: 260 seconds]
13:20
mister_integer has quit [Ping timeout: 252 seconds]
13:20
Cakey has quit [Ping timeout: 260 seconds]
13:21
hackpcbsd has quit [Client Quit]
13:21
priodev has quit [Ping timeout: 245 seconds]
13:21
djinni` has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
13:24
alexju has joined #ruby-lang
13:25
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
13:25
priodev has joined #ruby-lang
13:25
djinni` has joined #ruby-lang
13:25
thmzlt_ has quit []
13:29
alexju has quit [Ping timeout: 264 seconds]
13:32
jgpawletko has joined #ruby-lang
13:36
zenojis has quit [Ping timeout: 240 seconds]
13:38
zenojis has joined #ruby-lang
13:39
Asher has quit [Quit: Leaving.]
13:39
tkuchiki has quit [Ping timeout: 260 seconds]
13:42
vpretzel is now known as vpretzel|1786
13:44
setmeaway has joined #ruby-lang
13:45
xcesariox has joined #ruby-lang
13:47
banister has joined #ruby-lang
13:47
Cakey has joined #ruby-lang
13:48
benlovell has quit [Ping timeout: 240 seconds]
13:49
enebo has joined #ruby-lang
13:49
AncientAmateur has joined #ruby-lang
13:50
yfeldblum has joined #ruby-lang
13:51
Guest71166 has quit [Ping timeout: 264 seconds]
13:53
Guest71166 has joined #ruby-lang
13:55
yfeldblum has quit [Ping timeout: 240 seconds]
13:56
Cakey has quit [Ping timeout: 252 seconds]
13:58
benlovell has joined #ruby-lang
13:58
tkuchiki has joined #ruby-lang
14:00
centrx has joined #ruby-lang
14:01
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
14:03
djbkd has joined #ruby-lang
14:03
nathanstitt has joined #ruby-lang
14:03
<
yorickpeterse >
well, my Dutch address parser is actually not too bad
14:03
<
yorickpeterse >
Not sure if Ragel + Racc is the best tooling choice but hey, it works sort of
14:04
<
whitequark >
sounds overkill for addresses
14:04
<
yorickpeterse >
actually, you need context for it to be parsed properly
14:04
<
yorickpeterse >
And I figured that as a hack Racc would be faster than doing things manually
14:04
<
yorickpeterse >
e.g.
14:04
<
yorickpeterse >
"Lepelstraat" is both a street and city name
14:05
<
yorickpeterse >
"straat" is usually used to indicate streets, but in this case it's also a city
14:05
<
yorickpeterse >
So the only way to know if it's a street is if it's followed by some kind of house/block number indication
14:05
<
yorickpeterse >
e.g.
14:05
<
yorickpeterse >
"Lepestraat 15" <- street
14:05
<
yorickpeterse >
errr Lepelstraat
14:05
<
yorickpeterse >
(translates: "Spoon street")
14:05
cnivolle has joined #ruby-lang
14:05
alexju has joined #ruby-lang
14:06
bantic has joined #ruby-lang
14:06
<
yorickpeterse >
Same goes for city names
14:06
<
yorickpeterse >
or provinces
14:06
<
yorickpeterse >
e.g. "Utrecht" is both a city and province here in .nl
14:06
<
yorickpeterse >
The only way to figure out what it is is the pattern
14:07
Guest71166 has quit [Remote host closed the connection]
14:07
<
yorickpeterse >
"Foobarstraat 14, Utrecht, Utrecht, The Netherlands" <- easy to guess
14:07
<
yorickpeterse >
"Foobarstraat 14, Utrecht, The Netherlands" <- probably the city since provinces are usually not used in addresses
14:07
<
yorickpeterse >
"Utrecht" errrr...
14:07
Guest71166 has joined #ruby-lang
14:07
<
yorickpeterse >
So yeah, you need context to know what it is
14:07
<
yorickpeterse >
There's probably an easier way than Racc, but for a 30 minute train hack this isn't too bad
14:08
tomkadwill has quit []
14:08
mehlah has quit [Read error: Connection reset by peer]
14:09
mehlah has joined #ruby-lang
14:09
yubrew has joined #ruby-lang
14:09
mu5k17u has joined #ruby-lang
14:09
mehlah_ has joined #ruby-lang
14:10
solars has quit [Ping timeout: 264 seconds]
14:10
<
yorickpeterse >
If street names always had a universal indicator you could do it with just Ragel
14:12
aef has joined #ruby-lang
14:13
yubrew has quit [Ping timeout: 252 seconds]
14:14
mehlah has quit [Ping timeout: 276 seconds]
14:14
banister has joined #ruby-lang
14:15
<
whitequark >
oh, cool
14:18
loincloth has joined #ruby-lang
14:19
dwknoxy has joined #ruby-lang
14:22
lolmaus has joined #ruby-lang
14:23
dwknoxy has quit [Client Quit]
14:25
Sammidysam has joined #ruby-lang
14:25
ari-_-e has quit [Quit: Leaving]
14:26
bantic has quit [Quit: bantic]
14:27
jsullivandigs has joined #ruby-lang
14:28
djbkd has quit [Remote host closed the connection]
14:29
Sammidysam has quit [Client Quit]
14:32
dik_dak has joined #ruby-lang
14:32
koos303 has quit [Ping timeout: 265 seconds]
14:36
starbucks has joined #ruby-lang
14:36
starbucks has quit [Remote host closed the connection]
14:44
yfeldblum has joined #ruby-lang
14:45
jsullivandigs has quit [Remote host closed the connection]
14:48
koos303 has joined #ruby-lang
14:49
the-undefined_ has joined #ruby-lang
14:49
hackpcbsd has joined #ruby-lang
14:49
jsullivandigs has joined #ruby-lang
14:49
yfeldblum has quit [Ping timeout: 265 seconds]
14:54
kingpong1 has quit [Quit: Page closed]
14:54
nvmme has joined #ruby-lang
14:56
nvmme has quit [Client Quit]
14:56
hackpcbsd has quit []
15:01
vpretzel|1786 has quit [Quit: Adios!]
15:01
pglombardo has joined #ruby-lang
15:01
elia has quit [Quit: Computer has gone to sleep.]
15:03
yubrew has joined #ruby-lang
15:03
zlogan has quit [Ping timeout: 260 seconds]
15:05
jgpawletko has quit [Quit: jgpawletko]
15:06
jgpawletko has joined #ruby-lang
15:06
mistym has joined #ruby-lang
15:06
vpretzel has joined #ruby-lang
15:07
kfpratt has quit [Remote host closed the connection]
15:08
yubrew has quit [Ping timeout: 264 seconds]
15:10
dwknoxy has joined #ruby-lang
15:10
AKASkip has quit [Ping timeout: 260 seconds]
15:10
nvmme has joined #ruby-lang
15:12
nvmme has quit [Client Quit]
15:12
mistym has quit [Remote host closed the connection]
15:14
vpretzel is now known as vpretzel|1789
15:15
ironhide_604 has joined #ruby-lang
15:17
bin7me has joined #ruby-lang
15:20
itsmynick has joined #ruby-lang
15:21
itsmynick has quit [Client Quit]
15:21
sharpmachine has joined #ruby-lang
15:21
scampbell has quit [Ping timeout: 255 seconds]
15:23
itsmynick has joined #ruby-lang
15:23
itsmynick has quit [Client Quit]
15:23
mehlah_ is now known as mehlah
15:24
ryba_ has joined #ruby-lang
15:24
bfleischer has joined #ruby-lang
15:26
djbkd has joined #ruby-lang
15:28
heftig has quit [Quit: Quitting]
15:28
mistym has joined #ruby-lang
15:29
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
15:30
banister has joined #ruby-lang
15:32
kfpratt has joined #ruby-lang
15:33
karamazov has quit [Read error: Connection reset by peer]
15:33
karamazov has joined #ruby-lang
15:36
futilegames has joined #ruby-lang
15:37
momomomomo has joined #ruby-lang
15:39
yfeldblum has joined #ruby-lang
15:39
fragamus_ has joined #ruby-lang
15:42
mister_integer has joined #ruby-lang
15:42
kavinder has joined #ruby-lang
15:42
ironhide_604 has quit [Ping timeout: 240 seconds]
15:43
djbkd has quit [Ping timeout: 265 seconds]
15:43
yfeldblum has quit [Ping timeout: 245 seconds]
15:45
mykoweb has joined #ruby-lang
15:45
mister_i_ has joined #ruby-lang
15:46
phansch has quit [Quit: WeeChat 0.4.3]
15:48
mister_integer has quit [Ping timeout: 255 seconds]
15:52
rippa has joined #ruby-lang
15:52
sharpmachine has quit [Remote host closed the connection]
15:57
yubrew has joined #ruby-lang
15:57
mister_i_ has quit [Remote host closed the connection]
15:58
elia has joined #ruby-lang
15:58
mister_integer has joined #ruby-lang
15:59
benlovell has quit [Ping timeout: 255 seconds]
16:00
futilegames has quit [Quit: futilegames]
16:01
apeiros has quit [Remote host closed the connection]
16:01
koos303 has quit [Ping timeout: 255 seconds]
16:01
benlovell has joined #ruby-lang
16:01
apeiros has joined #ruby-lang
16:01
yubrew has quit [Ping timeout: 240 seconds]
16:05
cnivolle has quit [Read error: Connection reset by peer]
16:05
cnivolle has joined #ruby-lang
16:06
apeiros has quit [Ping timeout: 276 seconds]
16:06
pixelhandler has joined #ruby-lang
16:08
wallerdev has joined #ruby-lang
16:10
Tn6o has joined #ruby-lang
16:11
MindfulMonk has quit [Quit: Have fun]
16:12
MindfulMonk has joined #ruby-lang
16:15
Tn6o has quit [Ping timeout: 260 seconds]
16:21
scampbell has joined #ruby-lang
16:21
hahuang65 has quit [Ping timeout: 264 seconds]
16:22
djbkd has joined #ruby-lang
16:22
tylersmith has joined #ruby-lang
16:22
cored has joined #ruby-lang
16:23
sharpmachine has joined #ruby-lang
16:24
marcofernandez has joined #ruby-lang
16:24
mistym has quit [Remote host closed the connection]
16:26
lolmaus has quit [Ping timeout: 255 seconds]
16:27
riffraff has joined #ruby-lang
16:28
lolmaus has joined #ruby-lang
16:29
btiefert has joined #ruby-lang
16:30
apeiros has joined #ruby-lang
16:33
yfeldblum has joined #ruby-lang
16:33
riffraff has quit [Quit: Leaving]
16:33
riffraff has joined #ruby-lang
16:35
dik_dak has quit [Ping timeout: 240 seconds]
16:35
mikecmpbll has quit [Ping timeout: 264 seconds]
16:36
vpretzel_ has joined #ruby-lang
16:36
vpretzel|1789 has quit [Ping timeout: 252 seconds]
16:36
AncientAmateur has quit [Remote host closed the connection]
16:37
yfeldblum has quit [Ping timeout: 245 seconds]
16:37
benlovell has quit [Ping timeout: 260 seconds]
16:37
workmad3_ has joined #ruby-lang
16:38
annon___ has joined #ruby-lang
16:39
workmad3 has quit [Disconnected by services]
16:39
workmad3_ is now known as workmad3
16:41
yfeldblum has joined #ruby-lang
16:41
cored has quit [Ping timeout: 252 seconds]
16:41
lolmaus has quit [Read error: Connection reset by peer]
16:42
mistym has joined #ruby-lang
16:43
yfeldblu_ has joined #ruby-lang
16:43
mykoweb has quit [Remote host closed the connection]
16:43
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
16:43
robmiller has joined #ruby-lang
16:43
mykoweb has joined #ruby-lang
16:44
wallerdev has quit [Quit: wallerdev]
16:45
arBmind1 has quit [Quit: Leaving.]
16:45
yfeldblum has quit [Ping timeout: 240 seconds]
16:45
__butch__ has joined #ruby-lang
16:46
AKASkip has joined #ruby-lang
16:46
lolmaus has joined #ruby-lang
16:47
yfeldblu_ has quit [Ping timeout: 240 seconds]
16:48
mykoweb has quit [Ping timeout: 276 seconds]
16:49
mehlah has quit [Quit: Leaving...]
16:50
djbkd has quit [Read error: Connection reset by peer]
16:50
dik_dak has joined #ruby-lang
16:50
djbkd has joined #ruby-lang
16:51
yubrew has joined #ruby-lang
16:55
araujo has quit [Ping timeout: 252 seconds]
16:56
yubrew has quit [Ping timeout: 240 seconds]
16:56
elia has quit [Quit: Computer has gone to sleep.]
16:58
johncash has joined #ruby-lang
16:59
zlogan has joined #ruby-lang
16:59
wallerdev has joined #ruby-lang
16:59
johncash has left #ruby-lang [#ruby-lang]
17:01
vpretzel_ is now known as vpretzel|1789
17:02
seanot has quit [Remote host closed the connection]
17:03
seanot has joined #ruby-lang
17:05
zlogan has quit [Ping timeout: 260 seconds]
17:06
cored has joined #ruby-lang
17:07
AncientAmateur has joined #ruby-lang
17:07
vpretzel|1789 has quit [Remote host closed the connection]
17:08
seanot has quit [Ping timeout: 276 seconds]
17:08
vpretzel|1789 has joined #ruby-lang
17:09
AncientA_ has joined #ruby-lang
17:11
AncientAmateur has quit [Ping timeout: 240 seconds]
17:12
mikecmpbll has joined #ruby-lang
17:12
saarinen has joined #ruby-lang
17:14
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
17:16
robmiller has quit [Quit: Leaving.]
17:18
hahuang65 has joined #ruby-lang
17:20
jxpx777 has joined #ruby-lang
17:21
mykoweb has joined #ruby-lang
17:21
sarkyniin has joined #ruby-lang
17:23
loincloth has quit [Remote host closed the connection]
17:26
matled has quit [Remote host closed the connection]
17:26
seanot has joined #ruby-lang
17:30
tbuehlmann has quit [Quit: Leaving]
17:33
tkuchiki has quit [Remote host closed the connection]
17:34
koos303 has joined #ruby-lang
17:34
dik_dak has quit [Quit: Leaving]
17:34
yfeldblum has joined #ruby-lang
17:34
dik_dak has joined #ruby-lang
17:40
kfpratt has quit [Remote host closed the connection]
17:41
kfpratt has joined #ruby-lang
17:41
starbucks has joined #ruby-lang
17:42
Guest71166 has quit [Quit: Saindo]
17:43
the-undefined_ has quit [Quit: Connection closed for inactivity]
17:44
solars has joined #ruby-lang
17:45
yubrew has joined #ruby-lang
17:46
sandbags has joined #ruby-lang
17:46
kfpratt has quit [Ping timeout: 260 seconds]
17:48
mykoweb has quit [Remote host closed the connection]
17:49
rahul_j has joined #ruby-lang
17:49
mykoweb has joined #ruby-lang
17:49
nvmme has joined #ruby-lang
17:50
mykoweb has quit [Remote host closed the connection]
17:50
mikecmpbll has quit [Quit: i've nodded off.]
17:50
mykoweb has joined #ruby-lang
17:50
yubrew has quit [Ping timeout: 260 seconds]
17:52
sandbags0 has joined #ruby-lang
17:53
mikecmpbll has joined #ruby-lang
17:53
malconis has joined #ruby-lang
17:54
mykoweb has quit [Remote host closed the connection]
17:54
sandbags has quit [Ping timeout: 240 seconds]
17:54
mykoweb has joined #ruby-lang
17:55
nvmme has quit [Quit: nvmme]
17:57
lewix has joined #ruby-lang
17:59
mykoweb has quit [Ping timeout: 252 seconds]
18:02
matp has quit [Remote host closed the connection]
18:03
cored has quit [Ping timeout: 260 seconds]
18:04
nvmme has joined #ruby-lang
18:04
mbj has joined #ruby-lang
18:05
loincloth has joined #ruby-lang
18:05
matp has joined #ruby-lang
18:07
starbucks has quit [Quit: Leaving...]
18:12
tanema has joined #ruby-lang
18:12
tanema has quit [Client Quit]
18:14
tbuehlmann has joined #ruby-lang
18:15
banister has joined #ruby-lang
18:15
djbkd has quit [Remote host closed the connection]
18:16
djbkd has joined #ruby-lang
18:20
pglombardo has quit []
18:21
nvmme has quit [Quit: nvmme]
18:21
Coincidental has joined #ruby-lang
18:22
workmad3 has quit [Ping timeout: 240 seconds]
18:23
yatish27 has quit [Remote host closed the connection]
18:28
jaimef has quit [Excess Flood]
18:28
jaimef has joined #ruby-lang
18:29
tbuehlmann has quit [Remote host closed the connection]
18:32
kfpratt has joined #ruby-lang
18:32
jhass|off is now known as jhass
18:33
vpretzel_ has joined #ruby-lang
18:36
vpretzel|1789 has quit [Ping timeout: 240 seconds]
18:39
mbj has quit [Ping timeout: 260 seconds]
18:39
yubrew has joined #ruby-lang
18:40
johnpclaus has joined #ruby-lang
18:40
heftig has joined #ruby-lang
18:42
bfleischer has quit [Ping timeout: 260 seconds]
18:42
wallerdev has quit [Quit: wallerdev]
18:43
wallerdev has joined #ruby-lang
18:43
cored has joined #ruby-lang
18:44
yubrew has quit [Ping timeout: 245 seconds]
18:46
vpretzel_ is now known as vpretzel
18:47
mykoweb has joined #ruby-lang
18:51
yfeldblum has quit [Ping timeout: 260 seconds]
18:52
alex-quiterio has quit [Quit: Leaving.]
18:52
GBrawl has joined #ruby-lang
18:52
fragamus_ has quit [Quit: Computer has gone to sleep.]
18:53
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
18:55
cored has quit [Ping timeout: 240 seconds]
18:58
Squarepy has joined #ruby-lang
18:58
sandbags0 has quit [Ping timeout: 240 seconds]
18:59
benlovell has joined #ruby-lang
19:00
zlogan has joined #ruby-lang
19:01
seanot has quit [Remote host closed the connection]
19:01
cored has joined #ruby-lang
19:01
seanot has joined #ruby-lang
19:02
havenwood has joined #ruby-lang
19:04
koos303 has quit [Ping timeout: 265 seconds]
19:04
zlogan has quit [Ping timeout: 260 seconds]
19:05
seanot has quit [Ping timeout: 240 seconds]
19:06
yfeldblum has joined #ruby-lang
19:07
nvmme has joined #ruby-lang
19:07
nvmme has quit [Remote host closed the connection]
19:08
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
19:11
Fushi has quit [Quit: Connection closed for inactivity]
19:13
djbkd has quit [Remote host closed the connection]
19:15
djbkd has joined #ruby-lang
19:15
mykoweb has quit [Remote host closed the connection]
19:15
mykoweb has joined #ruby-lang
19:18
nvmme has joined #ruby-lang
19:18
seanot has joined #ruby-lang
19:19
djbkd has quit [Ping timeout: 260 seconds]
19:20
mykoweb has quit [Ping timeout: 260 seconds]
19:21
jsullivandigs has quit [Remote host closed the connection]
19:22
sepp2k has joined #ruby-lang
19:23
setmeaway has quit [Quit: Leaving]
19:23
BucOder has joined #ruby-lang
19:24
luiz_lha has joined #ruby-lang
19:25
araujo has joined #ruby-lang
19:25
araujo has joined #ruby-lang
19:32
mykoweb has joined #ruby-lang
19:32
jsullivandigs has joined #ruby-lang
19:34
yubrew has joined #ruby-lang
19:34
wallerdev has quit [Quit: wallerdev]
19:36
robmiller has joined #ruby-lang
19:36
nvmme has quit [Quit: nvmme]
19:38
yubrew has quit [Ping timeout: 240 seconds]
19:39
nvmme has joined #ruby-lang
19:41
luiz_lha has quit [Ping timeout: 255 seconds]
19:42
havenwood has quit [Remote host closed the connection]
19:43
havenwood has joined #ruby-lang
19:43
mykoweb has quit [Remote host closed the connection]
19:43
Atttwww has joined #ruby-lang
19:44
mykoweb has joined #ruby-lang
19:44
djbkd has joined #ruby-lang
19:45
Coincidental has quit [Read error: Connection reset by peer]
19:46
Coincidental has joined #ruby-lang
19:48
mykoweb has quit [Ping timeout: 252 seconds]
19:49
luiz_lha has joined #ruby-lang
19:49
djbkd has quit [Remote host closed the connection]
19:49
djbkd has joined #ruby-lang
19:50
nvmme has quit [Quit: nvmme]
19:51
robmiller has quit [Quit: Leaving.]
19:51
wallerdev has joined #ruby-lang
19:53
nvmme has joined #ruby-lang
19:54
luiz_lha has quit [Remote host closed the connection]
19:54
luiz_lha has joined #ruby-lang
19:54
rahul_j has quit [Quit: rahul_j]
19:56
jaimef has quit [Excess Flood]
19:56
jaimef has joined #ruby-lang
19:56
ddd has quit [Ping timeout: 252 seconds]
19:57
ddd has joined #ruby-lang
20:01
banister has joined #ruby-lang
20:02
yfeldblum has quit [Ping timeout: 240 seconds]
20:02
wallerdev has quit [Quit: wallerdev]
20:02
pglombardo has joined #ruby-lang
20:03
nvmme has quit [Quit: nvmme]
20:04
ayonkhan has joined #ruby-lang
20:06
_ht has quit [Remote host closed the connection]
20:07
mykoweb has joined #ruby-lang
20:08
Miphix has quit [Read error: Connection reset by peer]
20:08
Miphix has joined #ruby-lang
20:11
nvmme has joined #ruby-lang
20:11
mykoweb has quit [Ping timeout: 245 seconds]
20:12
wallerdev has joined #ruby-lang
20:12
robmiller has joined #ruby-lang
20:13
BucOder has joined #ruby-lang
20:16
nvmme has quit [Quit: nvmme]
20:17
yfeldblum has joined #ruby-lang
20:19
saarinen has quit [Quit: saarinen]
20:21
amerine has joined #ruby-lang
20:21
mykoweb has joined #ruby-lang
20:22
RobertBirnie has joined #ruby-lang
20:23
mbj has joined #ruby-lang
20:24
robmiller has quit [Quit: Leaving.]
20:24
nvmme has joined #ruby-lang
20:25
mykoweb has quit [Ping timeout: 252 seconds]
20:28
yubrew has joined #ruby-lang
20:32
yfeldblum has quit [Remote host closed the connection]
20:32
yfeldblum has joined #ruby-lang
20:33
yubrew has quit [Ping timeout: 265 seconds]
20:33
jaimef has quit [Excess Flood]
20:34
jaimef has joined #ruby-lang
20:34
kfpratt has quit [Remote host closed the connection]
20:35
kfpratt has joined #ruby-lang
20:36
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
20:37
elia has joined #ruby-lang
20:37
seanot has quit [Remote host closed the connection]
20:38
seanot has joined #ruby-lang
20:39
mykoweb has joined #ruby-lang
20:39
kfpratt has quit [Ping timeout: 240 seconds]
20:39
mbj has quit [Ping timeout: 240 seconds]
20:42
seanot has quit [Ping timeout: 260 seconds]
20:44
workmad3 has joined #ruby-lang
20:49
GBrawl has joined #ruby-lang
20:49
GBrawl has quit [Client Quit]
20:50
ur5us has joined #ruby-lang
20:50
riffraff has quit [Quit: Leaving]
20:55
matled has joined #ruby-lang
20:56
scampbell has quit [Quit: Leaving]
20:59
bin7me has quit [Remote host closed the connection]
21:00
kfpratt has joined #ruby-lang
21:00
seanot has joined #ruby-lang
21:00
zlogan has joined #ruby-lang
21:01
backpackerhh has joined #ruby-lang
21:01
ldnunes has quit [Quit: Leaving]
21:03
AncientA_ has quit [Remote host closed the connection]
21:03
thisirs has quit [Remote host closed the connection]
21:04
ledestin has joined #ruby-lang
21:05
AncientAmateur has joined #ruby-lang
21:06
zlogan has quit [Ping timeout: 265 seconds]
21:06
ldnunes has joined #ruby-lang
21:08
backpackerhh has quit [Ping timeout: 240 seconds]
21:12
_guns_ has joined #ruby-lang
21:12
havenwood has quit [Remote host closed the connection]
21:12
benlovell has quit [Ping timeout: 265 seconds]
21:14
__butch__ has quit [Quit: Leaving.]
21:15
ldnunes has quit [Quit: Leaving]
21:15
djbkd has quit [Remote host closed the connection]
21:15
havenwood has joined #ruby-lang
21:15
symm- has joined #ruby-lang
21:16
_guns_ has quit [Client Quit]
21:20
Asher has joined #ruby-lang
21:21
djbkd has joined #ruby-lang
21:22
yubrew has joined #ruby-lang
21:23
Squarepy has quit [Quit: Leaving]
21:24
seanot has quit [Remote host closed the connection]
21:25
seanot has joined #ruby-lang
21:26
yubrew has quit [Ping timeout: 240 seconds]
21:27
BucOder has quit [Quit: Computer has gone to sleep.]
21:29
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:30
mister_i_ has joined #ruby-lang
21:30
seanot has quit [Ping timeout: 265 seconds]
21:30
ratmav has joined #ruby-lang
21:32
weems has quit [Read error: Connection reset by peer]
21:33
mister_integer has quit [Ping timeout: 240 seconds]
21:34
mister_i_ has quit [Ping timeout: 260 seconds]
21:36
yxhuvud has quit [Read error: Connection reset by peer]
21:37
yxhuvud has joined #ruby-lang
21:37
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
21:40
ledestin has quit [Quit: ledestin]
21:40
yfeldblu_ has joined #ruby-lang
21:40
solars has quit [Ping timeout: 255 seconds]
21:41
<
yorickpeterse >
though it would have to set the levels instead of just on/off
21:41
<
yorickpeterse >
basically it's 1-5 where anything between 3-5 means "Yorick gets blasted with cold air regardless"
21:41
yfeldblum has quit [Ping timeout: 240 seconds]
21:41
workmad3 has quit [Read error: Connection reset by peer]
21:42
<
yorickpeterse >
(I sit directly below an air exhaust or w/e you'd call them)
21:42
workmad3 has joined #ruby-lang
21:42
<
yorickpeterse >
err underneath
21:42
ratmav has quit [Quit: Leaving]
21:43
wallerdev has quit [Ping timeout: 276 seconds]
21:44
saarinen has joined #ruby-lang
21:45
<
yorickpeterse >
ljarvis: ping
21:46
wallerdev has joined #ruby-lang
21:48
AncientAmateur has quit [Remote host closed the connection]
21:51
jgpawletko has quit [Quit: jgpawletko]
21:52
<
xybre >
This building is either burning up or freezing.
21:52
workmad3 has quit [Ping timeout: 252 seconds]
21:52
<
xybre >
The facility controlls the HVAC, so its jsut whatever they feel like.
21:56
kyb3r_ has joined #ruby-lang
21:58
mykoweb has quit [Remote host closed the connection]
21:59
mykoweb has joined #ruby-lang
21:59
mister_integer has joined #ruby-lang
22:00
koos303 has joined #ruby-lang
22:00
<
yorickpeterse >
heh, flying to brighton is cheaper than train
22:01
<
yorickpeterse >
stupid Eurostar is so expensive
22:01
mister_i_ has joined #ruby-lang
22:01
phansch has joined #ruby-lang
22:02
djbkd has quit [Read error: Connection reset by peer]
22:03
mykoweb has quit [Ping timeout: 245 seconds]
22:03
djbkd has joined #ruby-lang
22:03
mister_integer has quit [Ping timeout: 240 seconds]
22:04
koos303 has quit [Ping timeout: 252 seconds]
22:05
charliesome has joined #ruby-lang
22:05
yfeldblu_ has quit [Remote host closed the connection]
22:07
yfeldblum has joined #ruby-lang
22:10
sarkyniin has quit [Quit: Quitte]
22:10
workmad3 has joined #ruby-lang
22:10
<
xybre >
Didn't they spend like umpteen billions to build the Eurostar?
22:11
mykoweb has joined #ruby-lang
22:13
lewix has quit [Ping timeout: 245 seconds]
22:16
yubrew has joined #ruby-lang
22:17
arBmind has joined #ruby-lang
22:17
shinnya has joined #ruby-lang
22:18
mehlah has joined #ruby-lang
22:20
yubrew has quit [Ping timeout: 252 seconds]
22:21
yfeldblum has quit [Remote host closed the connection]
22:21
loincloth has quit [Remote host closed the connection]
22:25
cored has quit [Ping timeout: 240 seconds]
22:26
nathanstitt has quit [Quit: I growing sleepy]
22:28
arBmind1 has joined #ruby-lang
22:28
cored has joined #ruby-lang
22:29
djbkd has quit [Remote host closed the connection]
22:29
wallerdev has quit [Quit: wallerdev]
22:29
djbkd has joined #ruby-lang
22:30
arBmind has quit [Ping timeout: 276 seconds]
22:30
wallerdev has joined #ruby-lang
22:33
diegoviola has joined #ruby-lang
22:34
cored has quit [Ping timeout: 276 seconds]
22:35
jhass is now known as jhass|off
22:36
phansch has quit [Quit: WeeChat 0.4.3]
22:37
nclaburn has joined #ruby-lang
22:37
yfeldblum has joined #ruby-lang
22:39
digs has joined #ruby-lang
22:39
spastorino has quit [Quit: Connection closed for inactivity]
22:39
dwknoxy has quit [Ping timeout: 252 seconds]
22:39
digs is now known as Guest70407
22:41
RobertBirnie has quit [Ping timeout: 240 seconds]
22:42
jsullivandigs has quit [Ping timeout: 255 seconds]
22:42
RobertBirnie has joined #ruby-lang
22:42
AKASkip has quit [Ping timeout: 240 seconds]
22:45
Guest70407 has quit [Read error: Connection reset by peer]
22:45
jsullivandigs has joined #ruby-lang
22:46
yfeldblum has quit [Ping timeout: 240 seconds]
22:47
alexju has quit [Remote host closed the connection]
22:49
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
22:55
mykoweb has quit [Remote host closed the connection]
22:56
alex-quiterio has joined #ruby-lang
22:57
alex-quiterio has left #ruby-lang [#ruby-lang]
22:57
annon___ has quit [Quit: Page closed]
22:59
mister_i_ has quit [Ping timeout: 240 seconds]
22:59
kfpratt has quit [Remote host closed the connection]
22:59
mister_integer has joined #ruby-lang
22:59
charliesome has joined #ruby-lang
23:00
kfpratt has joined #ruby-lang
23:01
zlogan has joined #ruby-lang
23:02
arBmind has joined #ruby-lang
23:04
shinnya has quit [Ping timeout: 252 seconds]
23:04
arBmind1 has quit [Ping timeout: 240 seconds]
23:04
kfpratt has quit [Ping timeout: 252 seconds]
23:06
zlogan has quit [Ping timeout: 255 seconds]
23:07
pglombardo has quit []
23:10
shinnya has joined #ruby-lang
23:10
yubrew has joined #ruby-lang
23:11
elia has quit [Quit: Computer has gone to sleep.]
23:12
dik_dak has quit [Remote host closed the connection]
23:15
yubrew has quit [Ping timeout: 255 seconds]
23:17
nclaburn has quit [Quit: Leaving]
23:17
diegoviola has quit [Ping timeout: 260 seconds]
23:21
arBmind has quit [Ping timeout: 252 seconds]
23:22
dik_dak has joined #ruby-lang
23:23
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
23:28
nvmme has quit [Quit: nvmme]
23:30
miqui has quit [Remote host closed the connection]
23:31
yalue has quit [Quit: Leaving]
23:32
yfeldblum has joined #ruby-lang
23:32
yfeldblum has quit [Remote host closed the connection]
23:33
yfeldblum has joined #ruby-lang
23:34
charliesome has joined #ruby-lang
23:37
eval-in has quit [Remote host closed the connection]
23:37
eval-in has joined #ruby-lang
23:38
charliesome has quit [Client Quit]
23:40
starbucks has joined #ruby-lang
23:40
enebo has quit [Quit: enebo]
23:44
Coincidental has quit [Remote host closed the connection]
23:48
Coincidental has joined #ruby-lang
23:52
mikecmpbll has quit [Quit: i've nodded off.]
23:52
weems has joined #ruby-lang
23:54
kavinder has quit [Remote host closed the connection]
23:54
Coincidental has quit [Remote host closed the connection]
23:55
starbucks has quit [Quit: Leaving...]
23:55
workmad3 has quit [Ping timeout: 276 seconds]
23:56
danijoo has quit [Read error: Connection reset by peer]
23:56
lewix has joined #ruby-lang
23:57
sepp2k1 has joined #ruby-lang
23:57
danijoo has joined #ruby-lang
23:58
sepp2k has quit [Ping timeout: 276 seconds]