ElderFain

Activity Graph

Page 1 of 2 | Next »

2017-12-11

[03:07:16] ElderFain: Quit: ZNC 1.6.4 - http://znc.in

2017-12-09

[05:06:16] ElderFain: *.net *.split
[05:14:36] ElderFain: has joined #ruby

2017-12-07

[14:48:32] ElderFain: *.net *.split
[14:55:11] ElderFain: has joined #ruby

2017-08-14

[23:51:36] ElderFain: *.net *.split
[23:56:44] ElderFain: has joined #ruby

2017-06-20

[00:17:35] ElderFain: *.net *.split

2017-04-13

[01:24:01] ElderFain: Ping timeout: 260 seconds
[01:27:59] ElderFain: has joined #ruby
[19:29:08] ElderFain: has joined #ruby
[19:29:08] ElderFain: Changing host

2017-04-12

[23:44:51] ElderFain: Ping timeout: 260 seconds
[23:45:33] ElderFain: has joined #ruby

2017-04-03

[16:58:56] ElderFain: Changing host
[16:58:57] ElderFain: has joined #ruby

2017-04-02

[04:24:43] ElderFain: Ping timeout: 268 seconds
[04:25:26] ElderFain: has joined #ruby

2017-03-24

[15:59:12] ElderFain: has joined #ruby
[15:59:12] ElderFain: Changing host

2017-03-22

[21:06:23] ElderFain: Ping timeout: 264 seconds
[21:06:50] ElderFain: has joined #ruby

2016-07-23

[21:29:06] ElderFain: *.net *.split
[21:35:11] ElderFain: has joined #ruby

2016-07-22

[21:14:16] ElderFain: Ping timeout: 264 seconds
[21:16:07] ElderFain: has joined #ruby

2016-07-18

[17:04:29] ElderFain: Ping timeout: 272 seconds
[17:16:31] ElderFain: has joined #ruby

2016-05-31

[17:16:47] ElderFain: has joined #ruby

2016-04-13

[09:47:58] ElderFain: *.net *.split

2016-03-31

[03:32:48] ElderFain: Ping timeout: 246 seconds
[03:33:43] ElderFain: has joined #ruby

2016-03-23

[19:22:01] ElderFain: Ping timeout: 240 seconds
[19:28:22] ElderFain: has joined #ruby

2016-03-17

[02:19:40] ElderFain: *.net *.split
[02:25:20] ElderFain: has joined #ruby

2016-03-12

[16:12:19] ElderFain: Ping timeout: 246 seconds
[16:12:53] ElderFain: has joined #ruby
[16:12:53] ElderFain: Changing host

2016-03-09

[12:27:14] ElderFain: Ping timeout: 240 seconds
[12:32:05] ElderFain: has joined #ruby

2016-02-28

[00:01:53] ElderFain: has joined #ruby

2016-02-27

[22:24:09] ElderFain: has joined #ruby
[22:24:10] ElderFain: has joined #ruby
[22:24:10] ElderFain: Changing host
[23:09:28] ElderFain: *.net *.split

2016-02-22

[11:41:14] ElderFain: Ping timeout: 240 seconds
[11:46:12] ElderFain: has joined #ruby

2016-02-17

[19:47:58] ElderFain: Max SendQ exceeded
[19:48:12] ElderFain: has joined #ruby
[19:48:12] ElderFain: Changing host
[19:48:12] ElderFain: has joined #ruby

2016-02-01

[09:22:16] ElderFain: has joined #ruby

2016-01-21

[20:16:29] ElderFain: Max SendQ exceeded
[20:17:29] ElderFain: has joined #ruby

2016-01-20

[18:22:04] ElderFain: *.net *.split
[18:22:05] ElderFain: has joined #ruby
[18:22:05] ElderFain: Changing host

2016-01-06

[22:05:18] ElderFain: Ping timeout: 240 seconds
[22:10:24] ElderFain: has joined #ruby

2015-12-02

[15:34:59] ElderFain: *.net *.split
[16:47:38] ElderFain: has joined #ruby

2015-11-30

[00:00:40] ElderFain: has joined #ruby
[02:17:16] ElderFain: Ping timeout: 240 seconds
[02:29:48] ElderFain: has joined #ruby
[02:50:01] ElderFain: Excess Flood
[03:07:24] ElderFain: has joined #ruby
[03:07:47] ElderFain: has joined #ruby
[03:07:47] ElderFain: Changing host
[04:09:15] ElderFain: Ping timeout: 240 seconds
[04:24:56] ElderFain: has joined #ruby
[04:32:36] ElderFain: Ping timeout: 264 seconds
[04:59:29] ElderFain: has joined #ruby
[09:09:48] ElderFain: Ping timeout: 264 seconds
[09:13:47] ElderFain: has joined #ruby
[14:52:57] ElderFain: *.net *.split
[15:06:38] ElderFain: has joined #ruby
[15:14:40] ElderFain: *.net *.split
[15:40:54] ElderFain: has joined #ruby

2015-11-29

[21:52:50] ElderFain: Excess Flood
[21:53:18] ElderFain: has joined #ruby
[23:03:14] ElderFain: Ping timeout: 240 seconds
[23:10:11] ElderFain: has joined #ruby
[23:17:35] ElderFain: Ping timeout: 264 seconds
[23:44:38] ElderFain: has joined #ruby
[23:56:00] ElderFain: Ping timeout: 264 seconds

2015-11-27

[08:42:02] ElderFain: *.net *.split
[08:42:22] ElderFain: has joined #ruby
[10:40:26] ElderFain: *.net *.split
[10:40:28] ElderFain: Changing host
[10:40:29] ElderFain: has joined #ruby
[10:49:16] ElderFain: Excess Flood
[10:56:31] ElderFain: has joined #ruby
[10:56:31] ElderFain: Changing host
[10:56:31] ElderFain: has joined #ruby

2015-11-26

[08:13:04] ElderFain: has joined #ruby
[08:13:30] ElderFain: has joined #ruby
[08:13:30] ElderFain: Changing host

2015-10-16

[00:09:06] ElderFain: has joined #ruby

2015-10-06

[20:43:43] ElderFain: *.net *.split
[20:45:49] ElderFain: has joined #ruby

2015-10-03

[10:10:50] ElderFain: Ping timeout: 256 seconds
[10:15:11] ElderFain: has joined #ruby

2015-09-01

[08:34:29] ElderFain: Max SendQ exceeded
[08:36:10] ElderFain: has joined #ruby
[08:36:10] ElderFain: Changing host
[08:36:10] ElderFain: has joined #ruby

2015-08-21

[12:39:22] ElderFain: *.net *.split
[12:39:29] ElderFain: has joined #ruby
[12:39:30] ElderFain: has joined #ruby
[12:39:30] ElderFain: Changing host

2015-08-06

[23:25:26] ElderFain: Ping timeout: 256 seconds
[23:27:21] ElderFain: has joined #ruby

2015-08-05

[15:04:54] ElderFain: Ping timeout: 258 seconds
[15:05:00] ElderFain: Changing host
[15:05:01] ElderFain: has joined #ruby

2015-07-06

[16:50:43] ElderFain: *.net *.split
[16:51:09] ElderFain: has joined #ruby

2015-06-22

[10:43:13] ElderFain: *.net *.split
[10:45:20] ElderFain: has joined #ruby
[10:45:20] ElderFain: Changing host

2015-06-20

[20:14:59] ElderFain: *.net *.split
[20:15:07] ElderFain: has joined #ruby
[20:15:07] ElderFain: Changing host
[20:48:23] ElderFain: *.net *.split
[20:48:46] ElderFain: has joined #ruby
[20:48:46] ElderFain: Changing host

2015-06-12

[19:22:24] ElderFain: Ping timeout: 276 seconds
[19:22:47] ElderFain: has joined #ruby

2015-05-07

[03:38:09] ElderFain: sounds a bit.. paranoid? =0

2015-04-29

[06:14:51] ElderFain: Is there some way to simplify this block? {|a,b| !b}
[06:19:04] ElderFain: well, I wasn't able to, but I don't consider myself the smartest bloke on the block
[06:19:20] ElderFain: appreciate you spending the brain power either way =)
[06:22:03] ElderFain: hehe thats actually what my code has
[06:22:16] ElderFain: but I put the a,b here to indicate that well, it has two parameters even if I don't care about the first
[06:22:39] ElderFain: incase someone thought &:x
[06:26:00] ElderFain: If I find myself writing code like this, https://gist.github.com/anonymous/63e9924ea53ec4ddc3de is there some... better way to encapsulate it?
[06:26:17] ElderFain: I need a bunch of data to show in a view, which I don't think i can change
[06:26:38] ElderFain: but it feels kind of silly to populate all these variables just to pass to view. not sure how else to really do that though
[06:27:46] ElderFain: technically the initial query is a big query to get all the data, and the rest are just mutations/different views on the same data set
[06:39:31] ElderFain: its a &proc passed into a method
[06:40:17] ElderFain: that ultimately yes is doing a select, but its doing it on an asinine data structure that I'd like to protect clients from having to know or understand
[06:41:17] ElderFain: so I navigate into the data structure, pull out the attribute you were after, then pass it to your block so you can select on the underlying datastructure based on your proc
[06:41:23] ElderFain: (did that make sense?)

2015-04-28

[03:51:48] ElderFain: If I want to define a function that takes some values def func(first:1, second:2, operation: &block) and then takes a block to execute , say the block in this case checks to see if second is > some value inside the block.. is what i'm after here Procs ?
[04:11:41] ElderFain: mozzarellaaaaaaa: https://gist.github.com/anonymous/2e1f7398a38a9f281838 was what I ended up pulling together as an example
[04:12:07] ElderFain: mozzarellaaaaaaa: but I think I may want to try and use blocks intead, so you call bananas() {block me up bro!}
[04:33:45] ElderFain: cool, right

2012-10-02

[00:00:54] ElderFain: bummer it looks like auto_link and raw don't play well together

2012-10-01

[19:42:10] ElderFain: I've been browsing stack overflow for the solutions that pop up for this problem, but none of them have worked… https://gist.github.com/d987f3a74c0b83ccad6c sass/util.rb:370:in `rails_root': ERROR: Rails.root is nil! (RuntimeError)
[19:42:26] ElderFain: how can i better debug the issue?

2012-09-25

[23:43:06] ElderFain: Is there some handy way to make rails not deploy, or strip out, calls like "pp" and "ap" ?
[23:43:26] ElderFain: second time now i've deployed with a call to "ap" which of course barfs on production

2012-09-24

[17:41:53] ElderFain: I have a hash with a theHash = {"a"=>"&#x2173;"} and when I try to put it in via <%=h theHash["a"] %> it gives me the actual string "&#x2173;"
[17:42:05] ElderFain: isn't <%=h %> supposed to stop that from happening?
[17:42:37] ElderFain: thank you rubber duckies
[17:45:03] ElderFain: GoHuyGo: no clue why changing the string to a symbol would matter
[17:45:38] ElderFain: also, "a" and :a are not the same thing
[17:45:50] ElderFain: so in your case, theHash[:a] is nothing

2012-09-20

[16:56:32] ElderFain: <Axsuul> From #RubyOnRails: ElderFain: you shouldn't bind events to elements, you should delegate it to something higher up
[16:56:37] ElderFain: can someone elaborate on what he may have meant?
[16:57:39] ElderFain: well, sure I'm not going to go back and re-engineer a working solution
[16:58:02] ElderFain: right, yes i do
[17:02:00] ElderFain: you sould see params hit
[17:02:25] ElderFain: bounce your request off netcat
[17:02:28] ElderFain: and see what you are really sending
[17:03:01] ElderFain: in terminal type nc -l 8280
[17:03:06] ElderFain: then direct your request to localhost:8280
[17:03:33] ElderFain: kara_sweets: you'll see exactly what the server gets, no processing happening to it so no concerns that rails is hiding something from you, or doing soething you don't expect
[17:05:52] ElderFain: soahccc: look at the documentation?
[17:06:18] ElderFain: soahccc: also .arity
[17:08:27] ElderFain: im not even sure airty is a real word
[17:08:58] ElderFain: oh there it goes
[17:09:00] ElderFain: dictionary fail
[17:09:20] ElderFain: In logic, mathematics, and computer science, the arity i/ˈærɨti/ of a function or operation is the number of arguments or operands that the function takes.
[17:12:36] ElderFain: kara_sweets: does it just give you an empty newline?
[17:13:00] ElderFain: kara_sweets: its working ;)
[17:13:19] ElderFain: $ curl localhost:8280
[17:13:32] ElderFain: User-Agent: curl/7.21.4 (universal-apple-darwin11.0) libcurl/7.21.4 OpenSSL/0.9.8r zlib/1.2.5
[17:13:32] ElderFain: GET / HTTP/1.1
[17:13:32] ElderFain: $ nc -l 8280
[17:13:33] ElderFain: Accept: */*
[17:13:33] ElderFain: Host: localhost:8280
[17:13:41] ElderFain: kara_sweets: its a little webserver
[17:13:57] ElderFain: kara_sweets: http://en.wikipedia.org/wiki/Netcat
[17:14:54] ElderFain: kara_sweets: so its just sitting there waiting to see your connections to it and show you exactly what comes in.. another choice would be to check out charles proxy but it has slightly more setup, althought it does't require redirecting your requests
[17:15:14] ElderFain: kara_sweets: I find it to be useful when rails isnt doing what i expect, usually its because I'm not sending rails what I really thought i was =)
[17:15:46] ElderFain: sure. if you feel like delving deeper, http://www.charlesproxy.com/
[17:15:55] ElderFain: you can setup SSH proxying and decode encrypted traffic & so on
[17:15:58] ElderFain: fantastic tool

2012-09-19

[22:46:20] ElderFain: workmad3: so i make a POST which does the render as its final bits
[22:46:30] ElderFain: i think the response from the server for the post is droped b the front end
[22:46:38] ElderFain: i don't need the response
[22:47:22] ElderFain: i think we are talking about something different
[22:47:39] ElderFain: the resposne in javascript just resets a timer field
[22:47:43] ElderFain: http://stackoverflow.com/questions/4411601/can-i-how-to-bind-jquery-events-to-form-element-load-when-loading-rails-partials
[22:47:46] ElderFain: that is the problem
[22:47:57] ElderFain: guess ill try those hacky solutions
[22:48:59] ElderFain: the JS event $("#f-table").on("change",'select[name*="-userChoice"]',function(){ doesn't work on elements generated by the partial after the first page load
[22:50:36] ElderFain: workmad3: User hits path, render is called, loads a .erb that calls several partials. User manipulates DOM, presses a "+" button for example, a POST is made that does work, then calls render :partial => "a_small_partial" and the view updates
[22:50:43] ElderFain: workmad3: I'm not doing anything with a response
[22:50:55] ElderFain: workmad3: I think spyroboy is on the same page leme catch up to him
[22:53:26] ElderFain: fyi to try it out
[22:53:31] ElderFain: i tried $(document)
[22:53:35] ElderFain: it *looks* like its working
[22:53:37] ElderFain: let me test all the use cases
[22:53:44] ElderFain: i tried it because its a single word change to try out
[22:54:47] ElderFain: well to be fair
[22:54:52] ElderFain: I don't understand my problem
[22:54:55] ElderFain: so its really hard to explain it
[22:55:00] ElderFain: if i knew what was going wrong I could fix it =)
[22:55:12] ElderFain: well, also to be fair
[22:55:15] ElderFain: workmad3's suggestion worked
[22:55:28] ElderFain: changing it to $(document) from $('#f-table')
[22:55:39] ElderFain: i don't understand WHY it worked
[22:55:59] ElderFain: workmad3: sounds right
[22:57:28] ElderFain: spyroboy: yes, the partial that i call starts by re-generating <div id=f-table>
[22:58:08] ElderFain: right i should have hooked higher up
[22:58:11] ElderFain: like the form id
[22:58:23] ElderFain: so jquery is bound to an element
[22:58:31] ElderFain: then the element is destroyed and created again with the same values
[22:58:33] ElderFain: it never rebinds
[22:58:50] ElderFain: okay makes total sense now
[22:58:53] ElderFain: and i feel stupid for not seeing this
[22:59:00] ElderFain: right, i totally see the problem now
[22:59:08] ElderFain: THREE HOURS
[22:59:32] ElderFain: spyroboy: up a chain through handlers & delegates?
[23:00:07] ElderFain: Axsuul: growing pains, moving from sproutcore only, to javascript/jquery only, and I'm sure the next stage is coming
[23:00:11] ElderFain: something more structured
[23:00:18] ElderFain: but less than sproutcore ha
[23:01:01] ElderFain: document being the top
[23:01:03] ElderFain: it recieves all
[23:01:08] ElderFain: hence why $(document) works
[23:04:36] ElderFain: workmad3, spyroboy thank you