mzo

Activity Graph

Page 1 of 4 | Next »

2019-02-07

[20:48:24] mzo: has joined #ruby
[22:11:27] mzo: Ping timeout: 240 seconds

2019-02-03

[18:21:46] mzo: has joined #ruby
[19:05:56] mzo: Ping timeout: 240 seconds

2019-01-16

[15:55:26] mzo: has joined #ruby
[17:09:02] mzo: Ping timeout: 268 seconds

2019-01-08

[19:19:40] mzo: has joined #ruby
[19:30:48] mzo: Ping timeout: 246 seconds

2019-01-03

[00:33:09] mzo: has joined #ruby
[03:27:48] mzo: Ping timeout: 250 seconds

2018-11-20

[20:09:43] mzo: has joined #ruby
[20:17:05] mzo: Quit: b-bye :3
[20:38:26] mzo: has joined #ruby
[21:28:33] mzo: Ping timeout: 272 seconds

2018-11-13

[01:07:13] mzo: Remote host closed the connection

2018-11-12

[00:00:52] mzo: well you can still use the browser while offline
[00:00:58] mzo: if you want a graphical interface
[00:01:21] mzo: of course
[00:01:27] mzo: i mean you can make your version in the browser
[00:01:52] mzo: ok i wasn't sure
[00:03:43] mzo: well i don't think you will find a tutorial specifically on how to write a reading list scheduler in ruby. why not just try making it and then when you get stuck, research something specific that you don't know how to do
[00:05:09] mzo: np, that sounds like a good idea
[00:06:22] mzo: for android apps you'd be looking at java or kotlin
[00:06:49] mzo: have fun

2018-11-11

[19:39:24] mzo: has joined #ruby
[19:44:13] mzo: Quit: mzo
[22:56:22] mzo: has joined #ruby
[22:57:33] mzo: is ruby dying bros
[23:04:41] mzo: why's it silly
[23:06:20] mzo: how does that make it silly
[23:07:35] mzo: is the number of new ruby projects started every year declining due to the rise of languages like Go and javascript
[23:08:00] mzo: rails was at one time the big thing in the world of web development
[23:10:50] mzo: well actually i'm not so sure about php
[23:11:20] mzo: it seems like it's trying to claw its way back
[23:12:06] mzo: it may not have left in terms of raw popularity
[23:12:12] mzo: but let's be real
[23:13:01] mzo: market share isn't that important to me
[23:13:13] mzo: java is dying and yet it's hugely popular
[23:13:32] mzo: for now
[23:14:00] mzo: more and more people are using alternative JVM languages, and OOP in general is going out of style
[23:14:13] mzo: java may be huge now but its future isn't very exciting
[23:14:36] mzo: meanwhile rust is not widely used but it's a very exciting language community to be a part of right now
[23:15:17] mzo: sure there are a lot of rails apps that need to be maintained but will people be choosing ruby for their new projects in 5 years? why or why not?
[23:15:26] mzo: is ruby 3 going to have a big impact on things?
[23:15:47] mzo: Radar: i don't think it's going to get much more popular than it is now
[23:15:51] mzo: re: haskell
[23:17:00] mzo: i'm actually asking because i love ruby and i want to see it thrive but i'm worried it's fading away
[23:20:32] mzo: even though PHP may be widely used still, if you actually look at job postings, who's hiring threads, etc. you don't find a ton of php jobs. i'm sure php devs can find a lot of jobs through their network but most startups won't be using it for example
[23:21:04] mzo: so sure you might be making a lot as a rails dev but is it a worthwhile investment for someone just getting into the industry?
[23:21:47] mzo: well that's the question though. are the alternatives really better, or is ruby still a competitive language?
[23:23:31] mzo: i like the philosophy of ruby
[23:23:41] mzo: extreme late binding and dynamism
[23:25:30] mzo: wow i wish i lived in Melbourne
[23:28:26] mzo: eastern canada
[23:28:46] mzo: i'll relocate eventually but i'm here for at least a few more years
[23:58:05] mzo: well if you want it to work in the browser like that, you'll need to use some html, css, and javascript
[23:59:21] mzo: you could make a command-line version using ruby (or use some GUI library but i wouldn't recommend that)

2018-11-04

[23:11:42] mzo: has joined #ruby
[23:57:51] mzo: Ping timeout: 252 seconds

2018-10-24

[17:09:49] mzo: has joined #ruby
[17:27:17] mzo: Quit: b-bye :3

2018-10-05

[00:53:04] mzo: Ping timeout: 246 seconds

2018-10-04

[03:24:00] mzo: Ping timeout: 252 seconds
[23:37:28] mzo: has joined #ruby

2018-10-03

[01:52:17] mzo: has joined #ruby
[03:07:01] mzo: Ping timeout: 268 seconds
[12:07:20] mzo: has joined #ruby
[12:37:05] mzo: Quit: b-bye :3
[22:56:20] mzo: has joined #ruby

2018-09-05

[17:34:21] mzo: has joined #ruby
[18:03:15] mzo: Ping timeout: 252 seconds

2018-08-18

[15:26:08] mzo: has joined #ruby
[16:06:38] mzo: Ping timeout: 260 seconds

2018-08-03

[13:50:37] mzo: has joined #ruby
[16:41:27] mzo: Ping timeout: 240 seconds

2018-08-01

[00:05:37] mzo: Ping timeout: 244 seconds
[12:51:15] mzo: has joined #ruby
[15:18:11] mzo: Ping timeout: 256 seconds
[16:13:34] mzo: has joined #ruby
[16:14:50] mzo: can you paste the one-liner in question
[16:55:29] mzo: Ping timeout: 248 seconds

2018-07-31

[01:53:05] mzo: Ping timeout: 240 seconds
[22:06:55] mzo: has joined #ruby
[23:19:38] mzo: leitz: generally you don't modify the source of libraries you're using
[23:20:28] mzo: sometimes you need to, but you don't just put your application code into the library
[23:21:23] mzo: well why do you even need to add methods to this class?
[23:22:31] mzo: that might be an indication that the class doesn't provide a very useful interface
[23:23:47] mzo: ok then extend it
[23:29:10] mzo: ok sure
[23:30:46] mzo: that's a pretty contrived example though. generally you don't see this in practice.
[23:31:31] mzo: but what does your program actually do?
[23:32:21] mzo: and what does this class do aside from have this small set of attributes?
[23:33:50] mzo: and the Person class?
[23:36:53] mzo: the thing about adding new instance variables to classes is that none of the existing methods know about your new variables
[23:37:04] mzo: so they can't do anything with them
[23:37:21] mzo: so then you add new methods to the class that use your new variables
[23:37:33] mzo: but really you could have just made a new class
[23:38:38] mzo: if you're extending a class in a dynamically typed programming language and not overriding any of its methods, something is kind of odd
[23:40:58] mzo: it may seem unsatisfactory to recreate a Person class with a few of the same attributes for each of your programs, so i understand the impulse to go for code re-use, but imo you should just copy and paste the class for each program

2018-07-30

[14:30:54] mzo: has joined #ruby
[14:46:46] mzo: Ping timeout: 256 seconds
[16:05:01] mzo: has joined #ruby
[17:18:57] mzo: Ping timeout: 264 seconds
[23:49:50] mzo: has joined #ruby

2018-07-29

[03:17:56] mzo: Ping timeout: 256 seconds
[14:42:25] mzo: has joined #ruby
[14:46:38] mzo: Remote host closed the connection

2018-07-28

[23:26:09] mzo: has joined #ruby

2018-07-26

[10:16:32] mzo: has joined #ruby
[11:16:49] mzo: Ping timeout: 260 seconds
[14:12:39] mzo: has joined #ruby
[14:25:37] mzo: Ping timeout: 248 seconds
[17:32:07] mzo: has joined #ruby
[17:45:54] mzo: Ping timeout: 260 seconds

2018-07-25

[17:49:27] mzo: has joined #ruby
[18:57:59] mzo: Ping timeout: 244 seconds

2018-07-23

[00:00:15] mzo: has joined #ruby
[01:24:57] mzo: Ping timeout: 240 seconds
[02:44:36] mzo: has joined #ruby
[07:41:05] mzo: Ping timeout: 240 seconds
[13:06:09] mzo: has joined #ruby
[14:09:57] mzo: Ping timeout: 240 seconds
[14:28:41] mzo: has joined #ruby
[16:04:49] mzo: Ping timeout: 248 seconds
[16:06:16] mzo: has joined #ruby
[17:30:27] mzo: Ping timeout: 240 seconds
[18:02:48] mzo: has joined #ruby
[18:45:36] mzo: Ping timeout: 256 seconds

2018-07-21

[11:13:38] mzo: has joined #ruby
[11:39:11] mzo: Ping timeout: 276 seconds

2018-07-20

[00:07:26] mzo: *.net *.split
[00:15:30] mzo: has joined #ruby
[00:20:35] mzo: Ping timeout: 240 seconds

2018-07-19

[17:28:29] mzo: has joined #ruby
[17:38:17] mzo: but why even use sprintf at this point
[17:42:34] mzo: instead of sprintf((['%s']*3).join('!'), a, b, c) why not just use [a, b, c].join('!')
[18:06:51] mzo: Ping timeout: 240 seconds
[23:11:24] mzo: has joined #ruby

2018-07-18

[18:12:21] mzo: has joined #ruby
[18:54:43] mzo: Ping timeout: 244 seconds

2018-07-11

[11:17:41] mzo: has joined #ruby
[13:55:21] mzo: Ping timeout: 240 seconds
[18:03:21] mzo: has joined #ruby
[18:52:29] mzo: Ping timeout: 244 seconds

2018-07-03

[12:37:14] mzo: has joined #ruby
[13:44:01] mzo: Ping timeout: 248 seconds

2018-06-21

[10:27:03] mzo: has joined #ruby
[12:43:59] mzo: Ping timeout: 256 seconds
[14:17:35] mzo: has joined #ruby
[15:56:51] mzo: Ping timeout: 260 seconds
[17:26:21] mzo: has joined #ruby
[18:52:51] mzo: Ping timeout: 240 seconds

2018-06-19

[17:44:53] mzo: has joined #ruby
[18:20:20] mzo: Excess Flood
[18:20:58] mzo: has joined #ruby
[21:28:48] mzo: Ping timeout: 256 seconds

2018-06-13

[05:57:53] mzo: Ping timeout: 255 seconds
[16:05:37] mzo: has joined #ruby
[17:22:20] mzo: Ping timeout: 260 seconds

2018-06-12

[13:28:39] mzo: has joined #ruby
[14:30:29] mzo: Ping timeout: 256 seconds
[15:18:34] mzo: has joined #ruby

2018-06-10

[14:31:11] mzo: has joined #ruby
[16:58:34] mzo: Ping timeout: 264 seconds
[17:04:25] mzo: has joined #ruby
[20:09:56] mzo: Ping timeout: 276 seconds

2018-06-09

[14:40:48] mzo: has joined #ruby
[16:26:30] mzo: Ping timeout: 260 seconds
[16:30:44] mzo: has joined #ruby
[18:00:27] mzo: Ping timeout: 240 seconds
[18:09:01] mzo: has joined #ruby
[20:03:13] mzo: Ping timeout: 248 seconds
[20:20:19] mzo: has joined #ruby
[21:43:50] mzo: Ping timeout: 256 seconds

2018-06-07

[18:50:06] mzo: has joined #ruby
[19:22:45] mzo: Ping timeout: 260 seconds

2018-06-06

[16:02:13] mzo: has joined #ruby
[16:34:34] mzo: Ping timeout: 264 seconds

2018-06-05

[17:02:08] mzo: has joined #ruby
[18:01:10] mzo: Ping timeout: 260 seconds

2018-06-03

[00:42:00] mzo: has joined #ruby
[01:56:51] mzo: Ping timeout: 265 seconds

2018-05-31

[13:10:39] mzo: has joined #ruby
[14:27:57] mzo: Ping timeout: 240 seconds

2018-05-23

[16:16:35] mzo: has joined #ruby
[17:16:52] mzo: Ping timeout: 245 seconds

2018-05-14

[16:03:26] mzo: has joined #ruby
[16:14:16] mzo: why don't you write ruby code to open and read the file
[16:15:40] mzo: im not sure the ruby parser will like having the binary pdf contents in the source
[16:15:50] mzo: but you could base64 encode it for example
[16:16:46] mzo: cast my_pdf.pdf | base64
[16:16:54] mzo: copy that into a string literal
[16:17:03] mzo: and then you just need some ruby function to decode it
[16:17:19] mzo: not sure if ruby standard library has base64 decoding
[16:17:25] mzo: maybe need a gem
[16:17:59] mzo: or roll your own :d
[16:18:49] mzo: cagomez: yes and it should output a huge string
[16:41:15] mzo: Ping timeout: 256 seconds

2018-05-10

[16:10:20] mzo: has joined #ruby
[17:22:38] mzo: Ping timeout: 250 seconds

2018-03-16

[14:12:58] mzo: has joined #ruby
[14:15:59] mzo: Client Quit
[14:59:14] mzo: has joined #ruby
[15:40:28] mzo: yrstrly: @to_do_list only exists within the Todolist class
[15:40:42] mzo: it's an instance variable
[15:41:28] mzo: even if it did exist, it's just an array. not a Todolist. so you wouldn't call .add on it
[15:42:26] mzo: you can call .add on an instance of the Todolist class. nothing else.
[15:42:49] mzo: @to_do_list is not an instance of the Todolist class, so you can't call .add on it.
[15:44:23] mzo: within the context of the Todolist class, @to_do_list is an Array
[15:44:35] mzo: outside of the context of the Todolist class, @to_do_list is not anything.
[15:44:45] mzo: that's why it evaluates to nil
[15:45:07] mzo: there is no context where @to_do_list is an instance of the Todolist class
[17:21:42] mzo: Quit: awoo :3

2018-03-14

[15:09:59] mzo: has joined #ruby
[15:17:14] mzo: Quit: :*
[15:19:43] mzo: has joined #ruby
[15:20:15] mzo: Client Quit
[15:20:33] mzo: has joined #ruby
[15:27:15] mzo: Quit: awoo :3
[15:29:22] mzo: has joined #ruby
[16:48:21] mzo: Ping timeout: 264 seconds

2018-03-13

[16:48:26] mzo: has joined #ruby
[17:30:14] mzo: Ping timeout: 260 seconds

2018-03-06

[18:40:12] mzo: has joined #ruby
[19:58:33] mzo: Ping timeout: 256 seconds

2017-04-25

[14:41:09] mzo: has joined #ruby
[19:14:27] mzo: Ping timeout: 240 seconds

2017-04-24

[17:22:52] mzo: has joined #ruby
[19:55:14] mzo: __urux__: use a relative path
[19:55:36] mzo: require './your_file'
[20:01:02] mzo: __urux__: paste class.rb using a pastebin website
[20:01:10] mzo: apparently there's a syntax error
[22:19:56] mzo: Ping timeout: 240 seconds

2017-04-22

[07:12:39] mzo: Ping timeout: 240 seconds
[15:58:16] mzo: has joined #ruby
[21:51:49] mzo: Quit: :*

2017-04-21

[15:48:31] mzo: what does it return if something does change? the receiver?
[15:48:36] mzo: >> [1, 1, 2].uniq!
[15:49:59] mzo: yeah that does seem odd
[15:50:21] mzo: imo, uniq! should be the same as uniq except in-place
[15:50:41] mzo: non-bang
[22:42:26] mzo: Quit: :*
[22:43:56] mzo: has joined #ruby