Activity Graph

Page 1 of 1


[01:49:23] wormwood: has joined #elixir-lang
[01:49:23] wormwood: Changing host
[02:48:33] wormwood: Ping timeout: 244 seconds
[11:17:29] wormwood: has joined #elixir-lang
[11:43:37] wormwood: has joined #elixir-lang
[11:43:37] wormwood: Changing host
[11:55:42] wormwood: Ping timeout: 244 seconds
[11:57:30] wormwood: has joined #elixir-lang
[12:25:22] wormwood: Ping timeout: 246 seconds


[02:08:18] wormwood: Ping timeout: 244 seconds
[11:58:26] wormwood: has joined #elixir-lang
[12:34:57] wormwood: Read error: Connection reset by peer
[12:38:20] wormwood: has joined #elixir-lang


[02:20:49] wormwood: Ping timeout: 248 seconds
[11:42:25] wormwood: has joined #elixir-lang
[12:01:37] wormwood: Ping timeout: 268 seconds
[12:03:00] wormwood: has joined #elixir-lang
[12:54:19] wormwood: If I wanted to call functions from various submodules listed like ~w{ Sub1 Sub2 Sub3 Sub4 } from a TopLevel module name so that the output would be something like calling e.g. TopLevel.Sub1.function1, TopLevel.Sub2.function1, etc
[12:54:44] wormwood: would I need macros for something like this?
[12:55:26] wormwood: has joined #elixir-lang
[12:55:26] wormwood: Changing host


[02:27:55] wormwood: has joined #elixir-lang
[02:32:02] wormwood: if I have a bunch of modules that implement the same couple of functions, what would be the best way to refactor something like that?
[02:33:48] wormwood: Ankhers: same definition
[03:26:20] wormwood: Ping timeout: 272 seconds
[12:13:37] wormwood: has joined #elixir-lang
[21:25:16] wormwood: In a scenerio with pipes, how would you implement something like unix's tee to the stdout? For example: "Hello World" |> &(IO.puts &1) |> String.downcase would print "Hello World" and return "hello world"
[21:29:50] wormwood: nm ... IO.inspect :)
[21:29:54] wormwood: "It’s important to note that [IO.inspect/2] returns the given item unchanged. This makes it
[21:29:57] wormwood: possible to “spy” on values by inserting an IO.inspect/2 call almost anywhere


[14:34:09] wormwood: Quit: leaving


[17:45:20] wormwood: what are the recommended site(s) for finding elixir work?


[12:30:08] wormwood: has joined #elixir-lang
[15:37:34] wormwood: Quit: leaving
[15:38:30] wormwood: has joined #elixir-lang


[15:46:12] wormwood: Greetings all, what is thee lint (static code analysis) program for ruby? There are quite a few and was just wondering if there was one in particular that stands above the rest.
[15:47:52] wormwood: Mon_Ouie: many thanks!


[22:06:39] wormwood: Anyone prefer Puppet of Chef? If so, what reason?
[22:08:09] wormwood: tubbo: ;> no puppet lovers here I guess
[22:08:34] wormwood: Anyone prefer Puppet over Chef? If so, any reason in particular?
[22:11:34] wormwood: tubbo: nope, just doing some cursory research into each. Leaning towards Chef so far cause ruby, but was just curius if there was some compelling reason to give puppet a shot


[16:25:51] wormwood: Hey all, just wanting to say 'Hello' from RubyConf :) Just a friendly reminder that 1sale.com (gold sponser) is hiring ruby devs in Miami (Junior / Senior). Let know if anyone would be interested in working at our Oceanfront office. Lots of interesting challanges. PM to discuss. Thanks!
[16:27:05] wormwood: Let us* rather
[17:38:22] wormwood: Hey all, just wanting to say 'Hello' from RubyConf :) Just a friendly reminder that 1sale.com (gold sponser) is
[17:38:24] wormwood: hiring ruby devs (Senior / Junior) in Miami. Let us know if anyone would be interested in working at our Oceanfront office :). Lots of interesting challenges await! PM to discuss ...Thanks!


[22:26:07] wormwood: Using Sinatra for a small service api and am running into issues testing ( using rspec ). Basically the sinatra app when called with a route of '/' hits the database and returns some entries. However when using "get '/'" in rspec its not hitting the database I'm guessing because it is a mock request. Anyway around this?


[17:35:30] wormwood: anyone know what the rails4 equivalent for the variable 'app' in console is?
[17:38:15] wormwood: scyllinice: hmm, must be pry
[17:38:29] wormwood: scyllinice: when I use irb it works, but not with pry
[17:41:49] wormwood: scyllinice: ahh, I used this way of doing it: http://pastebin.com/jGzqkhrG
[17:43:18] wormwood: scyllinice: great


[18:47:39] wormwood: Hello Everyone, is there anyway to exclude a gem in Gemfile when running in development / test mode?
[18:49:05] wormwood: tubbo: oh, thats interesting, so if you list the gem in the development group and in the global space, the development entry will remove the gem from being loaded?



[18:15:59] wormwood: Is there any way to have a model delete itself after a given date without having a cron job looking for expiration dates?


[01:14:08] wormwood: In a form builder I have the code 'f.text_area :code' and instead of using the override for code ( def code; read_attribute(:code); end) its accessing the variable directly
[01:14:30] wormwood: any idea on how I can force the form builder to use the overridden model attribute
[01:14:41] wormwood: function rather*


[19:21:02] wormwood: what are the 'standard' gems used for validating user submitted html or javascript?
[19:29:30] wormwood: toretore: just that it is syntactically correct
[19:30:03] wormwood: badeball: I agree, but project requires this unfortunately :X
[19:50:00] wormwood: toretore: we need to allow the user to add html and javascript to a webpage
[19:50:44] wormwood: kojul: yeah, jslint should work find, the w3c validator would have to be local
[20:00:56] wormwood: toretore: because if the user submits malformed html, it would break the page display
[20:05:13] wormwood: kojul: yeah, your right :X its a tough problem
[20:05:59] wormwood: toretore: yes, I agree and I've underestimated how much work it takes to 'baby' a user when doing things like inserting html / javascript
[20:06:28] wormwood: oh well, I'll just pass javascript through jslint as a minimal check
[20:06:38] wormwood: hopefully its better than nothing at all
[20:07:07] wormwood: toretore: its a function of an application feature they requested
[20:07:38] wormwood: toretore: boss / customer
[20:08:09] wormwood: toretore: yep
[20:10:03] wormwood: toretore: I agree with you %100, unfortunately I'm not in a position to change that requirement. It is completely obvious to me as well ( has been ).
[20:11:33] wormwood: toretore: yes, and the answer was that if something goes wrong, the user has to take responsibility. And because I know the potential users for this I just wanted to minimize as much as a could potential breakage
[20:11:58] wormwood: toretore: but in the end, I guess given the time I have to implement this, the user is completely on their own :X
[20:12:58] wormwood: toretore: yeah. thanks for the time / input


[23:51:12] wormwood: Greetings all, anyone know of a good HTML parser to malformed html (e.g. <phello world</p>)
[23:51:31] wormwood: to find* and report errors on ^
[23:52:10] wormwood: sorry, what about within a rails app
[23:52:21] wormwood: user submitted HTML
[23:54:38] wormwood: eph3meral: thanks, looking into that now


[02:45:44] wormwood: Greetings all, I have a wonky sorting order I want to achieve. For example, column called status sorted by (status = 2) then (status = 0) then (status = 1)
[02:46:00] wormwood: what would be the best way to handle this? Straight SQL?
[02:46:14] wormwood: or can it be abstracted via ActiveRecord etc