andrevan

Activity Graph

Page 1 of 1

2018-12-01

[20:29:54] andrevan: has joined #ruby
[21:26:18] andrevan: Ping timeout: 245 seconds
[21:33:10] andrevan: has joined #ruby
[21:43:07] andrevan: Ping timeout: 240 seconds

2018-09-02

[18:47:42] andrevan: Quit: WeeChat 2.2

2018-06-11

[00:04:22] andrevan: Quit: WeeChat 2.1

2018-06-03

[01:51:18] andrevan: Quit: WeeChat 2.1
[02:51:41] andrevan: has joined #ruby
[18:37:09] andrevan: Quit: WeeChat 2.1

2018-05-30

[02:40:00] andrevan: Quit: WeeChat 2.1
[17:07:07] andrevan: has joined #ruby
[17:35:53] andrevan: Quit: WeeChat 2.1
[19:12:14] andrevan: has joined #ruby

2018-05-29

[02:46:54] andrevan: *.net *.split
[02:47:58] andrevan: has joined #ruby
[02:50:03] andrevan: *.net *.split
[02:50:32] andrevan: has joined #ruby
[15:18:39] andrevan: Quit: WeeChat 2.1
[18:40:50] andrevan: has joined #ruby

2018-05-27

[00:07:41] andrevan: has joined #ruby

2018-05-26

[00:44:58] andrevan: Quit: WeeChat 2.1
[03:28:38] andrevan: has joined #ruby
[03:28:45] andrevan: has joined #ruby
[03:28:45] andrevan: Changing host
[04:08:44] andrevan: Quit: WeeChat 2.1
[04:09:05] andrevan: has joined #ruby
[23:33:09] andrevan: Quit: WeeChat 2.1

2018-05-20

[19:18:12] andrevan: has joined #ruby
[19:18:12] andrevan: has joined #RubyOnRails

2018-05-19

[02:41:31] andrevan: Quit: WeeChat 2.1

2018-05-17

[00:12:27] andrevan: has joined #ruby
[00:12:27] andrevan: has joined #RubyOnRails
[03:37:12] andrevan: tuskkk___: don't think so, but you could trivially make one by putting a loop in the factory that sends the definition block object all of the activerecord attributes
[03:37:35] andrevan: factory :foobar do |f|

2018-05-04

[16:48:16] andrevan: Quit: WeeChat 2.1

2018-05-02

[13:43:37] andrevan: Quit: WeeChat 2.1
[23:07:43] andrevan: has joined #ruby
[23:07:43] andrevan: has joined #RubyOnRails

2018-04-30

[20:31:47] andrevan: has joined #ruby
[20:31:47] andrevan: has joined #RubyOnRails

2018-01-07

[00:01:28] andrevan: Quit: WeeChat 2.0.1

2018-01-06

[22:15:00] andrevan: has joined #ruby
[22:15:00] andrevan: has joined #RubyOnRails

2017-12-24

[08:26:07] andrevan: has joined #ruby
[08:26:07] andrevan: has joined #RubyOnRails
[22:20:06] andrevan: Quit: WeeChat 2.0.1

2017-12-09

[04:58:59] andrevan: has joined #ruby
[06:04:18] andrevan: Quit: WeeChat 2.0

2017-09-24

[19:30:42] andrevan: has joined #ruby
[19:30:42] andrevan: has joined #RubyOnRails
[19:31:58] andrevan: Client Quit

2017-06-30

[02:31:41] andrevan: has joined #ruby
[02:31:41] andrevan: has joined #RubyOnRails
[04:29:24] andrevan: Quit: WeeChat 1.9

2017-05-06

[00:22:26] andrevan: has joined #RubyOnRails
[00:22:27] andrevan: has joined #ruby
[01:44:50] andrevan: Quit: WeeChat 1.7.1

2017-05-04

[02:28:29] andrevan: has joined #RubyOnRails
[02:28:30] andrevan: has joined #ruby
[03:11:45] andrevan: *.net *.split
[03:20:10] andrevan: has joined #ruby
[03:20:10] andrevan: has joined #RubyOnRails
[16:28:45] andrevan: Quit: WeeChat 1.7.1

2017-03-13

[02:44:05] andrevan: Quit: WeeChat 1.7

2017-03-11

[20:22:24] andrevan: Try rvm or rbenv

2017-03-10

[21:47:18] andrevan: has joined #ruby
[21:47:18] andrevan: has joined #RubyOnRails

2015-05-11

[06:52:46] andrevan: anti-freeze: take thin out of your gemfile?
[06:52:59] andrevan: anti-freeze: check Gemfile.lock for something including that?
[06:54:39] andrevan: anti-freeze: whoa man
[06:56:20] andrevan: anti-freeze: can you use https://github.com/samuelkadolph/rainbows-rails
[06:57:43] andrevan: anti-freeze: I'm afraid you may need to do something to get websockets in production. Do you use nginx?
[06:58:26] andrevan: anti-freeze: sort of?
[06:58:58] andrevan: anti-freeze: you could spin up a redis server or something
[07:00:07] andrevan: rhizome: some form of callback hell i thought
[07:00:33] andrevan: rhizome: weird race condition or whatever
[07:05:27] andrevan: arup_r: you can use basically a regex with a route glob
[07:06:09] andrevan: arup_r: get '*a/foo/*b', to: 'test#index'
[07:07:17] andrevan: tejasmanohar: depends if you have more memory or disk and db size
[07:08:05] andrevan: tejasmanohar: https://www.digitalocean.com/community/tutorials/how-and-when-to-use-sqlite
[07:09:37] andrevan: tejasmanohar: sqlite can be a lot faster esp if you load it into memory
[07:11:08] andrevan: tejasmanohar: you can use rails s as long as you install puma
[07:13:41] andrevan: in the age of dokku, who needs heroku
[07:14:17] andrevan: rushed: both fruit, both paases
[07:14:32] andrevan: I like heroku
[07:14:38] andrevan: it's not cost-effective though
[07:14:52] andrevan: and there's more latency in that routing layer than you realize
[07:15:10] andrevan: rushed: is cloud foundry not a paas then?
[07:16:29] andrevan: not sure what's managed about it - you get AWS and install the script and then git push to AWS
[07:16:49] andrevan: self-managed, that is
[07:17:14] andrevan: I said "not sure what's self-managed about it"
[07:17:19] andrevan: your node is managed by amazon
[07:17:22] andrevan: the code is managed by upstream
[07:17:39] andrevan: here's install:
[07:17:42] andrevan: wget https://raw.github.com/progrium/dokku/v0.3.17/bootstrap.sh
[07:17:44] andrevan: sudo DOKKU_TAG=v0.3.17 bash bootstrap.sh
[07:18:27] andrevan: add your ssh key
[07:20:05] andrevan: I like heroku but it kind of feels like paying for a limo when a cab will do
[07:22:38] andrevan: tejasmanohar: if you're doing anything beyond simple stuff, use pg instead of sqlite
[07:22:58] andrevan: tejasmanohar: but I love to use sqlite for builds and tests
[07:23:22] andrevan: tejasmanohar: sqlite would work if you have under 100k or so
[07:24:53] andrevan: rushed: heroku is basically just a routing layer with a nice frontend and AWS on the backend
[07:25:54] andrevan: dokku is cool because it's a very minimalistic implementation of the git build hook thing
[07:26:27] andrevan: rushed: the bunch of smart people are overrated, especially if you are a team of smart people that want to use the real bike without the training wheels
[07:28:03] andrevan: rushed: a heroku can be had with haproxy and any of a number of "paas"es, not to be semantic but
[07:28:24] andrevan: rushed: ex. "octohost - Simple web focused Docker based mini-PaaS ..."
[07:28:28] andrevan: not my words
[07:29:01] andrevan: there are many products in the paas space now
[07:29:15] andrevan: cloud foundry, openstack, deis, flynn, docker itself I think soon
[07:29:49] andrevan: here's one: "OpDemand | Open source PaaS powered by Docker and ..."
[07:30:09] andrevan: Deis: Evolution of a Docker PAAS
[07:30:15] andrevan: Flynn vs. Deis: The Tale of Two Docker Micro-PaaS ...
[07:30:55] andrevan: etc etc, seems pretty clear the industry calls these products PaaSes
[07:31:55] andrevan: it's basically the same thing as heroku but you use the AWS interface to scale instead of hte heroku shiny dial, and if you want sendgrid or redisgoto or whatever, you gotta sign up on that website
[07:32:21] andrevan: s/long list/2
[07:33:06] andrevan: sevenseacat: some people consider wallet to be a hassle
[07:33:58] andrevan: sevenseacat: if I can get something that approximates heroku for a small portion of the price and a negligibly larger amount of setup work, that's less of a hassle in my book
[07:35:02] andrevan: sevenseacat: that seems unlikely. I've personally been at meetings where heroku sales guys sold to me
[07:35:14] andrevan: sevenseacat: it's a great product. but it's a luxury product
[07:35:51] andrevan: sevenseacat: mm, I think tejasmanohar was being pushed toward heroku, but he also said he knows how to administer a VPS
[07:36:19] andrevan: sevenseacat: IMO if you can admister a VPS you can administer a mini-PaaS or whatever you wish to call it
[07:36:32] andrevan: sevenseacat: nudged, then
[07:37:24] andrevan: sevenseacat: I think the annoying part of server admin is managing packages, which you don't need to do
[07:38:07] andrevan: sevenseacat: I don't mean it to be a squabble, apologies if you feel I am being combative
[07:39:01] andrevan: sevenseacat: hmm, I'm certainly putting forth a good faith discussion as to the merits of heroku. Perhaps that is offtopic for the rubyonrails channel. is there a #paas?
[07:59:51] andrevan: that's the name of the game

2015-03-27

[03:39:16] andrevan: anyone use Torquebox as a web server?

2015-01-06

[03:30:34] andrevan: I have also heard sorcery is lighter
[03:30:48] andrevan: or just warden without devise can work
[03:48:20] andrevan: I should get into writing programming books. Is there a book for that?
[03:49:44] andrevan: now I can write it
[03:50:13] andrevan: How to write books on programming: a live programmed guide to writing a book
[03:50:35] andrevan: which is basically an IRC channel involving a lot of ruby and latex?
[04:35:36] andrevan: I had a tivo hd unit
[04:35:43] andrevan: it had netflix etc
[04:35:55] andrevan: youtube, some other little apps and shit
[04:39:05] andrevan: 2.1.5 :004 > nil.class
[04:39:07] andrevan: => NilClass
[04:39:09] andrevan: 2.1.5 :005 > nil.class.superclass
[05:48:51] andrevan: Cache_Money: turbolinks is fast, try it for yourself. it's kind of weird though
[05:49:41] andrevan: Ryan1013: it's not about the amount of files, it's about page refreshes vs async reloads of content
[05:50:49] andrevan: Ryan1013: not necessarily, you can cache all the assets, it's still slower to refresh the page than it is to load it async
[05:53:34] andrevan: Ryan1013: but even if we are rendering the same content we already had, it will be faster to render part of the page than the whole page
[05:55:51] andrevan: Ryan1013: I didn't say it was a network thing. I am just saying it will be faster even if your asset footprint is small.
[05:56:05] andrevan: ivanskie: that makes no sense at all.
[05:56:53] andrevan: Ryan1013: turbolinks is a drop-in speed improvement. angular is a new pattern
[05:57:51] andrevan: turbolinks causes no pain at all if you are writing a strictly server side rails app with no or little js
[05:58:05] andrevan: if your js is mostly light jquery you can use a jquery turbolinks plugin
[05:58:25] andrevan: if you use ember angular backbone what have you, turn turbolinks off
[05:59:20] andrevan: bratsche, no argument there about turning it on by default, but it does actually do what it advertises, which is speed up your links on a crud app
[06:00:00] andrevan: I think it's annoying that it is opt-out
[06:00:08] andrevan: the thing itself though is pretty awesome
[06:01:14] andrevan: echosystm: try carrier_wave
[06:01:40] andrevan: it's an object wrapper for attachment uploading, but it also does resizing
[06:01:51] andrevan: which call rmagick or minimagick
[06:01:57] andrevan: or just try using one of those directly
[06:13:50] andrevan: echosystm: I'm not exactly sure what you're referring to, but chances are if you can do it in a bash script, you can do it in ruby
[06:18:21] andrevan: probably hash of args to something, have you checked the minimagick apidoc?
[06:19:29] andrevan: sure why not in this case
[06:21:59] andrevan: I've generally used minimagick since it is basically compatible with rmagick, but smaller
[06:22:10] andrevan: however I just use carrier_wave
[06:22:16] andrevan: which has like an OO definition of image formats
[06:22:40] andrevan: you get an uploader class which you can mount onto activerecord objects etc
[06:22:51] andrevan: but yeah rmagick is fine
[06:23:53] andrevan: but if you're running this once and not maintaining it and it works with File operations and a bunch of calls out to the command line why not