ellisTAA

Activity Graph

Page 1 of 21 | Next »

2016-07-31

[00:19:36] ellisTAA: has joined #ruby
[00:27:11] ellisTAA: Quit: ellistaa

2016-07-30

[13:57:25] ellisTAA: has joined #ruby
[14:33:33] ellisTAA: Ping timeout: 265 seconds
[14:36:51] ellisTAA: has joined #ruby
[14:41:15] ellisTAA: Client Quit
[14:41:45] ellisTAA: has joined #ruby
[15:01:53] ellisTAA: functional programming is not by any means concurrent right? id have to write functional code that is also concurrent if i wanted both?
[15:02:01] ellisTAA: oops wrong channel
[15:30:04] ellisTAA: Quit: ellistaa
[15:41:42] ellisTAA: has joined #ruby
[15:44:46] ellisTAA: Client Quit
[15:45:16] ellisTAA: has joined #ruby
[15:47:11] ellisTAA: Client Quit
[15:50:48] ellisTAA: has joined #ruby
[15:59:38] ellisTAA: Ping timeout: 250 seconds
[16:04:01] ellisTAA: has joined #ruby
[16:15:10] ellisTAA: Quit: ellistaa
[16:39:12] ellisTAA: has joined #ruby
[17:06:07] ellisTAA: Quit: ellistaa
[17:12:15] ellisTAA: has joined #ruby
[17:44:20] ellisTAA: Quit: ellistaa
[18:50:35] ellisTAA: has joined #ruby
[19:14:56] ellisTAA: Quit: ellistaa
[19:19:24] ellisTAA: has joined #ruby
[21:16:59] ellisTAA: Quit: ellistaa
[21:27:01] ellisTAA: has joined #ruby
[21:33:21] ellisTAA: Quit: ellistaa
[21:44:03] ellisTAA: has joined #ruby
[21:49:43] ellisTAA: Quit: ellistaa
[21:59:00] ellisTAA: has joined #ruby
[22:22:58] ellisTAA: Quit: ellistaa
[22:44:29] ellisTAA: has joined #ruby
[23:09:09] ellisTAA: Quit: ellistaa
[23:16:03] ellisTAA: has joined #ruby
[23:22:51] ellisTAA: Quit: ellistaa
[23:48:28] ellisTAA: has joined #ruby
[23:51:23] ellisTAA: Client Quit

2016-07-29

[14:06:11] ellisTAA: has joined #ruby
[14:07:04] ellisTAA: im building an app kinda like instagram and i was thinking id store the images on s3 … does this sound like a good idea? then id just send the user the url for their browser to display the img?
[14:20:46] ellisTAA: Quit: ellistaa
[14:26:28] ellisTAA: has joined #ruby
[14:30:51] ellisTAA: Client Quit

2016-07-19

[02:27:15] ellisTAA: has joined #ruby
[02:31:09] ellisTAA: has left #ruby: ()

2016-07-18

[04:38:14] ellisTAA: has joined #ruby
[06:22:54] ellisTAA: Quit: ellistaa

2016-07-17

[20:31:34] ellisTAA: has joined #ruby
[20:32:13] ellisTAA: im trying to learn C, anyone know if ‘static int users = 10;’ is the same as @user = 10 in ruby?
[20:33:39] ellisTAA: ok but in ruby @ allows u to preserve value across calls
[20:33:50] ellisTAA: u dont need a class to use @
[20:34:16] ellisTAA: so it is like @
[20:34:51] ellisTAA: oh ok so its a bit dif
[20:35:48] ellisTAA: so its like $ but its also scoped
[20:36:41] ellisTAA: if i dont use static then the variable does not get saved across function calls
[20:37:26] ellisTAA: interesante
[20:57:21] ellisTAA: Quit: ellistaa

2016-06-09

[00:15:56] ellisTAA: has joined #ruby
[00:20:03] ellisTAA: Ping timeout: 240 seconds

2016-06-08

[03:02:51] ellisTAA: has joined #ruby
[03:03:28] ellisTAA: how would you define a 10x programmer?
[03:04:56] ellisTAA: elomatreb: what is the non buzzword for 10x programmer
[03:07:40] ellisTAA: what would make a progrmmer top knotch
[03:09:52] ellisTAA: Quit: ellistaa
[03:16:01] ellisTAA: has joined #ruby
[03:47:02] ellisTAA: Quit: ellistaa
[03:52:55] ellisTAA: has joined #ruby
[04:04:29] ellisTAA: Quit: ellistaa
[15:07:08] ellisTAA: has joined #ruby
[15:19:56] ellisTAA: Quit: ellistaa

2016-05-22

[15:03:31] ellisTAA: has joined #ruby
[15:03:56] ellisTAA: im trying to make it so this method doesn’t actually get called during this test: https://gist.github.com/ellismarte/13b9f091a147c41e2679770604284bcb#file-person-rb-L11
[15:04:14] ellisTAA: this is what i tried but the test still passes https://gist.github.com/ellismarte/13b9f091a147c41e2679770604284bcb#file-person_spec-rb-L30-L31
[15:07:16] ellisTAA: jhass so would i do person = Person.new, Person.stub(:get_greeting)
[15:08:40] ellisTAA: jhass: ok that’s returning nil, i thought i was supposed to get {}
[15:08:43] ellisTAA: and empty object
[15:10:35] ellisTAA: thought i read it in the docks
[15:11:07] ellisTAA: awesome, thanks for the help
[15:11:59] ellisTAA: jhass: why not?
[15:12:27] ellisTAA: what if its like a http call that requires auth and i dont have auth in local? i was planning to stub that
[15:12:44] ellisTAA: yeah just wanted to figure out how it works
[15:13:00] ellisTAA: realized i wrote terrible tests last friday at work so now i have to go back and fix them
[15:13:32] ellisTAA: jhass: ok cool
[15:14:00] ellisTAA: iwmrby: i dont think Time.now is unix timestamp
[15:14:30] ellisTAA: oh i think its Time.now.to_I
[15:15:26] ellisTAA: declaration?
[15:19:14] ellisTAA: dang yeah that sucks its not an option
[15:26:55] ellisTAA: Quit: ellistaa
[15:37:33] ellisTAA: has joined #ruby
[15:43:21] ellisTAA: Quit: ellistaa
[17:24:45] ellisTAA: has joined #ruby
[17:26:19] ellisTAA: Client Quit
[17:26:58] ellisTAA: has joined #ruby
[17:33:57] ellisTAA: Ping timeout: 260 seconds
[17:40:40] ellisTAA: jhass: is a stub just a fake method while a mock is a fake instance of a class?
[17:42:59] ellisTAA: so if i created a class called MockPerson to take the place of the Person class, that would be a mock?
[17:49:43] ellisTAA: apeiros: when would i choose to use a mock over a stub then
[18:12:30] ellisTAA: apeiros: im afraid i dont quite understand … would u be able to give an example? if not its ok
[18:41:05] ellisTAA: Quit: ellistaa
[19:34:21] ellisTAA: has joined #ruby
[19:37:42] ellisTAA: so if i wanted to test the orm, i would create a fake calss called mock orm and then test that its being called?
[21:59:55] ellisTAA: Quit: ellistaa
[22:09:05] ellisTAA: has joined #ruby
[22:11:30] ellisTAA: Client Quit
[22:11:56] ellisTAA: has joined #ruby
[22:16:35] ellisTAA: Client Quit

2016-05-15

[00:06:01] ellisTAA: Quit: ellistaa
[00:09:27] ellisTAA: has joined #ruby
[01:05:17] ellisTAA: Quit: ellistaa
[01:06:10] ellisTAA: has joined #ruby
[01:36:23] ellisTAA: Quit: ellistaa
[01:36:52] ellisTAA: has joined #ruby
[01:40:03] ellisTAA: what is the best way to make an HTTP get request? is there a gem everyone uses or something in standard library?
[01:40:46] ellisTAA: Radar: i remember using that & i liked it. do you think its secure enough for me to use @ work?
[01:40:51] ellisTAA: like would most corporations OK it
[01:41:54] ellisTAA: Radar: some companies dont let devs use any gem they want, do you think HTTParty is secure / credible enough that most corporations would be like ‘ok use that'
[01:42:30] ellisTAA: Radar: lets say google
[01:43:07] ellisTAA: no not at all
[01:43:45] ellisTAA: do u not have the ability to discern weather a gem is relatively credible or absolutely not, why is this such a difficult question for u
[01:44:26] ellisTAA: if its so obvious why did u make it so difficult
[01:44:51] ellisTAA: thats my thought, just getting a second opinion perhaps there’s something im not aware of
[01:46:48] ellisTAA: has left #ruby: ()

2016-05-14

[18:01:19] ellisTAA: has joined #ruby
[18:01:39] ellisTAA: when i write unit tests, do i only want to test input and output since i’m testing for behavior not implementation?
[18:01:51] ellisTAA: so i dont really care what the internal is doing?
[18:07:02] ellisTAA: jhass: was that an answer to my question? or someone elses i just came in the room.
[18:07:06] ellisTAA: side effects?
[18:08:53] ellisTAA: so if i had a method Person.new, i would test the incoming params, the output, and then i’d check to see if the db got a new person or something?
[18:09:45] ellisTAA: cool … thank you
[19:31:10] ellisTAA: Quit: ellistaa
[23:51:00] ellisTAA: has joined #ruby

2016-05-04

[00:14:56] ellisTAA: has joined #ruby
[00:15:30] ellisTAA: if i run exec ruby in terminal it seems to start a ruby process, how can i end that process without killing the processs?
[00:27:20] ellisTAA: Quit: ellistaa
[00:30:04] ellisTAA: has joined #ruby
[00:30:57] ellisTAA: Read error: Connection reset by peer
[00:31:44] ellisTAA: has joined #ruby
[00:31:58] ellisTAA: Client Quit
[00:34:10] ellisTAA: has joined #ruby
[00:38:00] ellisTAA: Client Quit
[00:40:05] ellisTAA: has joined #ruby
[00:40:53] ellisTAA: Read error: Connection reset by peer
[00:41:35] ellisTAA: has joined #ruby
[00:42:46] ellisTAA: Client Quit

2016-04-13

[18:43:51] ellisTAA: has joined #ruby
[18:44:22] ellisTAA: has left #ruby: ()

2016-03-29

[00:41:04] ellisTAA: Quit: ellistaa
[01:39:29] ellisTAA: has joined #ruby
[01:48:13] ellisTAA: Quit: ellistaa
[02:03:50] ellisTAA: has joined #ruby
[02:25:41] ellisTAA: Quit: ellistaa
[02:41:39] ellisTAA: has joined #ruby
[03:27:20] ellisTAA: Quit: ellistaa
[03:27:47] ellisTAA: has joined #ruby
[07:36:15] ellisTAA: Quit: ellistaa

2016-03-28

[23:33:00] ellisTAA: has joined #ruby
[23:33:11] ellisTAA: i feel like this code smells … https://gist.github.com/ellismarte/07e727ebf56b57ebce5b
[23:35:17] ellisTAA: Ox0dea: oh yeah
[23:40:38] ellisTAA: yeah thats a good point

2016-03-25

[02:11:57] ellisTAA: Quit: ellistaa
[03:01:24] ellisTAA: has joined #ruby
[03:34:38] ellisTAA: Quit: ellistaa

2016-03-24

[23:19:02] ellisTAA: has joined #ruby
[23:19:49] ellisTAA: im creating something similar to an amazon clone. im thinking since there are many items that ill use nosql for the items and rdb for users …. good idea?
[23:22:43] ellisTAA: i guess the other option is to just use an rdb and have a field in item model that is of type json …

2016-02-27

[23:06:09] ellisTAA: has joined #RubyOnRails
[23:06:10] ellisTAA: maybe places & index …
[23:06:10] ellisTAA: i’m trying to create a clone of air bnb. on their landing page they have a search box. and i’m trying to come up with a route for that post request … i was thinking the resource would be search and the action would be results …. could someone help
[23:15:44] ellisTAA: tbuehlmann: i guess the model would be Place … and the search would look for places that match city, availabiity, and guests size, and price
[23:16:48] ellisTAA: tbuehlmann: what action would you send the search to?
[23:38:49] ellisTAA: Quit: ellistaa
[23:41:30] ellisTAA: im creating an air bnb clone, and im trying to come up with controller and action for when ppl sarch for a place. im currently thinking places#show … and i use {city, availability, number_of_guests, price} params to query db. can someone say whether this is good design or bad design?
[23:41:30] ellisTAA: has joined #RubyOnRails
[23:43:59] ellisTAA: the other idea is to have a search controller … and a places action?

2016-02-19

[21:13:06] ellisTAA: has joined #ruby
[21:13:19] ellisTAA: anyone know the ruby off topic channel?
[21:13:26] ellisTAA: has joined #ruby-offtopic
[21:16:44] ellisTAA: i started my first job as a programmer this week. it was extremely hard. like extremely extremely hard. i’ve been working from 8 am - 9 pm every day …. is this normal?
[21:17:42] ellisTAA: fearnothing: post your code
[21:18:15] ellisTAA: that error message has a backtick then an apostrophe
[21:18:24] ellisTAA: `require’ maybe thats the problem
[21:20:58] ellisTAA: slash_nick: hmm. what are your hours like now?
[21:21:41] ellisTAA: slash_nick: both. i haven’t finished stuff and because there are deadlines coming up …
[21:22:08] ellisTAA: it kinda sucks bc i had no real intro to the code base and i’m working with a new language.
[21:22:20] ellisTAA: dude 10 - 4 sounds fucking amazing
[21:26:45] ellisTAA: how do you handle the stress
[21:27:46] ellisTAA: i dont think you have access to require
[21:29:11] ellisTAA: does require work for the other file?
[21:29:28] ellisTAA: if it does maybe you dont have Bundler. if thats the case install it
[21:31:46] ellisTAA: slash_nick: stress of being a programmer.
[21:31:59] ellisTAA: having something do and you can’t figure it out
[21:34:29] ellisTAA: fearnothing: yes to the first question
[21:35:09] ellisTAA: are you able to require rubygems?
[21:35:21] ellisTAA: if so install bundler
[21:36:05] ellisTAA: gem install bundler
[21:36:54] ellisTAA: try restarting the console
[21:40:13] ellisTAA: slash_nick: its cool
[21:40:19] ellisTAA: has left #ruby: ()
[21:40:48] ellisTAA: has left #ruby-offtopic: ()

2016-02-14

[01:22:05] ellisTAA: Quit: ellistaa

2016-02-13

[20:17:31] ellisTAA: has joined #ruby
[20:17:50] ellisTAA: if someone says ???namespace it??? does that mean just put it in a modele or class?
[20:19:12] ellisTAA: centrx: why not class also
[20:19:35] ellisTAA: wikipedia says ???A namespace in computer science (sometimes also called a name scope), is an abstract container or environment created to hold a logical grouping of unique identifiers or symbols (i.e. names). An identifier defined in a namespace is associated only with that namespace.'
[20:20:13] ellisTAA: centrx: got it. thanks you
[20:20:33] ellisTAA: jhass: got it. we never instantiate a module do we? we just use it ..?
[20:22:07] ellisTAA: jhass: cool thanks
[20:31:34] ellisTAA: Ox0dea: thanks
[20:31:53] ellisTAA: Ox0dea: i started reading that book about computation that you recommended. dense shit
[20:32:08] ellisTAA: tom stuarts
[21:22:46] ellisTAA: Quit: ellistaa
[21:23:12] ellisTAA: has joined #ruby
[21:39:28] ellisTAA: if someone says ???its a built-in??? does that mean it just comes with the languages core library?
[22:26:32] ellisTAA: Quit: ellistaa
[22:27:19] ellisTAA: has joined #ruby
[23:14:33] ellisTAA: Quit: ellistaa
[23:15:26] ellisTAA: has joined #ruby
[23:17:07] ellisTAA: Client Quit
[23:29:06] ellisTAA: has joined #ruby
[23:33:26] ellisTAA: Ping timeout: 240 seconds
[23:49:24] ellisTAA: has joined #ruby

2016-02-05

[04:00:01] ellisTAA: has joined #RubyOnRails
[04:00:38] ellisTAA: i???m trying to use the paperclip gem and on my form i???m getting an error ???input undefined method??? https://gist.github.com/ellismarte/73aa97c0caa682fa037a#file-form-rb-L11
[04:05:20] ellisTAA: Quit: ellistaa
[04:20:07] ellisTAA: has joined #RubyOnRails
[04:50:47] ellisTAA: Quit: ellistaa
[04:53:18] ellisTAA: has joined #RubyOnRails
[05:38:23] ellisTAA: Quit: ellistaa
[06:06:47] ellisTAA: has joined #RubyOnRails
[06:09:19] ellisTAA: Client Quit

2016-02-02

[00:34:48] ellisTAA: Quit: ellistaa
[21:00:09] ellisTAA: has joined #ruby
[22:39:41] ellisTAA: Quit: ellistaa

2016-02-01

[23:05:05] ellisTAA: Quit: ellistaa
[23:10:22] ellisTAA: has joined #ruby
[23:14:40] ellisTAA: Client Quit
[23:16:04] ellisTAA: has joined #ruby