Karpah

Activity Graph

Page 1 of 2 | Next »

2019-01-18

[01:57:24] Karpah: has joined #RubyOnRails
[01:57:25] Karpah: has joined #RubyonRails-offtopic

2018-11-20

[13:35:25] Karpah: has joined #RubyonRails-offtopic
[13:35:25] Karpah: has joined #RubyOnRails
[13:35:43] Karpah: Client Quit

2018-07-10

[02:15:29] Karpah: has joined #RubyonRails-offtopic
[02:15:29] Karpah: has joined #RubyOnRails

2018-03-07

[05:33:52] Karpah: has joined #RubyonRails-offtopic
[05:33:52] Karpah: has joined #RubyOnRails

2017-11-22

[04:45:21] Karpah: has joined #RubyonRails-offtopic
[04:45:21] Karpah: has joined #RubyOnRails
[05:44:01] Karpah: Ping timeout: 248 seconds

2017-06-15

[05:52:52] Karpah: has joined #RubyonRails-offtopic
[05:52:52] Karpah: has joined #RubyOnRails

2017-04-08

[05:03:00] Karpah: has joined #RubyonRails-offtopic
[05:03:00] Karpah: has joined #RubyOnRails
[07:01:27] Karpah: Ping timeout: 240 seconds

2016-06-22

[06:48:33] Karpah: has joined #RubyonRails-offtopic
[06:48:33] Karpah: has joined #RubyOnRails
[06:54:10] Karpah: well, bother.

2016-06-05

[10:59:37] Karpah: has joined #RubyOnRails
[10:59:38] Karpah: has joined #RubyonRails-offtopic

2016-02-23

[13:19:11] Karpah: has joined #rubysherpas
[13:19:11] Karpah: has joined #RubyonRails-offtopic
[13:19:11] Karpah: has joined #RubyOnRails

2016-02-04

[09:14:37] Karpah: has joined #RubyonRails-offtopic
[09:14:37] Karpah: has joined #RubyOnRails
[09:17:16] Karpah: Client Quit

2016-01-20

[11:50:15] Karpah: has joined #rubysherpas
[11:50:15] Karpah: has joined #RubyonRails-offtopic
[11:50:15] Karpah: has joined #RubyOnRails
[11:56:05] Karpah: laptop keyboards do not like having coke spilled on them.

2015-12-01

[05:11:42] Karpah: has joined #rubysherpas
[05:11:42] Karpah: has joined #RubyonRails-offtopic
[05:11:42] Karpah: has joined #RubyOnRails
[05:12:31] Karpah: *gets callback from Telstra 'yes we're calling to check up on your internet, can i have your date of birth for security purposes' 'huh? you called me, you know my date of birth' 'ok no problem, so about your internet...'

2015-11-04

[04:09:31] Karpah: has joined #rubysherpas
[04:09:31] Karpah: has joined #RubyonRails-offtopic
[04:09:31] Karpah: has joined #RubyOnRails
[04:10:04] Karpah: ACTION kicks other-self

2015-09-20

[08:45:48] Karpah: has joined #RubyOnRails
[08:45:49] Karpah: has joined #RubyonRails-offtopic
[09:40:51] Karpah: breadcrumbs_on_rails is a great gem, i use it whenever i need breadcrumb

2015-09-16

[09:44:04] Karpah: has joined #RubyOnRails
[09:44:05] Karpah: has joined #RubyonRails-offtopic
[09:51:19] Karpah: i gotta knock some sense into my fiance
[09:51:54] Karpah: someone calls claiming to be from telstra and wanting to check out his plans, so he just starts handing out all kinds of personal information
[09:53:00] Karpah: including *my* personal information
[09:53:11] Karpah: fucks sake

2015-09-02

[02:24:39] Karpah: has joined #ruby-banned
[02:24:39] Karpah: has joined #rubysherpas
[02:24:39] Karpah: has joined #RubyonRails-offtopic
[02:24:39] Karpah: has joined #RubyOnRails
[02:24:39] Karpah: has joined #ruby

2015-08-26

[07:34:49] Karpah: has joined #ruby-ops
[07:34:49] Karpah: has joined #rubysherpas
[07:34:49] Karpah: has joined #RubyonRails-offtopic
[07:34:49] Karpah: has joined #RubyOnRails
[07:34:49] Karpah: has joined #ruby

2015-08-24

[09:35:13] Karpah: has joined #ruby-ops
[09:35:13] Karpah: has joined #rubysherpas
[09:35:13] Karpah: has joined #RubyonRails-offtopic
[09:35:13] Karpah: has joined #RubyOnRails
[09:35:13] Karpah: has joined #ruby
[10:14:52] Karpah: ACTION gets popcorn

2015-08-21

[09:45:04] Karpah: has joined #ruby-ops
[09:45:04] Karpah: has joined #rubysherpas
[09:45:04] Karpah: has joined #RubyonRails-offtopic
[09:45:04] Karpah: has joined #RubyOnRails
[09:45:04] Karpah: has joined #ruby

2015-08-20

[09:35:45] Karpah: has joined #ruby-ops
[09:35:45] Karpah: has joined #rubysherpas
[09:35:45] Karpah: has joined #RubyonRails-offtopic
[09:35:45] Karpah: has joined #RubyOnRails
[09:35:45] Karpah: has joined #ruby
[09:43:30] Karpah: Ping timeout: 256 seconds

2015-08-19

[08:56:02] Karpah: has joined #ruby-ops
[08:56:02] Karpah: has joined #rubysherpas
[08:56:02] Karpah: has joined #RubyonRails-offtopic
[08:56:02] Karpah: has joined #RubyOnRails
[08:56:02] Karpah: has joined #ruby

2015-08-17

[09:33:19] Karpah: has joined #rubysherpas
[09:33:19] Karpah: has joined #RubyonRails-offtopic
[09:33:19] Karpah: has joined #RubyOnRails
[09:33:19] Karpah: has joined #ruby

2015-08-14

[09:17:33] Karpah: has joined #ruby
[09:17:34] Karpah: has joined #rubysherpas
[09:17:34] Karpah: has joined #RubyonRails-offtopic
[09:17:34] Karpah: has joined #RubyOnRails

2015-08-11

[09:19:43] Karpah: has joined #ruby
[09:19:44] Karpah: has joined #rubysherpas
[09:19:44] Karpah: has joined #RubyonRails-offtopic
[09:19:44] Karpah: has joined #RubyOnRails
[09:35:04] Karpah: Quintasan: https://www.relishapp.com/rspec/rspec-rails/v/3-2/docs/view-specs/stub-template

2015-08-08

[12:26:38] Karpah: has joined #rubysherpas
[12:26:38] Karpah: has joined #RubyonRails-offtopic
[12:26:38] Karpah: has joined #RubyOnRails
[12:26:38] Karpah: has joined #ruby

2015-08-07

[10:01:10] Karpah: has joined #ruby
[10:01:11] Karpah: has joined #rubysherpas
[10:01:11] Karpah: has joined #RubyonRails-offtopic
[10:01:11] Karpah: has joined #RubyOnRails

2015-08-06

[09:28:36] Karpah: has joined #rubysherpas
[09:28:36] Karpah: has joined #RubyonRails-offtopic
[09:28:36] Karpah: has joined #RubyOnRails
[09:28:36] Karpah: has joined #ruby

2015-08-04

[09:48:53] Karpah: has joined #rubysherpas
[09:48:53] Karpah: has joined #RubyonRails-offtopic
[09:48:53] Karpah: has joined #RubyOnRails
[09:48:53] Karpah: has joined #ruby

2015-07-27

[09:44:58] Karpah: has joined #rubysherpas
[09:44:58] Karpah: has joined #RubyonRails-offtopic
[09:44:58] Karpah: has joined #RubyOnRails
[09:44:58] Karpah: has joined #ruby
[09:47:10] Karpah: !mute M-_mis
[09:47:12] Karpah: quiet, you.

2015-07-17

[06:25:56] Karpah: has joined #rubysherpas
[06:25:56] Karpah: has joined #RubyonRails-offtopic
[06:25:56] Karpah: has joined #RubyOnRails
[06:25:56] Karpah: has joined #ruby

2015-07-16

[09:35:57] Karpah: has joined #ruby
[09:35:58] Karpah: has joined #rubysherpas
[09:35:58] Karpah: has joined #RubyonRails-offtopic
[09:35:58] Karpah: has joined #RubyOnRails

2015-07-15

[09:53:13] Karpah: has joined #rubysherpas
[09:53:13] Karpah: has joined #RubyonRails-offtopic
[09:53:13] Karpah: has joined #RubyOnRails
[09:53:13] Karpah: has joined #ruby

2015-07-01

[09:01:28] Karpah: has joined #rubysherpas
[09:01:28] Karpah: has joined #RubyonRails-offtopic
[09:01:28] Karpah: has joined #RubyOnRails
[09:01:28] Karpah: has joined #ruby

2015-06-29

[08:58:00] Karpah: has joined #rubysherpas
[08:58:00] Karpah: has joined #RubyonRails-offtopic
[08:58:00] Karpah: has joined #RubyOnRails
[08:58:00] Karpah: has joined #ruby

2015-06-26

[09:51:16] Karpah: has joined #ruby
[09:51:17] Karpah: has joined #rubysherpas
[09:51:17] Karpah: has joined #RubyonRails-offtopic
[09:51:17] Karpah: has joined #RubyOnRails

2014-10-07

[03:28:51] Karpah: OH SHIT WHERE
[03:28:56] Karpah: you did at one point.
[03:29:07] Karpah: i was naughty.
[03:32:13] Karpah: i said some smart things in the day.
[03:33:03] Karpah: sorry bout that
[03:36:42] Karpah: waseem_: as did i.
[03:36:55] Karpah: he and Radar. what a welcoming party :P
[03:37:14] Karpah: Emily: he doing okay? he wasnt feeling well on the weekend
[03:37:54] Karpah: good good
[03:39:19] Karpah: mrevd: whats the problem
[03:41:23] Karpah: that doesnt say what donation_params is
[03:42:46] Karpah: thats params[:donation], not donation_params
[03:42:51] Karpah: where is donation_params defined in your controller
[03:44:19] Karpah: still need to see what donation_params is.
[03:44:39] Karpah: thank you.
[03:45:14] Karpah: so what makes you think the setter isnt being called?
[03:46:32] Karpah: how is it clear?
[03:46:37] Karpah: it might be clear to you, its not to us
[03:47:38] Karpah: given that one setter depends on the other, thats dangerous
[03:47:52] Karpah: seeing as you can't specify order
[03:49:10] Karpah: uninstall, reinstall? :)
[03:49:14] Karpah: check the docs?
[03:50:09] Karpah: mrevd: your code doesnt make sense - the other_amount value will never be used
[03:50:34] Karpah: your amount setter will set the value to the value provided, because other_amount is (in theory) nil (if the setter isnt already being called)
[03:54:11] Karpah: mrevd: because when the setters are called in Donation.new, you cant specify the order in which theyre called
[03:54:22] Karpah: amount= is probably being called first, and then other_amount=
[03:54:37] Karpah: so amount is always going to be set to what was in amount, not what was in other_amount
[03:56:02] Karpah: check the docs for the gem, not for bundler
[03:56:47] Karpah: mrevd: change the other_amount setter to just write to amount.
[03:56:59] Karpah: and forget all the other overwriting junk
[03:57:33] Karpah: falieson: oh well, uninstall and reinstall then
[03:58:12] Karpah: mrevd: then manipulate the params before they get to the model
[03:58:19] Karpah: delete amount if other_amount is present
[03:59:30] Karpah: or even better, set amount to other_amount if it is present, and forget about this other_amount stuff entirely
[04:00:34] Karpah: no, no custom setters
[04:00:39] Karpah: manipulate the params
[04:01:26] Karpah: somewhere in the controller
[04:03:44] Karpah: what's an anti-pattern? :/
[04:04:00] Karpah: getting the controller to manage communication between the request and the model?
[04:04:14] Karpah: why does the model care that there are two different types of amounts
[04:04:28] Karpah: given a Donation only has a single amount
[04:06:26] Karpah: that would also work... as long as the form model doesnt do any validation or anything like that
[04:06:34] Karpah: if its specifically for munging params
[04:08:10] Karpah: ACTION has had so many problems where people try to do validations in form objects, and then validations in the model, and they dont quite match
[04:18:07] Karpah: because the singular of Data is Datum.
[04:18:19] Karpah: write an inflection rule if you want to change it
[04:26:04] Karpah: models should always be singular.
[04:26:45] Karpah: scientists

2014-02-18

[06:28:25] Karpah: must keep this one >_>
[06:49:45] Karpah: i didnt even know they made a 15" air
[06:55:40] Karpah: lol lenovo
[06:55:45] Karpah: fuck lenovo
[06:59:10] Karpah: i wanted 13", but the series 9 13" were way underpowered compared to 15"
[06:59:27] Karpah: so i ended up wit ha 15"
[07:09:07] Karpah: yeah 11" is way too small
[07:11:48] Karpah: we bought like eight or so 15" mbps here a year or so ago - two have now had faults
[07:24:19] Karpah: thats pretty hardcore.

2013-08-29

[06:00:56] Karpah: Rails issues a separate query to get the logs for each product
[06:01:01] Karpah: (this is for sunspot indexing)
[06:02:04] Karpah: so my indexing goes from 1 query to 15000 queries!
[06:08:19] Karpah: fuck you polymorphics
[06:14:39] Karpah: create a user, see if it has a profile.
[06:15:21] Karpah: eql isnt what you want (use eq instead) and the word you're missing is 'present'
[06:16:13] Karpah: oceanbreeze: looks pretty self-explanatory
[06:16:23] Karpah: which part are you having problems understanding
[06:16:58] Karpah: do you understand why it's happening?
[06:17:40] Karpah: https://gist.github.com/oceanbreeze/6374718#file-gistfile1-txt-L4 what do you think this means?
[06:19:40] Karpah: its not a constant :/
[06:19:50] Karpah: what are you talking about
[06:20:15] Karpah: oceanbreeze: you're trying to make a form field for a picture's name. your picture doesnt have a name field.
[06:37:46] Karpah: i dont like retarded questions.
[06:39:15] Karpah: and whats your question?
[06:39:19] Karpah: and how does it relate to rails?
[06:44:09] Karpah: having such an old codebase is really starting to hurt
[06:45:57] Karpah: that and everyone who worked on it's hatred of using HABTM, so i have dozens of models that are nothing but foreign keys
[06:47:23] Karpah: why do people hate HABTM so much
[07:15:29] Karpah: just discussed it with my workmates, they hate it too
[07:23:08] Karpah: 'what i've found (and this is just my personal experience not a rational why one is definitively better than the other) is that roughly 50% you end up tacking information onto the join table.'
[07:23:10] Karpah: 'In which case you sometimes need to access the middle table so I figure if you're going to use has many through once you may as well be consistent and just use has many though rather than a mix which you may have to change later.'
[07:23:43] Karpah: thats what i said, pretty much
[07:30:50] Karpah: holy shit, seriously?
[08:47:46] Karpah: foo.entities.create ?
[08:55:54] Karpah: well your fake code didnt provide multiple associations soooo
[08:56:00] Karpah: i cant answer what you dont ask
[08:57:29] Karpah: i think Radar stopped threatening to ban s people now. I might be safe.