CustosLimen

Activity Graph

Page 1 of 3 | Next »

2019-04-09

[19:52:19] CustosLimen: has left #ruby: ()

2018-12-18

[02:18:32] CustosLimen: Quit: Leaving
[10:04:09] CustosLimen: has joined #ruby

2018-11-21

[03:55:13] CustosLimen: Remote host closed the connection
[03:56:05] CustosLimen: has joined #ruby
[04:22:02] CustosLimen: Quit: Leaving
[04:25:02] CustosLimen: has joined #ruby

2018-10-03

[08:07:35] CustosLimen: Quit: Leaving
[08:22:14] CustosLimen: has joined #ruby
[09:20:05] CustosLimen: Quit: Leaving
[09:33:55] CustosLimen: has joined #ruby

2018-09-11

[12:12:24] CustosLimen: has joined #ruby
[12:12:40] CustosLimen: I used to take all of these dirs and put them in path "${HOME}/.gem/ruby/*/bin"
[12:12:59] CustosLimen: but it seems gem does not install them there anymore
[12:13:03] CustosLimen: or maybe my gemrc is wrong

2018-01-13

[22:42:13] CustosLimen: has left #ruby: ("Leaving")
[22:42:15] CustosLimen: has left #RubyOnRails: ("Leaving")

2018-01-04

[01:13:27] CustosLimen: Ping timeout: 240 seconds
[01:15:16] CustosLimen: has joined #ruby
[01:15:16] CustosLimen: has joined #RubyOnRails

2017-12-13

[20:43:37] CustosLimen: *.net *.split
[20:44:00] CustosLimen: has joined #RubyOnRails
[20:44:01] CustosLimen: has joined #ruby

2017-12-07

[14:48:10] CustosLimen: *.net *.split
[14:54:16] CustosLimen: has joined #ruby

2017-12-06

[04:12:26] CustosLimen: Ping timeout: 240 seconds
[04:15:34] CustosLimen: has joined #RubyOnRails
[04:15:35] CustosLimen: has joined #ruby

2017-12-01

[02:28:38] CustosLimen: has joined #ruby

2017-11-30

[10:09:58] CustosLimen: *.net *.split
[10:12:13] CustosLimen: has joined #ruby
[10:12:13] CustosLimen: has joined #RubyOnRails

2017-11-28

[05:04:56] CustosLimen: Ping timeout: 252 seconds
[05:05:31] CustosLimen: has joined #ruby
[05:05:31] CustosLimen: has joined #RubyOnRails

2017-11-09

[02:51:46] CustosLimen: Ping timeout: 248 seconds
[02:58:38] CustosLimen: has joined #ruby
[02:58:38] CustosLimen: has joined #RubyOnRails
[07:10:34] CustosLimen: Ping timeout: 264 seconds
[09:40:28] CustosLimen: has joined #ruby
[09:41:35] CustosLimen: has joined #RubyOnRails

2017-10-06

[02:06:14] CustosLimen: Ping timeout: 255 seconds
[02:11:57] CustosLimen: has joined #ruby
[02:11:57] CustosLimen: has joined #RubyOnRails

2017-09-04

[06:17:01] CustosLimen: Ping timeout: 240 seconds
[07:59:36] CustosLimen: has joined #ruby
[08:00:43] CustosLimen: has joined #RubyOnRails

2017-08-08

[10:19:07] CustosLimen: Ping timeout: 268 seconds
[10:19:23] CustosLimen: has joined #ruby
[10:19:23] CustosLimen: has joined #RubyOnRails

2017-07-03

[01:55:27] CustosLimen: Ping timeout: 255 seconds
[02:05:28] CustosLimen: has joined #ruby
[02:05:28] CustosLimen: has joined #RubyOnRails

2017-06-30

[11:51:45] CustosLimen: "a,b,c,,,".split(",") -> ["a", "b", "c"]
[11:51:53] CustosLimen: how can I keep empty's ?
[11:58:29] CustosLimen: leah2, thanks a bunch

2017-06-27

[05:17:39] CustosLimen: has joined #ruby
[05:17:39] CustosLimen: has joined #RubyOnRails

2017-06-20

[00:17:28] CustosLimen: *.net *.split
[00:22:40] CustosLimen: has joined #RubyOnRails
[00:23:08] CustosLimen: has joined #ruby

2017-06-07

[21:29:26] CustosLimen: Ping timeout: 240 seconds
[21:29:58] CustosLimen: has joined #ruby
[21:29:58] CustosLimen: has joined #RubyOnRails

2017-05-01

[16:41:11] CustosLimen: *.net *.split
[16:42:47] CustosLimen: has joined #ruby
[16:42:47] CustosLimen: has joined #RubyOnRails

2017-04-06

2016-06-25

[13:51:15] CustosLimen: Ping timeout: 258 seconds
[13:51:45] CustosLimen: has joined #ruby
[13:51:45] CustosLimen: has joined #RubyOnRails

2016-06-23

[00:54:25] CustosLimen: Ping timeout: 260 seconds
[01:02:31] CustosLimen: has joined #ruby
[01:02:31] CustosLimen: has joined #RubyOnRails

2016-06-20

[13:12:04] CustosLimen: I'm not sure how to get rb_backtrace in gdb
[13:14:22] CustosLimen: oh wait nvm got it
[16:38:49] CustosLimen: so I want something that I can use to handle graceful shutdown - I made ShutdownHandler with wait method - so then I do shutdown_handler = ShutdownHandler.new - which traps signals with queue push... - and then I have wait method on ShutdownHandler that does queue.pop
[16:39:14] CustosLimen: http://termbin.com/1jva
[16:39:21] CustosLimen: the thing is though - this is not working really
[16:39:45] CustosLimen: https://bpaste.net/raw/530857ffc3c6
[16:39:54] CustosLimen: the @queue.pop never returns
[16:40:07] CustosLimen: even though stuff is being added to queue
[16:40:18] CustosLimen: I think this is maybe consequence of this all happening in one threads though
[16:43:23] CustosLimen: let me just send it to another thread
[16:43:39] CustosLimen: Veejay, it will be as queue will be empty first time its called
[16:44:23] CustosLimen: Veejay, yes - but the queue gets filled every time I send ctrl+c
[16:45:00] CustosLimen: Veejay, and in output (shared in bpaste) you can see queue getting bigger - but still pop does not return
[16:45:13] CustosLimen: anyway - I'm pretty sure it wont work if its all in one thread
[16:45:24] CustosLimen: I think this is what this proposal is about: https://bugs.ruby-lang.org/issues/8823
[16:45:35] CustosLimen: so I have to redirect the queue to another thread
[16:45:41] CustosLimen: and then redirect the event back to main thread

2016-06-15

[13:25:17] CustosLimen: for parsing command line options - is OptionParser latest and greatest ruby builtin ?
[13:25:28] CustosLimen: I ask cos python has two
[13:31:09] CustosLimen: is there some ruby conventions for indentation and function/class/variable names ?
[13:33:19] CustosLimen: is this widely accepted: https://github.com/bbatsov/ruby-style-guide ?
[13:34:41] CustosLimen: I see nothing in there about column/line length limit - is it just me missing it or is there nothing about it ?

2016-06-03

[14:04:17] CustosLimen: so I have this: https://github.com/asciidoctor/docbookrx
[14:04:27] CustosLimen: I don't get how I run the stuff in specs though

2016-05-18

[08:45:45] CustosLimen: Ping timeout: 250 seconds
[08:46:43] CustosLimen: has joined #RubyOnRails
[08:46:44] CustosLimen: has joined #ruby

2016-05-10

[17:16:17] CustosLimen: I want to use a tuple like thing in a Range()
[17:16:20] CustosLimen: and I'm not sure how
[17:17:33] CustosLimen: arrays cannot be compared with '<=>'
[17:26:44] CustosLimen: yeah ok, I'm doing something else wrong
[17:26:55] CustosLimen: trying to figure out what
[17:29:59] CustosLimen: is there like some concept in ruby for a stirng smalle than any other string
[17:30:07] CustosLimen: that will always compare less than any string ?
[17:31:50] CustosLimen: thanks apeiros
[17:40:46] CustosLimen: >> Range.new( [ nil, nil ], [ "", "" ] )
[17:41:19] CustosLimen: >> Range.new( [ "a", "a" ], [ "b", "b" ] )
[17:45:33] CustosLimen: ok, so lets say I load json with JSON.parse - is there easy way I can traverse the whole structure/tree (recursively) and replace all occurences of '{ "$minKey" : 1 }' with Sorting::Smaller ?

2016-05-06

[16:45:20] CustosLimen: why does is this false: (""..."923000161236").include?( "923000161232" )
[16:46:41] CustosLimen: why is this so slow: ("0"..."923000161236") === ( "923000161232" )
[16:46:55] CustosLimen: I would expect it to just do two string comparisons
[16:47:48] CustosLimen: ok cover is quicker
[16:48:03] CustosLimen: ("0"..."923000161236").cover?( "923000161232" )
[16:48:06] CustosLimen: >> ("0"..."923000161236").cover?( "923000161232" )
[16:48:28] CustosLimen: thanks apeiros
[16:50:15] CustosLimen: apeiros, yes i did - but honestly to me element of range if range is delimited as strings seems like >= min and <= max (regarding include? docs)
[16:50:24] CustosLimen: apeiros, which is why I was surprised
[16:52:49] CustosLimen: apeiros, yeah, that part was not really evident to me from the documentation of it
[16:56:46] CustosLimen: anyway, thanks, I'm giddy that what I wanted to do worked with so little code ;)
[16:57:03] CustosLimen: was getting fed up with awk's lack of json and date processing
[17:14:51] CustosLimen: shevy, indeed

2016-04-05

[13:22:12] CustosLimen: *.net *.split
[13:24:09] CustosLimen: has joined #ruby
[13:24:11] CustosLimen: has joined #RubyOnRails

2016-03-30

[07:38:19] CustosLimen: Ping timeout: 260 seconds
[07:40:32] CustosLimen: has joined #ruby
[07:42:02] CustosLimen: has joined #RubyOnRails

2016-03-09

[11:03:28] CustosLimen: Quit: CustosLimen
[11:08:10] CustosLimen: has joined #ruby
[11:09:41] CustosLimen: has joined #RubyOnRails

2016-03-08

[14:16:43] CustosLimen: has joined #ruby
[14:16:43] CustosLimen: has joined #RubyOnRails

2016-02-28

[12:54:34] CustosLimen: Ping timeout: 264 seconds
[13:07:48] CustosLimen: has joined #ruby
[13:07:49] CustosLimen: has joined #RubyOnRails
[21:09:44] CustosLimen: Ping timeout: 248 seconds

2016-02-26

[11:31:03] CustosLimen: has joined #RubyOnRails

2016-02-22

[23:48:57] CustosLimen: has left #RubyOnRails: ("Leaving")

2016-02-15

[16:38:32] CustosLimen: where can I find some info on ypath
[16:39:24] CustosLimen: actually, it seems like ypath is gone in later versions
[16:41:06] CustosLimen: ok nvm, will just use: | ruby -ryaml -e 'data = YAML::load(STDIN.read); puts data["net"]["port"]'

2016-02-02

[14:08:30] CustosLimen: so I want to change some things here: https://github.com/gjtorikian/mathematical
[14:08:38] CustosLimen: so I git cloned it - and did bundle install
[14:09:30] CustosLimen: and when I run rake it fails
[14:09:34] CustosLimen: not sure what to do
[14:10:32] CustosLimen: Burgestrand, https://bpaste.net/show/0ef5516897e1
[14:10:40] CustosLimen: shevy, I actually want to make the native code work
[14:10:42] CustosLimen: cos it does not
[14:12:23] CustosLimen: Burgestrand, it seems better: https://bpaste.net/show/e74e3216b240
[14:12:33] CustosLimen: but this is not really what happens when I do gem install
[14:14:51] CustosLimen: wait, when I do gem install mathematical I get this: https://bpaste.net/show/baa6f2ec5ded
[14:16:27] CustosLimen: Thanks for pointing that out to me Burgestrand - but I'm expecting to be able to somehow do local install of gem
[14:16:51] CustosLimen: like with pip I do pip3 install --user --editable .
[14:17:18] CustosLimen: shevy, I know, and I want to fix it - but I want the same as `gem install mathematical` just from git
[14:17:31] CustosLimen: or from local checked out git rather
[14:17:36] CustosLimen: I'm a noob at ruby
[14:27:40] CustosLimen: Burgestrand, can I point gem utility to local path like in `pip install --user .`
[14:30:23] CustosLimen: Burgestrand, ok cool, thanks `pip install --user .` will just install the python package in current directory (e.g. from cloned git)
[14:30:38] CustosLimen: Burgestrand, ok cool, I get it now
[14:34:04] CustosLimen: ugh ok, let me just drop this think, its insanely weird - not sure its worth using

2016-01-31

[12:25:11] CustosLimen: *.net *.split
[12:29:45] CustosLimen: has joined #ruby
[12:29:45] CustosLimen: has joined #RubyOnRails

2016-01-17

[22:49:21] CustosLimen: Ping timeout: 250 seconds
[22:51:28] CustosLimen: has joined #ruby
[22:51:28] CustosLimen: has joined #RubyOnRails

2015-12-02

[15:35:15] CustosLimen: *.net *.split
[15:41:31] CustosLimen: has joined #ruby
[15:41:45] CustosLimen: has joined #RubyOnRails
[15:52:29] CustosLimen: *.net *.split
[16:47:47] CustosLimen: has joined #ruby
[16:48:05] CustosLimen: has joined #RubyOnRails

2015-12-01

[23:30:50] CustosLimen: Quit: CustosLimen
[23:33:50] CustosLimen: has joined #RubyOnRails
[23:33:59] CustosLimen: has joined #ruby

2015-11-22

[03:53:21] CustosLimen: Ping timeout: 250 seconds
[03:58:15] CustosLimen: has joined #RubyOnRails
[03:58:15] CustosLimen: has joined #ruby

2015-11-19

[22:43:15] CustosLimen: I dont get how to use Rack::Logger
[22:43:21] CustosLimen: http://www.rubydoc.info/github/rack/rack/Rack/Logger
[22:45:26] CustosLimen: adeponte, I just want to log some stuff
[22:45:33] CustosLimen: adeponte, from inside sinatra app
[22:45:48] CustosLimen: adeponte, so I want to in config.ru do something that logs to a file
[22:47:51] CustosLimen: adaedra, I dont know what to try: http://www.rubydoc.info/github/rack/rack/Rack/Logger - I'm looking at that and I can initialize it to get a new object and then it has method call - and I'm not sure what either of those really help - I'm expecting something like #info( level, msg )

2015-11-18

[00:04:17] CustosLimen: http://termbin.com/0vgf
[00:04:32] CustosLimen: How do I call the function inside module Something ?

2015-11-17

[23:36:53] CustosLimen: sorry noob question here: what does the => do ? (e.g. use Rack::Session::Cookie, :secret => ENV['RACK_COOKIE_SECRET'])
[23:37:29] CustosLimen: adaedra, jhass thanks
[23:48:23] CustosLimen: so I define a function def position() ... end - and I want to call this from inside a module - I tried ::position() - but this does not work well
[23:52:23] CustosLimen: let me make example

2015-11-16

[15:47:52] CustosLimen: so I have ruby running with passenger
[15:48:06] CustosLimen: sorry I mean gollum running with passenger
[15:48:11] CustosLimen: I want to add oauth2 in front of it
[15:49:54] CustosLimen: jhass, I want only people who has oauth credentials with slack to be able to access gollum
[15:50:35] CustosLimen: jhass, well with oauth2 from slack
[15:50:51] CustosLimen: jhass, https://api.slack.com/docs/oauth
[15:51:25] CustosLimen: jhass, ok let me try that
[15:52:18] CustosLimen: jhass, thanks

2015-11-14

[07:05:01] CustosLimen: has joined #RubyOnRails
[07:05:01] CustosLimen: has joined #ruby

2015-11-07

[21:27:39] CustosLimen: Ping timeout: 264 seconds

2015-10-22

[15:04:18] CustosLimen: has joined #ruby
[15:04:19] CustosLimen: has joined #RubyOnRails

2015-10-14

[16:50:08] CustosLimen: *.net *.split

2015-10-06

[12:53:13] CustosLimen: I'm having problems with passenger and gollum
[12:53:45] CustosLimen: yes - unfortunately ;(
[12:54:04] CustosLimen: if I just run `bundle exec gollum --port 4141` I get gollum working fine
[12:54:59] CustosLimen: if I run via passenger standalone I keep getting 404/403(due to no dir index allowed)
[12:55:46] CustosLimen: config.ru and passengerfile and everything else is here: https://gitlab.com/aucampia/gollum-wiki/tree/master
[12:57:25] CustosLimen: I'm having problems with passenger and gollum - if I just run `bundle exec gollum --port 4141` I get gollum working fine, but if I run via passenger it does not work at all - config.ru and passengerfile and everything else is here: https://gitlab.com/aucampia/gollum-wiki/tree/master

2015-09-17

[08:43:38] CustosLimen: has joined #ruby
[12:44:54] CustosLimen: jhass, cos it was not funny ? and eskimo is a derogatory term ?
[12:45:49] CustosLimen: got it right !
[13:30:40] CustosLimen: Ping timeout: 240 seconds
[14:56:21] CustosLimen: has joined #ruby
[17:19:42] CustosLimen: Ping timeout: 256 seconds

2015-09-13

[16:17:13] CustosLimen: Read error: Connection timed out
[16:19:06] CustosLimen: has joined #ruby
[16:29:45] CustosLimen: Max SendQ exceeded

2015-09-11

[13:16:13] CustosLimen: Ping timeout: 244 seconds
[13:28:59] CustosLimen: has joined #ruby

2015-09-10

[08:25:24] CustosLimen: has joined #ruby
[09:11:59] CustosLimen: Ping timeout: 250 seconds
[19:04:49] CustosLimen: has joined #ruby
[19:27:29] CustosLimen: Ping timeout: 246 seconds
[19:39:14] CustosLimen: has joined #ruby