ethe

Activity Graph

Page 1 of 1

2016-03-24

[18:39:04] ethe: has joined #ruby
[18:40:53] ethe: I'm trying to use ruby to automate a trivial task, however Dir.glob doesnt seem to be able to handle whitespace within the strings very well https://gist.github.com/anonymous/79c841421b5145761393
[18:42:46] ethe: eam: it never gets there
[18:46:11] ethe: it doesnt error, it just doesnt find any files, because there isnt a directory with the name 'Arctic', 'Monkeys', '-', 'AM', '(2013)', or '[FLAC]', the folder is called 'Arctic Monkeys - AM (2013) [FLAC]' which is what I am passing as ARGV[0]]
[18:46:56] ethe: If I manually input 'Arctic\ Monkeys\ \-\ AM\ \(2013\)\ \[FLAC\]/**.flac' as the dir string it works fine
[18:47:13] ethe: eam: I'm escaping the spaces, and characters
[18:48:23] ethe: running: ruby aacify.rb "Arctic\ Monkeys\ \-\ AM\ \(2013\)\ \[FLAC\]/" works just fine
[18:49:31] ethe: hmm that's a good point
[19:03:51] ethe: has left #ruby: ("WeeChat 1.0.1")

2015-12-13

[01:05:54] ethe: Quit: *.net *.split

2015-12-12

[00:27:19] ethe: Quit: *.net *.split
[11:24:45] ethe: has joined #RubyOnRails
[11:24:45] ethe: has joined #ruby
[13:16:15] ethe: Quit: *.net *.splot
[13:44:13] ethe: has joined #RubyOnRails
[13:44:13] ethe: has joined #ruby
[15:46:43] ethe: Quit: *.net *.splot
[15:57:12] ethe: has joined #RubyOnRails
[15:57:12] ethe: has joined #ruby
[16:31:17] ethe: Read error: Connection reset by peer
[17:45:54] ethe: has joined #RubyOnRails
[17:45:54] ethe: has joined #ruby

2015-12-11

[01:09:30] ethe: Quit: Textual IRC Client: www.textualapp.com
[10:02:56] ethe: has joined #RubyOnRails
[10:02:56] ethe: has joined #ruby
[19:22:01] ethe: Read error: Connection reset by peer
[19:23:17] ethe: has joined #RubyOnRails
[19:23:17] ethe: has joined #ruby

2015-12-10

[00:28:56] ethe: Quit: Textual IRC Client: www.textualapp.com
[20:07:29] ethe: has joined #RubyOnRails
[20:07:29] ethe: has joined #ruby

2015-12-09

[00:23:42] ethe: Quit: Textual IRC Client: www.textualapp.com
[15:15:29] ethe: has joined #ruby
[15:15:29] ethe: has joined #RubyOnRails

2015-12-08

[17:17:50] ethe: has joined #ruby
[17:17:50] ethe: has joined #RubyOnRails
[18:24:41] ethe: Is there a formula for estimating the amount of RAM that a rails app will use?
[18:30:34] ethe: hmm ok, thanks

2015-12-07

[16:11:46] ethe: has joined #ruby
[16:11:46] ethe: has joined #RubyOnRails
[21:46:05] ethe: Quit: Textual IRC Client: www.textualapp.com

2015-12-06

[01:45:59] ethe: Ping timeout: 245 seconds
[16:52:43] ethe: has joined #ruby
[16:52:43] ethe: has joined #RubyOnRails
[22:42:25] ethe: Quit: Textual IRC Client: www.textualapp.com

2015-12-05

[01:33:56] ethe: Quit: My Mac has gone to sleep. ZZZzzz???
[11:09:24] ethe: has joined #ruby
[11:09:24] ethe: has joined #RubyOnRails

2015-12-04

[08:30:31] ethe: has joined #RubyOnRails
[08:30:32] ethe: has joined #ruby
[08:31:58] ethe: Client Quit
[08:33:08] ethe: has joined #RubyOnRails
[08:33:09] ethe: has joined #ruby
[08:33:58] ethe: Client Quit
[08:35:42] ethe: has joined #ruby
[08:35:42] ethe: has joined #RubyOnRails
[08:38:52] ethe: Client Quit
[08:39:20] ethe: has joined #ruby
[08:39:20] ethe: has joined #RubyOnRails
[08:41:19] ethe: Client Quit
[08:42:21] ethe: has joined #RubyOnRails
[08:42:22] ethe: has joined #ruby
[08:47:57] ethe: Quit: My Mac has gone to sleep. ZZZzzz???
[16:06:41] ethe: has joined #RubyOnRails
[16:06:42] ethe: has joined #ruby
[16:42:19] ethe: Quit: My Mac has gone to sleep. ZZZzzz???
[16:43:41] ethe: has joined #RubyOnRails
[16:43:42] ethe: has joined #ruby

2015-12-03

[01:12:13] ethe: jhass thank you
[02:09:18] ethe: Quit: Textual IRC Client: www.textualapp.com
[15:26:24] ethe: has joined #ruby
[15:26:24] ethe: has joined #RubyOnRails
[16:01:27] ethe: Quit: Textual IRC Client: www.textualapp.com
[16:35:26] ethe: has joined #ruby
[16:35:26] ethe: has joined #RubyOnRails
[17:10:42] ethe: I wonder if you could modify the ruby interpreter to make it interpret perl (with a ruby script)
[17:12:05] ethe: adaedra, not that :P I mean like, changing operators, builtins and whatnot to make it interpret perl
[20:01:36] ethe: Is there a more compact way to write this? https://gist.github.com/anonymous/6c05b4243a39c223ea60
[20:07:17] ethe: cac it's got hotlink protection
[20:07:51] ethe: FailBit thanks. I'm guessing it's ok to use then in one liner if statements
[20:08:04] ethe: cac use something like phantomjs
[20:09:08] ethe: Poltergeist is probably the gem you'd want
[20:09:27] ethe: http://ngauthier.com/2014/06/scraping-the-web-with-ruby.html a little out of date, but should have some infos
[21:36:29] ethe: Quit: My Mac has gone to sleep. ZZZzzz???
[21:38:03] ethe: has joined #ruby
[21:38:03] ethe: has joined #RubyOnRails
[23:21:50] ethe: Quit: My Mac has gone to sleep. ZZZzzz???

2015-12-02

[17:07:39] ethe: has joined #RubyOnRails
[23:55:33] ethe: whats the difference between = and <<?
[23:55:51] ethe: Actually, I'll just ask in #ruby.
[23:55:55] ethe: has joined #ruby
[23:56:17] ethe: What is the difference between = and << ?

2015-12-01

[00:04:51] ethe: Radar yeah it still doesnt work
[00:05:21] ethe: I fixed it though, I downloaded a jquery.min.js and put it in the vendor/javascript folde
[00:05:43] ethe: Radar I dont know what to screenshot, there isnt anything to screenshot except a "$ not found"
[00:10:07] ethe: Radar http://vgy.me/EmomkN.png https://gist.github.com/anonymous/63a088f97d8e5f99ec18
[00:11:48] ethe: https://github.com/joshdekock/alpha
[00:12:40] ethe: hey. you know what it might be... lemme try another browser
[00:13:26] ethe: nope. safari, chrome, and firefox. doesnt work in any of them
[00:14:37] ethe: rhizome suspense...
[00:15:44] ethe: argoneus, rails has very good gems
[00:16:06] ethe: well, ruby does, but they integrate well
[00:16:30] ethe: I feel like rails has the most structure
[00:17:29] ethe: Radar thanks for helping me :)
[00:17:44] ethe: I dont really know what coffeescript is
[00:17:53] ethe: I thought I had better leave it there
[00:18:58] ethe: if you were wondering what my app does: it takes bing's image of the day, and displays a clock over it
[00:19:06] ethe: similar to momentum
[00:51:50] ethe: oh god. I hate it when stuff works in dev mode, but breaks in production
[00:55:52] ethe: not sure how to, I assumed they would compile automatically
[00:57:36] ethe: Radar dokku on my own server
[01:00:39] ethe: eyyy! Radar: https://alpha.ethe.co
[01:02:48] ethe: Radar: Thanks for your help. Hopefully this is the road to structured applications rather than hacky sites whacked together with a bit of every language.
[01:04:11] ethe: I genuinely use 3 languages in my last project, a python web scraper which interfaced to a go backend (db-operator), and a lua webserver to serve the actual webapp
[01:05:14] ethe: Now to see if my app actually works, I should automatically update the picture of the day at 7am. I might as well sleep for 6 hours while i wait :)
[01:05:56] ethe: Quit: Textual IRC Client: www.textualapp.com
[16:34:29] ethe: has joined #RubyOnRails
[17:40:31] ethe: don't SPAs just use AJAX to work with an API?
[18:17:04] ethe: have a controller/view which is the SPA
[18:17:17] ethe: which serves*
[18:17:37] ethe: then just convert the rest of the application to a consumable API
[18:18:26] ethe: diegoviola something like that, your goal was to have an SPA, right?
[18:19:02] ethe: tubbo well, you need something to server the SPA
[18:19:37] ethe: actually. dont mind me.
[18:20:09] ethe: tubbo yeah, I'm awful at phrasing things today :(
[18:21:23] ethe: just do some cut & paste coding for today?
[18:21:40] ethe: so dont actually learn it fully, but just hack something together
[18:21:46] ethe: (just a thought)
[18:23:48] ethe: tubbo, what does the client expect diegoviola to do in 24 hours?
[22:52:34] ethe: Read error: Connection reset by peer
[22:53:28] ethe: has joined #RubyOnRails
[23:58:40] ethe: Quit: Textual IRC Client: www.textualapp.com

2015-11-30

[21:46:51] ethe: has joined #RubyOnRails
[21:57:30] ethe: Hi! I cant seem to get jquery to load, any ideas?
[22:00:51] ethe: I've made sure the application.js is being loaded
[22:01:22] ethe: and it has //= require jquery in it
[22:44:34] ethe: ellistaa is this for a tracker or what? tracker website?
[22:45:48] ethe: ellistaa ah ok
[23:33:36] ethe: Err, I've been trying to get jquery to work for about 2 hours now. It's the standard config (i.e. straight from rails new on rails 4.2.5 with ruby 2.2.3)
[23:33:53] ethe: I really cant get it to work, no errors or anthing, it just doesnt show up
[23:36:59] ethe: Radar, steps to reproduce: 1) Use rails 4.2.5, and ruby 2.2.3 2) rails new helloworld 3) cd helloworld 4) rails s 5) load up in a browser, jquery isnt being loaded
[23:37:57] ethe: by checking for a $ variable in the console after the page has loaded
[23:38:06] ethe: also by looking at the scripts
[23:40:23] ethe: Radar I'm not sure what happened. It works now