Eiam

Activity Graph

Page 1 of 11 | Next »

2019-08-22

[00:55:52] Eiam: *.net *.split
[01:13:43] Eiam: has joined #ruby
[01:14:11] Eiam: has joined #ruby-offtopic

2019-08-21

[11:15:07] Eiam: Ping timeout: 250 seconds
[18:48:55] Eiam: has joined #ruby
[18:48:57] Eiam: has joined #ruby-offtopic

2019-08-14

[21:12:14] Eiam: has joined #ruby-offtopic
[21:12:28] Eiam: has joined #ruby

2019-08-13

[19:10:20] Eiam: Read error: Connection reset by peer

2019-08-12

[16:35:19] Eiam: has joined #ruby-offtopic
[16:35:23] Eiam: has joined #ruby

2019-07-31

[22:42:48] Eiam: those symptoms have more to do with people viewing these things as tools to accomplish goals like 'make this problem go away and get paid money'. the foundation upon which all advancement rests!
[23:53:54] Eiam: Quit: Textual IRC Client: www.textualapp.com

2019-07-30

[11:20:03] Eiam: Ping timeout: 248 seconds
[21:07:59] Eiam: has joined #ruby
[21:08:07] Eiam: has joined #ruby-offtopic

2019-07-25

[23:30:15] Eiam: Scriptonaut: take an old branch? https://github.com/pry/pry/issues/1091
[23:32:28] Eiam: https://github.com/pry/pry/tree/v0.9.12.6

2019-07-19

[19:59:55] Eiam: zave: ask yer question
[20:02:30] Eiam: glosoli: yes those are totally different commands? =0
[20:02:54] Eiam: glosoli: in one, you are using your bundle file to manage the dependencies and in the other you are just installing a gem
[20:03:19] Eiam: glosoli: right, which gives you a lockfile to help deploy your dependencies
[20:04:11] Eiam: glosoli: you should read up on what bundler does (https://bundler.io) so you understand what its designed to do and then you can make an informed decision about which command is appropriate to use in your specific situations.
[20:04:22] Eiam: "Bundler provides a consistent environment for Ruby projects by tracking and installing the exact gems and versions that are needed."
[20:04:40] Eiam: `gem install rake` == give me whatever shit is out there
[20:04:51] Eiam: `bundle install rake` == give me the shit defined in my bundle file
[20:05:37] Eiam: (bundle install <gem> doesn't really make sense)
[20:06:09] Eiam: since the gemfile specifies the gems
[20:06:52] Eiam: yeah i also realized i just mentally short handed that into 'bundle install' (gem file contains gem 'rake' ) which wouldn't help you understand the problem lol
[20:07:34] Eiam: glosoli: right =)
[20:08:50] Eiam: not quite sure I follow that one, you can specify in your bundle file a development grouping of dependencies
[20:09:15] Eiam: glosoli: rake is just another gem, yes. as is bundle for that mater.
[20:09:45] Eiam: glosoli: you can specify group dependencies in bundler, https://bundler.io/v1.12/groups.html
[20:11:27] Eiam: havenwood: seems weird, why pull them into gems? just to make the core smaller?
[20:11:45] Eiam: out of band revs?
[20:12:22] Eiam: glosoli: rake can be uninstalled.
[20:12:42] Eiam: if your product needs it, you should declare it
[20:13:19] Eiam: i.e. bundler will be there if ruby is there. rake may not be there if ruby is there.
[20:13:51] Eiam: havenwood: yeah, fair.
[20:14:28] Eiam: glosoli: its in the topic
[20:14:38] Eiam: Books: https://goo.gl/wpGhoQ |
[20:18:28] Eiam: but can it be applied to the Human object?
[20:19:05] Eiam: glosoli: of course =)

2019-07-16

[22:48:32] Eiam: baweaver: contrast with https://arxiv.org/pdf/1904.09954.pdf ?
[22:49:09] Eiam: baweaver: also, "Many a company in the Bay Area are built on the burned out husks of engineers on the spectrum without the knowledge of their own limits." ha
[22:49:40] Eiam: I literally tell new hires every fucking day "this place was built on the corpses of young idealist, there are a thousand more waiting to trample over your corpse, don't do it."
[22:50:29] Eiam: there is always a fire around the corner ready to keep burning you up

2019-07-15

[18:10:04] Eiam: you are reading a single line from a file, spinning off a new fiber to process it and continuing on with the read?
[18:10:21] Eiam: that SOUNDS like the overhead alone would create astounding perf impact
[18:10:35] Eiam: that you are saying its faster is making me dig deeper into my mental model =)
[18:29:34] Eiam: which is basically a cache implementation of fiber =P
[18:30:05] Eiam: whats it built on in ruby for macOS, libpthread?
[18:30:31] Eiam: wonder if ruby ever took advantage of the new allocator in macOS
[18:36:22] Eiam: havenwood: 10.14.5 has a new allocator for 32 GB and higher configurations to take advantage of the crazy ram people want to use with data processing etc

2019-07-02

[00:53:51] Eiam: Rubys so great I just shove my PoC into production!
[00:53:56] Eiam: thats what you are supposed to do right?

2019-06-24

[17:44:50] Eiam: sherbet, sorbet with the richness =)
[17:45:06] Eiam: rainbow sherbet reigns supreme as the greatest flavor of all time

2019-06-18

[15:40:43] Eiam: Ping timeout: 248 seconds
[18:21:37] Eiam: has joined #ruby
[18:21:41] Eiam: has joined #ruby-offtopic

2019-06-17

[17:24:29] Eiam: has joined #ruby-offtopic
[17:24:29] Eiam: has joined #ruby

2019-06-14

[03:22:03] Eiam: *.net *.split
[03:38:47] Eiam: has joined #ruby-offtopic
[03:38:50] Eiam: has joined #ruby
[16:50:24] Eiam: Quit: Textual IRC Client: www.textualapp.com

2019-06-13

[21:51:46] Eiam: Quit: Textual IRC Client: www.textualapp.com
[21:54:21] Eiam: has joined #ruby
[21:54:27] Eiam: has joined #ruby-offtopic

2019-06-11

[20:30:28] Eiam: has joined #ruby

2019-06-07

[16:40:27] Eiam: Ping timeout: 250 seconds

2019-05-31

[01:31:59] Eiam: whats with the stabby operater there
[01:33:23] Eiam: oh cause you wanted it to be callable via &adds later on
[01:40:28] Eiam: javascript is a functional language, change my mind!
[01:41:09] Eiam: baweaver: I understand the nuance you are drawing bu tonly cause I used to be in #haskell =)
[17:49:09] Eiam: Ping timeout: 250 seconds
[18:23:41] Eiam: has joined #ruby
[18:23:53] Eiam: has joined #ruby-offtopic

2019-05-30

[03:15:57] Eiam: everyone in las vegas?
[03:24:36] Eiam: shows how much I gamble
[22:16:29] Eiam: has joined #ruby-offtopic
[22:16:46] Eiam: I always kind of liked that #ruby was slightly offtopic
[22:16:54] Eiam: while also being on topic

2019-05-29

[03:51:39] Eiam: wait what the fuck am i reading
[03:51:57] Eiam: ugh brain
[03:54:44] Eiam: whats splat [n] supposed to do
[03:54:48] Eiam: irb says its not valid
[03:55:02] Eiam: SyntaxError: (irb):1
[23:47:57] Eiam: i had sad days, oh oby

2019-05-24

[17:58:14] Eiam: Ping timeout: 252 seconds

2019-05-20

[16:42:22] Eiam: Ping timeout: 252 seconds
[18:13:31] Eiam: has joined #ruby

2019-05-13

[17:50:10] Eiam: Ping timeout: 252 seconds
[17:56:48] Eiam: has joined #ruby

2019-05-06

[19:00:07] Eiam: Ping timeout: 276 seconds
[22:15:43] Eiam: has joined #ruby

2019-05-01

[17:11:16] Eiam: heh im still deploying some projects on 2.1
[17:11:18] Eiam: fire and forget

2019-04-29

[18:26:54] Eiam: Quit: Textual IRC Client: www.textualapp.com
[20:06:57] Eiam: has joined #ruby

2019-04-26

[01:24:26] Eiam: Read error: Connection reset by peer
[16:23:38] Eiam: has joined #ruby

2019-04-23

[03:36:37] Eiam: Read error: Connection reset by peer
[16:31:47] Eiam: has joined #ruby

2019-04-22

[17:07:11] Eiam: has joined #ruby

2019-04-01

[16:38:52] Eiam: Ping timeout: 250 seconds

2019-03-25

[16:46:30] Eiam: has joined #ruby

2019-03-22

[20:04:54] Eiam: Quit: Textual IRC Client: www.textualapp.com

2019-03-20

[22:21:26] Eiam: Ping timeout: 252 seconds
[22:21:47] Eiam: has joined #ruby

2019-03-19

[21:35:15] Eiam: Ping timeout: 252 seconds
[21:37:05] Eiam: has joined #ruby

2019-03-15

[00:04:31] Eiam: has joined #ruby

2019-03-14

[09:21:13] Eiam: Read error: Connection reset by peer
[20:10:33] Eiam: has joined #ruby
[23:54:54] Eiam: Ping timeout: 252 seconds

2019-03-12

[14:09:42] Eiam: *.net *.split
[16:48:27] Eiam: has joined #ruby

2019-03-05

[01:07:27] Eiam: you could just put them in a struct
[01:08:13] Eiam: modules are for namespacing and mixins
[01:12:12] Eiam: its namespaced where you create it
[01:12:29] Eiam: if you put it in a module, then its in the module. in a class then its in the class. in a block then its in the block
[01:13:16] Eiam: if this is just a single .rb trying to poke at some problem that doesn't seem 'bad'
[01:13:30] Eiam: I do it all the time but I could be the worst programmer in the world =)
[01:25:46] Eiam: declare it at the top? =)
[01:29:13] Eiam: uhmm. I personally prefer to write code that solves the problem I'm trying to solve then worry about how the style fits and what problems I had/didn't have with it, especially if its just a throw away script
[01:30:45] Eiam: why are you forcing this to one line? is there some kind of quota on newlines?
[01:31:31] Eiam: ah, you can use https://dpaste.de for easy formatting too
[01:36:25] Eiam: depends on what expensive_rest_call_to_get_creds() returns
[01:37:15] Eiam: if it returns false, it could change on subsequent calls
[01:37:37] Eiam: otherwise yes it should do what you want
[01:38:48] Eiam: a ||= b is "a || b"
[01:38:53] Eiam: yes, it would be set to false
[01:39:01] Eiam: >> a ||= false
[01:39:16] Eiam: uh works in irb
[01:39:21] Eiam: ACTION pokes ruby[bot] 
[01:39:50] Eiam: a = a || b rather, omitted the first part =)
[01:40:14] Eiam: bjpenn: it would go from 'nil' to 'false' which isn't quite the same thing. probably doesn't matter
[01:40:28] Eiam: until its 2am and your code isn't working

2019-03-04

[17:26:05] Eiam: Ping timeout: 268 seconds
[19:30:13] Eiam: has joined #ruby

2019-02-27

[21:42:15] Eiam: pry byebug

2019-02-25

[17:44:55] Eiam: has joined #ruby

2019-02-12

[17:57:05] Eiam: Ping timeout: 250 seconds
[18:50:29] Eiam: has joined #ruby
[19:04:36] Eiam: Ping timeout: 240 seconds

2019-02-06

[00:28:23] Eiam: has joined #ruby
[21:29:01] Eiam: pry changed the way I debug ruby =)
[21:29:36] Eiam: these days I write most of my code INSIDE a halted pry session, then pop it back into the file
[21:29:39] Eiam: sad but true
[21:38:27] Eiam: I halt right where the new code would go so it operates in the right context
[21:38:35] Eiam: state is 'as it should be' when its running

2019-02-05

[23:24:44] Eiam: Read error: Connection reset by peer

2019-02-04

[18:11:35] Eiam: Ping timeout: 268 seconds
[18:15:46] Eiam: has joined #ruby

2019-01-28

[18:18:34] Eiam: has joined #ruby

2019-01-26

[00:07:33] Eiam: people would stare at a blank cursor forever
[00:07:53] Eiam: they'd have to wait for me to shower, sleep, build it all in my head, then write some horrible code that I deleted 10 times..
[13:37:18] Eiam: Ping timeout: 268 seconds

2019-01-24

[18:00:04] Eiam: Ping timeout: 264 seconds
[18:03:05] Eiam: has joined #ruby

2019-01-23

[20:09:41] Eiam: ? this one is great
[20:10:42] Eiam: there are ruby communities all over, local meet ups, conferences, slack groups
[20:11:01] Eiam: hell i have internal corporate mailing lists JUST for ruby people
[20:11:15] Eiam: beats me I use slack 1.0, IRC. =)
[22:15:41] Eiam: imajes: maybe find some more communities to hang out in beyond just #ruby then? =)
[22:16:08] Eiam: you can start a game of #idlerpg or pop over to Rails, Swift... all kinds of stuff if you look

2019-01-18

[18:15:53] Eiam: ruby[bot] is bae
[18:55:36] Eiam: if your date can't understand what you are saying http://www.rubyinside.com/advent2006/4-ruby-obfuscation.html , is it really a good date?

2019-01-17

[01:11:53] Eiam: Ping timeout: 268 seconds
[18:03:35] Eiam: has joined #ruby

2019-01-16

[00:51:20] Eiam: has joined #ruby

2019-01-10

[18:23:58] Eiam: Quit: Textual IRC Client: www.textualapp.com

2019-01-09

[18:36:46] Eiam: https://github.com/nahi/logger/issues/3
[18:36:46] Eiam: lol what the hell
[18:38:47] Eiam: come back from holiday and super old shit fails to deploy now thanks bud

2019-01-07

[16:29:05] Eiam: Ping timeout: 268 seconds

2019-01-04

[22:35:24] Eiam: in console whats your staff.first.is_admin? value
[22:37:29] Eiam: your first line makes it sound like that value is false, since line 3 shows false. if is_admin is false, the next call will be false && super(true) which can only return false
[22:37:33] Eiam: Scriptonaut: ^
[22:38:49] Eiam: so then its false && super(true) as the return value on line 4, which we already established must be false because it says false in your output.
[22:39:36] Eiam: right so I don't get the bug
[22:39:40] Eiam: its working exactly as the code says
[22:40:17] Eiam: oh, something to do with how irb echos statements or something
[22:40:26] Eiam: i don't think thats the return value of your statement
[22:43:37] Eiam: whats the implementation of receive_direct_message_alerts
[22:45:12] Eiam: i mean do you have receive_direct_message_alerts and receive_direct_message_alerts=
[22:45:57] Eiam: because it looks like you are calling two different implementations and wondering why each has its own return value
[22:46:04] Eiam: but I only see one implementation, receive_direct_message_alerts=
[22:48:33] Eiam: okay... what I'm saying is you could be calling "methodA" and it gives you false. later you call "methodB" and it gives you true, then you again call "methodA" and it gives you false again, which is expected...
[22:49:36] Eiam: receive_direct_message_alerts and receive_direct_message_alerts= aren't the same method , they could be defined totally different
[22:54:15] Eiam: it behaves the same on 2.3.7
[22:56:04] Eiam: if you split your assignment out into its own line
[22:56:07] Eiam: the behavior will change
[22:56:27] Eiam: i thought assignment in comparisons were frowned upon
[22:56:48] Eiam: on line 6 if you set @x = flag, then do false && @x you'll see it shifts
[22:58:57] Eiam: oh you are counting on the early exit to avoid the assignment
[22:59:46] Eiam: Scriptonaut: yeah, that is interesting
[22:59:51] Eiam: i don't know why you are seeing that behavior in console

2019-01-02

[18:35:41] Eiam: has joined #ruby
[20:31:49] Eiam: happy new year rubyist
[20:32:01] Eiam: another year of helping people with their homework
[21:07:39] Eiam: and maybe professionals with their workwork =)
[21:42:53] Eiam: funny most of my workwork in ruby involves figuring out how to slice data into various views
[21:44:04] Eiam: thats kind of like pizza!
[21:44:28] Eiam: Ruby: The ultimate pizza cutter
[21:45:42] Eiam: ACTION writes a single line of Ruby to enumerate the pizza 15 times to pull the one pepperoni he wants from the whole pizza 
[22:01:54] Eiam: was more a jab at people constantly enumerating large structures poorly =)
[22:03:12] Eiam: I just turn it all into hashes so lookup is super easy!
[22:36:00] Eiam: did you just encode a pizza
[22:36:22] Eiam: oh AND you got a .tap in there to abuse, look at you
[22:38:08] Eiam: hehe that was a thing when I was in high school
[22:39:16] Eiam: didn't Why used to do weird ruby code
[22:57:13] Eiam: your circle isn't one?

2018-12-24

[17:24:04] Eiam: Ping timeout: 264 seconds

2018-12-21

[22:42:03] Eiam: sagax: the docs http://ruby-doc.org/core-2.5.3/Kernel.html#method-i-60
[22:43:14] Eiam: isene: chruby and ruby-install?
[22:43:23] Eiam: sagax: "click to toggle source"
[22:43:26] Eiam: in the docs.
[22:43:58] Eiam: it will literally show the implementation, not sure how much more direct how it works gets!

2018-12-20

[21:49:17] Eiam: reminds me of all the people using ruby to parse version strings in macOS and getting that 10.10 was less than 10.9
[23:41:25] Eiam: havenwood: or just call the appkit API? =)

2018-12-19

[18:01:18] Eiam: gem "pry-remote"
[18:01:32] Eiam: havenwood: ahh yes it was DRB!!!
[18:01:51] Eiam: https://ruby-doc.org/stdlib-1.9.3/libdoc/drb/rdoc/DRb.html
[18:19:36] Eiam: Inside: just use chruby and run your unit tests?
[18:19:48] Eiam: if it looks good, deploy to QA and verify then off to production?
[19:48:57] Eiam: considering I pay people on my team to do code reviews
[19:49:12] Eiam: I'd find it mildly offensive to request free code reviews as an actual task =)
[19:50:13] Eiam: Zarthus: not disputing it as a random thing, but as an actual like ongoing action to just have all your code get reviewed here?
[19:50:39] Eiam: yeah, probably legal ones =)
[19:58:48] Eiam: WA9ACE: when you go into an ios dev channel on slack its got 3000 people or more. good luck.
[19:59:17] Eiam: I know most the active people here and have seen and conversed with them off and on for years. hard to do that in slack groups that big
[20:00:03] Eiam: even ##javascript can get rough to follow, its 1111 people
[20:01:25] Eiam: whose that, Big OSS?