brool

Activity Graph

Page 1 of 2 | Next »

2019-08-21

[02:40:05] brool: has joined #ruby
[02:58:12] brool: Quit: WeeChat 2.5
[02:59:03] brool: has joined #ruby
[04:04:49] brool: Ping timeout: 250 seconds

2019-08-20

[02:28:24] brool: Ping timeout: 252 seconds
[14:27:29] brool: has joined #ruby
[22:51:05] brool: Ping timeout: 250 seconds
[22:55:13] brool: has joined #ruby
[23:01:55] brool: Ping timeout: 250 seconds

2019-08-19

[13:20:53] brool: has joined #ruby

2019-08-18

[01:40:15] brool: has joined #ruby
[02:45:40] brool: Ping timeout: 264 seconds
[22:20:16] brool: has joined #ruby
[23:09:40] brool: Ping timeout: 264 seconds

2019-08-16

[00:28:57] brool: has joined #ruby
[02:24:24] brool: Ping timeout: 252 seconds

2019-08-15

[02:19:44] brool: Ping timeout: 252 seconds

2019-08-14

[04:09:04] brool: Ping timeout: 264 seconds
[13:47:26] brool: has joined #ruby
[22:12:02] brool: it looks like a regular javascript fetch() is not XHR according to Rack::Request#xhr? -- i guess i could remediate this by fetching a POST request with a key, but is there some other way i could make sure that requests from fetch API are detected as ajax requests?

2019-08-13

[03:08:42] brool: Ping timeout: 252 seconds
[13:27:27] brool: has joined #ruby

2019-08-12

[00:49:53] brool: has joined #ruby
[03:16:31] brool: Ping timeout: 276 seconds
[16:51:17] brool: has joined #ruby

2019-08-10

[00:17:06] brool: has joined #ruby
[03:34:25] brool: Ping timeout: 250 seconds

2019-08-09

[00:15:31] brool: has joined #ruby
[03:18:04] brool: Ping timeout: 264 seconds

2019-08-08

[02:55:55] brool: Ping timeout: 250 seconds

2019-08-07

[04:03:55] brool: Ping timeout: 276 seconds
[13:59:42] brool: has joined #ruby
[17:15:24] brool: Quit: WeeChat 2.5
[18:12:25] brool: has joined #ruby
[19:05:48] brool: i'm making a chatroom with sinatra and ajax, how do i keep a server-side list of active nicks? should i just have the app read/write to a file on every login/logout?
[19:05:57] brool: i just want something quick & dirty
[19:24:44] brool: thanks i'll look into all this
[19:25:06] brool: i actually think a cache is a better idea, a file is kind of a clumsy way for this
[19:25:36] brool: cus i'm not going to save users, just want a way to prevent duplicate nicks
[19:25:59] brool: kind of like irc but with no nickserv or anything, just hop on pick a nick and go

2019-08-06

[02:25:02] brool: Ping timeout: 252 seconds
[13:59:16] brool: has joined #ruby
[21:58:51] brool: Disconnected by services
[22:44:12] brool: has joined #ruby

2019-08-05

[03:42:40] brool: has joined #ruby
[04:40:04] brool: Ping timeout: 252 seconds
[16:06:42] brool: has joined #ruby

2019-08-03

[00:31:48] brool: has joined #ruby
[04:09:04] brool: Ping timeout: 264 seconds

2019-08-02

[01:27:27] brool: has joined #ruby
[01:59:38] brool: using sinatra, how do i send a message from one route to another? e.g. my "post /thing" route sets a var @msg, and my view in "get /" should <%= @msg %> but since "get /" is another route @msg isn't saved from "post /thing" to "get /"
[02:00:12] brool: and "post /thing" sets @msg then immediatley reroutes to /
[02:00:18] brool: which i hoped would allow me to save a @msg
[02:15:45] brool: oh that makes sense
[02:16:10] brool: here's stupid me trying to treat a web app like a procedural program
[03:49:51] brool: Ping timeout: 250 seconds

2019-08-01

[02:50:57] brool: Ping timeout: 250 seconds

2019-07-31

[17:58:23] brool: has joined #ruby

2019-07-30

[17:18:33] brool: has joined #ruby
[21:31:33] brool: Quit: WeeChat 2.5

2019-07-21

[02:16:00] brool: has joined #ruby
[02:28:29] brool: Read error: No route to host

2019-07-20

[01:01:20] brool: has joined #ruby
[02:16:47] brool: where on my disk does gem save stuff when i install a gem?
[03:43:52] brool: Ping timeout: 264 seconds

2019-07-19

[04:22:58] brool: Ping timeout: 276 seconds

2019-07-18

[04:09:25] brool: Ping timeout: 250 seconds
[22:19:22] brool: has joined #ruby

2019-07-17

[04:47:50] brool: Ping timeout: 252 seconds
[20:42:06] brool: has joined #ruby
[20:47:34] brool: i'm making a new sinatra project and i wanted to use sinatra/reloader, but launching my app via rackup says "'require': cannot load such file -- sinatra/reloader"
[20:48:14] brool: i checked my gems and i'm using sinatra 2.0.5, the rubydocs page for it shows Sinatra::Reloader right there so idk why i wouldn't have it
[21:05:23] brool: is that a separate gem?
[21:06:08] brool: i did not have it, that was is

2019-07-16

[22:43:50] brool: has joined #ruby
[23:05:32] brool: in a sinatra modular app, can i access the app object's fields from a template?
[23:05:42] brool: or do i have to pass them into :locals somehow
[23:20:23] brool: ok i was putting my instance variable assignment in the wrong scope
[23:20:32] brool: i had it outside of any method

2019-07-10

[05:06:30] brool: Ping timeout: 252 seconds

2019-07-09

[05:42:40] brool: Ping timeout: 264 seconds
[14:58:19] brool: has joined #RubyOnRails
[14:58:19] brool: has joined #ruby

2019-07-08

[00:05:56] brool: has joined #ruby
[00:05:57] brool: has joined #RubyOnRails
[05:10:20] brool: Ping timeout: 252 seconds
[17:27:43] brool: has joined #RubyOnRails
[17:27:43] brool: has joined #ruby

2019-07-07

[01:04:50] brool: has joined #ruby
[01:04:53] brool: has joined #RubyOnRails
[05:04:34] brool: Ping timeout: 252 seconds

2019-07-06

[00:57:17] brool: has joined #ruby
[00:57:18] brool: has joined #RubyOnRails
[02:51:34] brool: Ping timeout: 252 seconds

2019-07-05

[00:39:18] brool: Ping timeout: 252 seconds
[14:40:56] brool: has joined #RubyOnRails
[14:40:56] brool: has joined #ruby
[15:51:14] brool: Ping timeout: 252 seconds

2019-07-04

[04:21:38] brool: Ping timeout: 252 seconds
[23:34:53] brool: has joined #ruby
[23:34:55] brool: has joined #RubyOnRails

2019-07-03

[05:41:47] brool: Ping timeout: 250 seconds
[14:21:42] brool: has joined #RubyOnRails
[14:21:42] brool: has joined #ruby
[21:43:53] brool: i have a modular sinatra app i'm executing via rackup, so '/ttt' will run an instance of my sinatra app, in order that that app can treat '/ttt' as if it were root '/'. my problem is that, on the view i'm serving for "get '/'" in that app (which client-side looks like 'localhost/ttt') i am running javascript and calling fetch('/mlem'), which *would* work if the URI i ask to fetch() was requesting
[21:43:55] brool: "localhost/ttt/mlem" but it *actually* requests "localhost/mlem"
[21:45:50] brool: i've been reading about how fetch() works and people are saying it is supposed to treat URIs as relative paths, except in my case it's not and i assume that's because it's being served by sinatra which is responding to "get '/'" even though rackup is running that app in response to a request for "/ttt"

2019-07-02

[04:38:18] brool: Ping timeout: 252 seconds
[14:37:04] brool: has joined #ruby
[14:37:05] brool: has joined #RubyOnRails

2019-07-01

[03:35:00] brool: Ping timeout: 252 seconds
[15:22:01] brool: has joined #ruby
[15:22:02] brool: has joined #RubyOnRails

2019-06-29

[01:31:35] brool: has joined #RubyOnRails
[01:31:35] brool: has joined #ruby
[03:29:42] brool: Ping timeout: 252 seconds
[22:05:57] brool: has joined #ruby
[22:05:59] brool: has joined #RubyOnRails

2019-06-28

[02:02:43] brool: why is sinatra's docs trash
[02:06:20] brool: not really, i'm just lamenting that i wasn't able to find a good cohesive rundown of the API and have to read through sections of the manual like the README or the config settings page and hope it has what i'm looking for
[02:08:46] brool: interesting, will google
[03:40:46] brool: Ping timeout: 252 seconds

2019-06-27

[03:59:37] brool: Ping timeout: 258 seconds
[23:21:18] brool: has joined #RubyOnRails
[23:21:18] brool: has joined #ruby

2019-06-26

[19:12:26] brool: has joined #ruby
[19:12:31] brool: has joined #RubyOnRails

2019-06-19

[17:36:42] brool: has joined #ruby
[17:36:48] brool: has joined #RubyOnRails
[21:50:35] brool: Quit: WeeChat 2.4

2019-06-14

[00:50:30] brool: has joined #ruby
[00:50:38] brool: has joined #RubyOnRails
[03:48:01] brool: Ping timeout: 250 seconds
[23:17:14] brool: has joined #ruby
[23:17:24] brool: has joined #RubyOnRails
[23:30:16] brool: Read error: Connection reset by peer

2019-06-13

[00:11:07] brool: has joined #ruby
[00:11:15] brool: has joined #RubyOnRails
[03:10:19] brool: Ping timeout: 248 seconds

2019-06-12

[03:01:18] brool: Ping timeout: 252 seconds
[14:27:21] brool: has joined #ruby
[14:27:31] brool: has joined #RubyOnRails
[18:09:07] brool: Ping timeout: 250 seconds

2019-06-11

[04:06:39] brool: Ping timeout: 258 seconds
[14:01:45] brool: has joined #ruby

2019-06-10

[16:35:50] brool: has joined #ruby

2019-06-08

[03:39:17] brool: Ping timeout: 252 seconds

2019-06-07

[02:36:43] brool: Ping timeout: 248 seconds
[23:21:41] brool: has joined #ruby

2019-06-06

[04:00:45] brool: Ping timeout: 252 seconds
[23:22:19] brool: has joined #ruby

2019-06-05

[01:39:17] brool: you just want to encrypt a file?
[01:39:43] brool: why not just use openssl on the command line
[01:41:30] brool: go for it
[04:11:29] brool: Ping timeout: 252 seconds
[15:25:19] brool: has joined #ruby
[18:44:42] brool: Ping timeout: 252 seconds
[20:01:32] brool: has joined #ruby

2019-06-04

[00:22:31] brool: has joined #ruby
[03:11:16] brool: Ping timeout: 252 seconds
[16:50:59] brool: has joined #ruby

2019-05-31

[01:40:31] brool: i'd call blocks anonymous functions
[01:42:19] brool: eiam: i tried dropping the java line in #haskell just now but they must be on to me, nobody took the bait
[01:46:37] brool: well it was fun while it lasted
[03:10:12] brool: Ping timeout: 257 seconds
[23:47:05] brool: has joined #ruby
[23:47:07] brool: has joined #RubyOnRails
[23:58:53] brool: Read error: Connection reset by peer

2019-05-30

[00:56:57] brool: has joined #ruby
[00:56:59] brool: has joined #RubyOnRails
[03:09:15] brool: Ping timeout: 248 seconds
[23:14:51] brool: has joined #ruby
[23:14:53] brool: has joined #RubyOnRails

2019-05-29

[00:57:49] brool: Ping timeout: 250 seconds
[15:29:05] brool: has joined #ruby
[15:29:06] brool: has joined #RubyOnRails
[16:30:37] brool: Ping timeout: 258 seconds
[17:25:38] brool: has joined #ruby
[17:25:40] brool: has joined #RubyOnRails
[19:34:54] brool: Ping timeout: 252 seconds
[21:59:43] brool: has joined #ruby
[21:59:45] brool: has joined #RubyOnRails
[23:49:55] brool: Ping timeout: 258 seconds

2019-05-28

[19:53:08] brool: has joined #ruby
[19:53:10] brool: has joined #RubyOnRails
[23:34:51] brool: Ping timeout: 248 seconds
[23:36:29] brool: has joined #ruby
[23:36:31] brool: has joined #RubyOnRails

2019-05-27

[18:49:34] brool: has joined #RubyOnRails
[18:49:34] brool: has joined #ruby
[18:54:17] brool: Ping timeout: 250 seconds
[19:47:16] brool: has joined #ruby
[19:47:21] brool: has joined #RubyOnRails
[21:40:22] brool: Ping timeout: 258 seconds

2019-05-23

[00:01:17] brool: Ping timeout: 258 seconds
[00:46:20] brool: has joined #ruby
[00:46:21] brool: has joined #RubyOnRails
[02:05:44] brool: Ping timeout: 252 seconds

2019-05-22

[02:34:28] brool: Ping timeout: 252 seconds
[14:09:19] brool: has joined #RubyOnRails
[14:09:19] brool: has joined #ruby
[16:28:57] brool: Ping timeout: 257 seconds
[16:51:41] brool: has joined #RubyOnRails
[16:51:41] brool: has joined #ruby
[17:13:00] brool: Ping timeout: 252 seconds
[19:41:35] brool: has joined #RubyOnRails
[19:41:35] brool: has joined #ruby
[23:34:39] brool: i hate the js craze
[23:34:52] brool: we need more c++ and websites should be written in WASM
[23:35:03] brool: ACTION runs
[23:35:41] brool: one thing that's evidently very bad about the js craze is how people are writing native desktop applications with it using electron
[23:35:49] brool: discord makes my fans spin just by being idle
[23:36:02] brool: firefox with 20 tabs and multiple windows doesn't do that
[23:36:19] brool: coffeescript best javascript
[23:37:30] brool: it's like ruby and python had a javascript baby
[23:38:01] brool: ACTION runs back to gcc
[23:38:09] brool: ACTION clings to machine code
[23:38:53] brool: AND you have people trying to use and learn OOP design patterns in a language that doesn't even really do OOP
[23:39:29] brool: javascript does OLOO :^)
[23:40:04] brool: heh yeah python is pretty ugly
[23:40:20] brool: it's like the nerdy kid at school who went on to be a scientist but nobody will ever date him
[23:41:15] brool: " ".join(reverse(string.split())) [iirc]
[23:41:48] brool: why no string.split("").reverse.join(" ")
[23:41:54] brool: cus that's pretty
[23:42:05] brool: you see what's going on in the order it makes sense to think about it
[23:46:50] brool: you write ruby

2019-05-21

[03:57:49] brool: Ping timeout: 258 seconds
[14:26:02] brool: has joined #RubyOnRails
[14:26:02] brool: has joined #ruby
[15:42:15] brool: &> puts 'how do i use bot'
[15:43:36] brool: oh so it's not a ruby-in-IRC bot it's a doc lookup
[20:19:32] brool: Ping timeout: 258 seconds
[21:07:45] brool: has joined #RubyOnRails
[21:07:45] brool: has joined #ruby
[23:03:13] brool: Ping timeout: 258 seconds
[23:57:14] brool: has joined #RubyOnRails
[23:57:14] brool: has joined #ruby

2019-05-20

[15:58:45] brool: has joined #RubyOnRails
[17:38:29] brool: crystal meth?
[17:38:49] brool: [googling intensifies]
[17:39:04] brool: aah, furry porn
[19:23:23] brool: Ping timeout: 258 seconds
[21:46:16] brool: has joined #RubyOnRails
[21:46:16] brool: has joined #ruby