aep

Activity Graph

Page 1 of 6 | Next »

2019-03-14

[10:07:34] aep: has joined #RubyOnRails
[10:08:27] aep: heya! any idea why a simple Foo.find_by_sql [" select * from foo join bar.."] returns Foo.id set to bar.id rather than foo.id ?
[13:08:46] aep: Quit: WeeChat 2.4

2017-05-23

[15:55:16] aep: Remote host closed the connection

2017-05-21

[08:00:04] aep: Ping timeout: 246 seconds
[08:04:30] aep: has joined #ruby

2017-05-17

[07:30:09] aep: has joined #ruby
[23:23:05] aep: Ping timeout: 240 seconds
[23:32:44] aep: has joined #ruby

2017-05-05

[08:31:10] aep: Ping timeout: 240 seconds

2017-04-18

[12:03:55] aep: has joined #ruby

2017-04-15

[13:16:08] aep: Ping timeout: 240 seconds

2017-04-06

[08:54:09] aep: has joined #ruby

2017-04-02

[07:14:35] aep: Ping timeout: 240 seconds

2017-03-28

[01:25:29] aep: Ping timeout: 240 seconds
[01:28:28] aep: has joined #ruby

2016-06-15

[23:12:59] aep: *.net *.split

2016-06-06

[21:58:27] aep: Ping timeout: 246 seconds
[22:00:38] aep: has joined #ruby

2016-06-04

[00:02:31] aep: Ping timeout: 252 seconds
[00:24:20] aep: has joined #ruby

2016-06-02

[15:52:28] aep: has joined #ruby
[15:52:44] aep: any idea why bundler is saying: Bundler::HTTPError: Network error while fetching ?
[15:52:54] aep: this is gems version 2.6.4
[15:53:02] aep: on ruby 2.3.1p112
[15:54:16] aep: actually looks like gem itself is broken too:
[15:54:18] aep: Getting SRV record failed: DNS result has no information for _rubygems._tcp.api.rubygems.org

2016-05-10

[09:04:51] aep: has left #ruby: ("Quit message")
[09:04:54] aep: has left #RubyOnRails: ("Quit message")

2016-05-08

[01:50:55] aep: Remote host closed the connection
[01:55:29] aep: has joined #ruby
[01:55:30] aep: has joined #RubyOnRails

2016-04-17

[08:12:11] aep: *.net *.split

2016-04-04

[10:22:12] aep: is there a quick and dirty way to generate a rest commandline app that litteraly just calls some http stuff?
[12:29:06] aep: if i require a local .gem file in my Gemfile...
[12:29:08] aep: Using swagger_client 1.0.0 from source at ./ruby-client
[12:29:19] aep: how do i require that in my actual code?
[12:29:30] aep: require 'swagger_client' doesnt work
[12:32:48] aep: oh duh. of course that was the solution, thanks adaedra
[12:37:01] aep: how do i catch the second argument in: fail SomeError.new(bla), "message" ?

2016-03-30

[01:27:57] aep: Ping timeout: 276 seconds
[01:34:06] aep: has joined #RubyOnRails
[01:34:06] aep: has joined #ruby

2016-02-28

[14:52:29] aep: Ping timeout: 244 seconds
[14:57:42] aep: has joined #RubyOnRails
[14:57:42] aep: has joined #ruby

2016-02-27

[21:37:30] aep: Ping timeout: 250 seconds
[22:45:48] aep: has joined #ruby
[22:45:49] aep: has joined #RubyOnRails

2016-02-19

[18:27:23] aep: *.net *.split
[18:27:34] aep: has joined #RubyOnRails
[18:27:34] aep: has joined #ruby

2016-02-17

[09:52:38] aep: *.net *.split
[09:53:07] aep: has joined #RubyOnRails
[09:53:07] aep: has joined #ruby

2016-02-16

[19:05:44] aep: can i convert some uknonw 8bit text into utf8 ignoring the characters that aren't valid ascii/
[19:08:29] aep: err nah, not from a literal
[19:08:40] aep: ah thanks1
[19:08:46] aep: damnit. shift key broke
[19:15:26] aep: yeah that didnt help remove invalid ascii
[19:15:33] aep: i still get an undefinedconversationerror
[19:16:00] aep: but i have random text with unknown encoding
[19:16:05] aep: so i cant just force utf8
[19:18:35] aep: nah activerecord does that
[19:19:03] aep: even if i told it not to, it would still store useless characters in some random coding
[19:19:24] aep: well thats what i'm doing now anyway :/
[19:21:02] aep: i dont want to go there. thanks tho
[19:22:43] aep: cool, thanks
[19:29:15] aep: oh nice

2016-02-15

[07:03:55] aep: *.net *.split
[07:04:16] aep: has joined #RubyOnRails
[07:04:16] aep: has joined #ruby

2016-02-13

[12:52:27] aep: how do i parse this date correctly? Date.strptime("09-FEB-16", '%d-%^b-%y')
[12:54:30] aep: yeah me too
[12:54:33] aep: but i dont understand why
[12:56:14] aep: yeah apparantly uppercase doesnt work
[12:56:23] aep: works with lowercase and just %b
[12:56:29] aep: Date.strptime('6-feb-16', '%d-%b-%y')
[12:56:31] aep: => #<Date: 2016-02-06 ((2457425j,0s,0n),+0s,2299161j)>
[12:56:33] aep: Date.strptime('6-FEB--16', '%d-%^b-%y')
[12:56:35] aep: ArgumentError: invalid date
[12:56:44] aep: err typo
[12:57:33] aep: docs say thats for uppercase
[12:58:11] aep: probably just unnessesary because the parser ignores case

2016-02-12

[17:12:39] aep: is there any non-ugly out-of-the-box theme for rails admin?
[17:13:52] aep: or typus
[17:58:22] aep: is there a simple active job backend that runs with 'rails s'?
[17:59:45] aep: ah. sucker punch seems to be what i want
[18:17:04] aep: uuuh this is really confusing. i have a initialize function with no arguments, and i call Class.new with no arguments, and i get "wrong number of arguments (1 for 0)
[18:17:20] aep: what's.... the magic first argument
[18:18:01] aep: well, no. i'm trying to isolate it now
[18:18:06] aep: in the meantime http://i.imgur.com/a9yePdr.png
[18:19:45] aep: huh. it...works now
[18:19:51] aep: must be me being crazy

2016-02-05

[16:55:40] aep: Ping timeout: 252 seconds
[17:05:52] aep: has joined #RubyOnRails
[17:05:52] aep: has joined #ruby
[18:11:34] aep: Ping timeout: 252 seconds
[18:12:28] aep: has joined #RubyOnRails
[18:12:28] aep: has joined #ruby
[20:59:38] aep: Ping timeout: 276 seconds
[21:01:16] aep: has joined #RubyOnRails
[21:01:16] aep: has joined #ruby

2016-02-04

[04:19:08] aep: Ping timeout: 260 seconds
[04:20:15] aep: has joined #RubyOnRails
[04:20:15] aep: has joined #ruby

2016-02-03

[16:45:40] aep: has joined #ruby
[16:45:41] aep: has joined #RubyOnRails

2016-01-20

[13:56:01] aep: *.net *.split

2016-01-17

[22:51:55] aep: Ping timeout: 250 seconds
[22:56:47] aep: has joined #RubyOnRails
[22:56:47] aep: has joined #ruby

2015-12-29

[13:36:54] aep: i'm scared of asking buuut... how do you do opencv stuff on ruby with the GIL? :/
[13:36:59] aep: like, everything's so CPU intensive
[13:37:42] aep: do people just shove the cpu parts into c++ or something?

2015-12-02

[15:35:32] aep: *.net *.split
[15:41:30] aep: has joined #ruby
[15:41:44] aep: has joined #RubyOnRails
[15:52:41] aep: *.net *.split
[16:47:46] aep: has joined #ruby
[16:48:04] aep: has joined #RubyOnRails

2015-11-30

[03:07:06] aep: Ping timeout: 260 seconds
[03:15:34] aep: has joined #RubyOnRails
[03:15:34] aep: has joined #ruby
[06:22:39] aep: Ping timeout: 245 seconds
[08:01:00] aep: has joined #RubyOnRails
[08:01:00] aep: has joined #ruby
[11:03:04] aep: Ping timeout: 245 seconds
[11:08:16] aep: has joined #RubyOnRails
[11:08:16] aep: has joined #ruby
[12:12:38] aep: Ping timeout: 260 seconds
[12:16:54] aep: has joined #RubyOnRails
[12:16:54] aep: has joined #ruby
[12:18:32] aep: Excess Flood
[12:30:16] aep: has joined #RubyOnRails
[12:30:16] aep: has joined #ruby
[13:48:55] aep: Ping timeout: 265 seconds
[15:37:45] aep: has joined #RubyOnRails
[15:37:45] aep: has joined #ruby
[18:40:59] aep: Ping timeout: 245 seconds
[18:42:01] aep: has joined #RubyOnRails
[18:42:01] aep: has joined #ruby

2015-11-29

[20:31:08] aep: Ping timeout: 276 seconds
[20:35:32] aep: has joined #RubyOnRails
[20:35:32] aep: has joined #ruby
[20:40:59] aep: Ping timeout: 264 seconds
[20:53:44] aep: has joined #RubyOnRails
[20:53:44] aep: has joined #ruby
[20:54:12] aep: Excess Flood
[20:55:34] aep: has joined #ruby
[20:55:35] aep: has joined #RubyOnRails
[20:56:17] aep: Excess Flood
[20:59:06] aep: has joined #RubyOnRails
[20:59:06] aep: has joined #ruby
[21:11:02] aep: *.net *.split
[21:28:02] aep: has joined #RubyOnRails
[21:28:02] aep: has joined #ruby

2015-11-22

[03:45:54] aep: *.net *.split
[03:56:03] aep: has joined #ruby
[03:56:04] aep: has joined #RubyOnRails

2015-11-17

[05:00:06] aep: Ping timeout: 246 seconds
[05:01:46] aep: has joined #RubyOnRails
[05:01:46] aep: has joined #ruby
[05:02:15] aep: Excess Flood
[05:02:46] aep: has joined #RubyOnRails
[05:02:46] aep: has joined #ruby

2015-11-16

[22:40:19] aep: has joined #RubyOnRails
[22:40:29] aep: why does config.assets.digest not apply to image_tag?
[22:40:40] aep: is there another way to prevent image caching for those?
[22:45:06] aep: matthewd: no in assets/
[22:51:51] aep: matthewd: nah, its some handling with asset location i think. since i use image_tag '/assets/images/bla'
[22:52:06] aep: probably not the right way. was too lazy to figure out the correct path back then
[22:52:36] aep: the lazyness..

2015-11-14

[05:14:25] aep: *.net *.split

2015-11-13

[23:32:33] aep: has left #RubyOnRails: ("WeeChat 1.3")

2015-11-12

[23:02:47] aep: has joined #RubyOnRails
[23:03:08] aep: is there a console command to show all available asset paths? i cant find the right path for image_tag

2015-10-31

[13:32:50] aep: has joined #ruby
[13:32:50] aep: has joined #RubyOnRails
[14:28:25] aep: has left #RubyOnRails: ("WeeChat 1.3")

2015-10-29

[01:14:10] aep: Ping timeout: 240 seconds

2015-10-16

[00:10:12] aep: has joined #ruby
[00:10:16] aep: has joined #RubyOnRails

2015-09-26

[14:10:26] aep: do i have to do more than add a file to config/locales to get it in I18n.available_locales?
[14:10:32] aep: all i have is :en there
[14:11:43] aep: nuthing, but i think i already figured it out :/
[14:11:48] aep: didnt change the first item in the yml
[14:12:01] aep: yup :) thanks

2015-09-09

[18:41:35] aep: Ping timeout: 246 seconds
[18:42:55] aep: has joined #RubyOnRails
[18:42:56] aep: has joined #ruby

2015-09-01

[22:36:14] aep: hm, rand() is too random for me. i wonder if there is a form of 'random' that is biased towards even distribution
[22:38:31] aep: centrx: probably, but i need more. i'm using it for a binary choice and it just returned 10 times true in a row. humans will think its broken
[22:39:36] aep: centrx: exactly, i want less random :D
[22:40:23] aep: centrx: doesnt that just use rand() ?
[22:40:46] aep: maybe i should just count and bias it myself
[22:42:12] aep: centrx: i dont understand how thats less random
[22:42:48] aep: unfortunatly i have true/false. but the idea was good
[22:44:39] aep: actually this is exactly what i need (([true]*5)+([false]*5)).to_a.shuffle thanks centrx
[22:46:44] aep: centrx: hehe. nah, its a coin toss. and humans get frustrated when it 'feels' not random

2015-08-28

[10:27:08] aep: *.net *.split
[10:29:50] aep: has joined #RubyOnRails
[10:29:52] aep: has joined #ruby

2015-08-22

[11:40:29] aep: whats the correct syntax for this? Stats.find_by(device:stat.device).and('created_at < ?', stat.created_at)
[11:40:39] aep: its not 'where'
[11:40:55] aep: that doesnt work in combination with find_by

2015-08-16

[23:44:12] aep: how would i remove multiple indexes from an array at once? ie: [a,b,c,d].delete_at([1,2]) = [a,d]
[23:44:28] aep: individual calls to delete_at will make the next index invalid of course
[23:45:10] aep: oh with markers of course
[23:47:34] aep: nah, i want order
[23:48:24] aep: oooh of course
[23:48:27] aep: thanks!

2015-07-30

[16:40:34] aep: any alternatives to activeadmin?
[16:40:47] aep: by the way ;)

2015-07-03

[07:49:21] aep: Ping timeout: 250 seconds
[07:49:39] aep: has joined #ruby
[07:49:39] aep: has joined #RubyOnRails

2015-06-20

[19:28:08] aep: vasilakisfil_: "/api/v1/users/148".enum_for(:scan,/\//).map {$~.pre_match; }
[19:28:26] aep: "/api/v1/users/148".enum_for(:scan,/\//).map {$~.string[0..$~.offset(0)[1]-1] }
[19:29:57] aep: err, i have no idea why i used enum_for
[19:30:49] aep: your version looks more readable to be honest :P
[19:35:24] aep: i didnt know about each_with_object. thats pretty cool

2015-06-13

[23:29:54] aep: Ping timeout: 264 seconds
[23:31:16] aep: has joined #ruby
[23:31:16] aep: has joined #RubyOnRails

2015-06-12

[08:51:24] aep: Ping timeout: 252 seconds
[08:57:22] aep: has joined #ruby
[08:57:22] aep: has joined #RubyOnRails

2015-03-28

[10:57:30] aep: sandelius: thats a fancy math term for 'side effect free'

2015-03-27

[12:10:41] aep: but this channel cant possibly know anything about your stategy
[12:10:53] aep: is it a quick demo? is it a large infrastructure?
[12:11:05] aep: are you planning to expand to multiple frontends?
[12:11:35] aep: so its some sort of website that has an app and you're just transfering content?
[12:11:41] aep: sure can
[12:11:46] aep: but its harder
[12:11:58] aep: depends on your time frame and business model
[12:12:14] aep: if you're a startup, just go and hack the thing in one app, then suffer terribly un-tangling them
[12:12:27] aep: sounds more complicated than content
[13:00:13] aep: is there a way to see all current threads and requests that are currently being processed?