toretore

Activity Graph

Page 1 of 73 | Next »

2017-08-07

[13:15:25] toretore: has joined #ruby-offtopic
[13:15:25] toretore: has joined #ruby
[13:15:32] toretore: has joined #RubyOnRails
[13:16:05] toretore: where can i find out what happened to to_xml on my models in 5.1?
[13:25:30] toretore: Quit: Leaving

2017-05-18

[10:05:41] toretore: has joined #ruby-offtopic
[10:05:41] toretore: has joined #ruby
[13:03:16] toretore: Ping timeout: 260 seconds
[13:16:07] toretore: has joined #ruby
[13:16:07] toretore: has joined #ruby-offtopic
[14:11:34] toretore: Read error: Connection reset by peer
[14:12:53] toretore: has joined #ruby-offtopic
[14:12:54] toretore: has joined #ruby
[14:13:31] toretore: Read error: Connection reset by peer

2017-05-08

[00:03:30] toretore: Ping timeout: 246 seconds
[07:51:13] toretore: has joined #ruby
[07:51:13] toretore: has joined #ruby-offtopic
[11:36:57] toretore: Quit: Leaving

2017-05-07

[07:52:10] toretore: has joined #ruby-offtopic
[07:52:11] toretore: has joined #ruby

2017-05-06

[07:38:27] toretore: has joined #ruby-offtopic
[07:38:27] toretore: has joined #ruby
[22:29:45] toretore: Ping timeout: 258 seconds

2017-05-05

[13:02:52] toretore: *.net *.split
[13:10:22] toretore: has joined #ruby
[13:10:22] toretore: has joined #ruby-offtopic
[13:46:10] toretore: Ping timeout: 240 seconds
[14:12:56] toretore: has joined #ruby
[14:12:56] toretore: has joined #ruby-offtopic
[20:07:56] toretore: Ping timeout: 268 seconds
[20:34:32] toretore: has joined #ruby
[20:34:32] toretore: has joined #ruby-offtopic
[21:06:27] toretore: Ping timeout: 240 seconds

2017-05-04

[12:33:52] toretore: Ping timeout: 260 seconds
[12:40:30] toretore: has joined #ruby
[12:40:30] toretore: has joined #ruby-offtopic

2017-05-03

[09:32:16] toretore: has joined #ruby
[09:32:16] toretore: has joined #ruby-offtopic
[17:36:07] toretore: username1: `p theObject` in each iteration; the last output before the raise is the one

2017-05-02

[09:05:00] toretore: has joined #ruby-offtopic
[09:05:01] toretore: has joined #ruby
[17:03:12] toretore: good moaning
[17:48:41] toretore: im still running 1.9
[17:54:14] toretore: shouldn't you be checking `exited?` explicitly?
[17:55:08] toretore: i mean as a matter of being explicit in itself
[17:55:29] toretore: if exited? then exitstatus else something_weird_happened end
[17:56:59] toretore: if you come back in a year and see `exitstatus || to_i` you'll probably not understand what it means
[17:57:51] toretore: sunrunner20: it is ignored
[17:59:30] toretore: cout: yeah i don't know what the right status to return is, i'm just arguing that the abnormal case should be explicit and obvious
[22:15:57] toretore: Ping timeout: 264 seconds

2017-05-01

[08:56:47] toretore: has joined #ruby-offtopic
[08:56:48] toretore: has joined #ruby
[22:14:27] toretore: Ping timeout: 255 seconds

2017-04-30

[09:20:44] toretore: has joined #ruby
[09:20:44] toretore: has joined #ruby-offtopic
[22:31:30] toretore: Ping timeout: 245 seconds

2017-04-29

[11:59:22] toretore: can't have people knowing science and shit if you want to be a theocratic dictator
[23:50:09] toretore: Ping timeout: 240 seconds

2017-04-27

[05:35:00] toretore: has joined #ruby
[05:35:00] toretore: has joined #ruby-offtopic
[13:11:42] toretore: arne_: reduce
[13:14:03] toretore: hinbody: it's much easier to give advice after seeing the actual code

2017-04-26

[10:03:41] toretore: >> Time.now.to_i * 1000 # Znow
[10:04:58] toretore: >> (Time.now.to_f * 1000).to_i
[10:05:27] toretore: Znow: explain the problem in more detail
[10:33:20] toretore: i think you're confused
[10:47:10] toretore: what do you mean 0001, the time of birth of the lord and savior jesus christ?
[10:47:51] toretore: i think we're dealing with a
[21:23:09] toretore: Ping timeout: 240 seconds

2017-04-25

[05:07:09] toretore: has joined #ruby
[05:07:09] toretore: has joined #ruby-offtopic
[16:04:48] toretore: if you're certain that the keys will always be ['@version', 'type', x] then you can just discard the first two

2017-04-24

[08:04:01] toretore: has joined #ruby
[08:04:01] toretore: has joined #ruby-offtopic
[21:57:04] toretore: Ping timeout: 252 seconds

2017-04-23

[08:17:42] toretore: has joined #ruby
[08:17:42] toretore: has joined #ruby-offtopic
[14:15:08] toretore: Ping timeout: 260 seconds
[14:27:37] toretore: has joined #ruby
[14:27:37] toretore: has joined #ruby-offtopic
[23:31:03] toretore: Ping timeout: 240 seconds

2017-04-22

[01:43:00] toretore: Ping timeout: 260 seconds
[10:24:03] toretore: has joined #ruby
[10:24:03] toretore: has joined #ruby-offtopic
[22:05:26] toretore: Ping timeout: 240 seconds

2017-04-21

[08:25:15] toretore: has joined #ruby
[08:25:15] toretore: has joined #ruby-offtopic

2017-04-20

[11:38:55] toretore: has joined #ruby-offtopic
[11:38:56] toretore: has joined #ruby
[17:58:18] toretore: just pick one and write some code
[18:01:25] toretore: everyone is different, there is no right solution for everyone
[18:03:07] toretore: people waste way too much time on this shit, i've been writing ruby for 15+ years and the only tools i use are vim with some syntax highlighting
[18:41:06] toretore: i didn't expect that to exist
[18:41:31] toretore: mordof: you should ask in #rubyonrails probably
[18:41:55] toretore: i think the answer to your question is no and yes
[18:42:15] toretore: it doesn't make sense for habtm to be required
[22:47:55] toretore: bitcycle: what exactly are you trying to do?
[22:52:25] toretore: ?xy bitcycle
[23:01:34] toretore: Ping timeout: 240 seconds

2017-04-19

[00:14:57] toretore: Ping timeout: 240 seconds
[10:14:21] toretore: has joined #ruby
[10:14:21] toretore: has joined #ruby-offtopic
[19:18:40] toretore: enumerators use fibers, which are coroutines
[23:20:59] toretore: Ping timeout: 255 seconds

2017-04-18

[12:49:03] toretore: you need recursion
[13:47:45] toretore: maybe try https://github.com/thisismydesign/json-streamer
[13:51:07] toretore: seems to be only for reading, you could try using https://github.com/dgraham/json-stream directly for writing. or you could just do `File.open(filename){|f| f.write '['; objects.each{|o| f.write JSON.generate(o) }; f.write ']' }`
[13:51:27] toretore: maybe add some commas

2017-04-17

[10:50:53] toretore: it's incredibly difficult to write correct programs, and very easy to write incorrect ones; a concept that eliminates whole classes of incorrectness without too much of an investment should be welcomed
[10:51:45] toretore: needing 10 years of experience just to be able to write a program that doesn't have security flaws and other critical bugs is a laughable idea
[10:52:53] toretore: c should probably die (i don't actually know it, but i know *of* it)
[10:54:25] toretore: i think most sane people are starting to realize this by now
[10:55:22] toretore: of course it will, but it doesn't mean it's a good thing
[10:55:47] toretore: why bother when there are better alternatives?
[10:58:53] toretore: i don't even think you can make the argument that c is easier or faster to write, like you can with ruby vs various other langs
[11:01:23] toretore: harder to *learn* definitely, but i'm not sure that means harder to write
[11:03:14] toretore: tbf rust seems to be a really complex language
[11:08:40] toretore: i think a good analogy is writing concurrent programs with mutable vs immutable state: the language with mutable state is likely to be much more forgiving and less strict, but now you have to understand and always have in mind all the complexities of mutating state concurrently, which is incredibly hard. with the immutable state, all of that just goes away. it may require you to think a little differently, but that's not an inherent
[11:09:06] toretore: *all = most
[11:26:21] toretore: give more info
[11:35:38] toretore: ?rails tynamite
[11:37:05] toretore: tynamite: before you go there, understand that you have to provide more information in order to get any useful response: your code, exactly what happens when you "type ruby script/server"
[11:38:39] toretore: i'm guessing it's someone who downloaded some monster rails app and is trying to run it
[11:39:39] toretore: i must have missed that

2017-04-16

[19:55:24] toretore: proceed with gisting your code and the full error
[20:06:14] toretore: did it work before?
[20:06:50] toretore: what exactly is in RESMAN_SYMLINKS?
[20:07:05] toretore: p RESMAN_SYMLINKS
[20:10:43] toretore: is there any particaluar reason you have to use rake for this?
[20:13:46] toretore: tbh i wouldn't use rake for this.. introducing a large dependency hairball for some minor convenience
[20:15:09] toretore: though i probably wouldn't use rake for anything

2017-04-15

[15:09:56] toretore: what a wonderful world
[15:10:03] toretore: it would be

2017-04-14

[02:55:52] toretore: has joined #ruby
[02:55:52] toretore: has joined #ruby-offtopic

2017-04-13

[15:28:07] toretore: ?code snockerton
[19:07:06] toretore: ?code snockerton
[19:10:32] toretore: instance variables don't work the way you think they do
[19:17:11] toretore: snockerton: your `if @verbose` on line 15 is not evaluating to true, which is why you don't see anything on stdout
[19:17:31] toretore: @verbose on line 5 is a completely different variable
[19:18:05] toretore: @verbose on line 15 has never been set, which means it is nil
[19:18:14] toretore: nil is falsy
[19:21:34] toretore: it's called an instance variable because it's only available inside an instance; you need to set it from inside an instance method
[19:22:26] toretore: if you want to initialize it with a value from the outside, pass it to `initialize`
[22:33:27] toretore: Ping timeout: 268 seconds

2017-04-12

[07:54:32] toretore: has joined #ruby
[07:54:32] toretore: has joined #ruby-offtopic
[18:23:27] toretore: Ping timeout: 260 seconds
[18:40:29] toretore: has joined #ruby
[18:40:29] toretore: has joined #ruby-offtopic

2017-04-11

[10:41:04] toretore: has joined #ruby-offtopic
[10:41:04] toretore: has joined #ruby
[11:45:18] toretore: Ping timeout: 255 seconds

2017-04-10

[08:45:24] toretore: has joined #ruby
[08:45:24] toretore: has joined #ruby-offtopic
[20:26:11] toretore: Ping timeout: 240 seconds
[20:42:02] toretore: has joined #ruby
[20:42:02] toretore: has joined #ruby-offtopic
[20:51:36] toretore: Ping timeout: 255 seconds

2017-04-09

[08:01:36] toretore: has joined #ruby
[08:01:36] toretore: has joined #ruby-offtopic
[09:39:19] toretore: gam enstal normalize
[21:08:10] toretore: Ping timeout: 240 seconds

2017-04-08

[07:03:39] toretore: has joined #ruby-offtopic
[07:03:40] toretore: has joined #ruby
[21:05:08] toretore: Ping timeout: 240 seconds

2017-04-07

[05:37:04] toretore: has joined #ruby
[05:37:04] toretore: has joined #ruby-offtopic
[18:04:09] toretore: Ping timeout: 256 seconds

2017-04-06

[09:01:59] toretore: has joined #ruby
[09:01:59] toretore: has joined #ruby-offtopic
[19:55:36] toretore: "german" ;)
[19:58:03] toretore: ACTION tries to come up with an insult involving chnöpfli
[20:01:31] toretore: https://upload.wikimedia.org/wikipedia/commons/2/28/Sp%C3%A4tzle-02.jpg
[20:01:47] toretore: aka spätzle
[20:03:48] toretore: swiss specialty
[20:07:59] toretore: tbch it's delicious
[22:06:03] toretore: Ping timeout: 260 seconds

2017-04-05

[07:51:12] toretore: has joined #ruby-offtopic
[07:51:13] toretore: has joined #ruby
[12:43:03] toretore: Ping timeout: 260 seconds
[13:04:22] toretore: has joined #ruby-offtopic
[13:04:23] toretore: has joined #ruby
[22:28:26] toretore: Ping timeout: 240 seconds

2017-04-04

[11:43:32] toretore: has joined #ruby-offtopic
[11:43:32] toretore: has joined #ruby
[18:26:57] toretore: Ping timeout: 246 seconds
[18:29:25] toretore: has joined #ruby-offtopic
[18:29:27] toretore: has joined #ruby
[23:50:27] toretore: Ping timeout: 240 seconds

2017-04-03

[00:18:51] toretore: has joined #ruby-offtopic
[00:18:52] toretore: has joined #ruby
[11:56:08] toretore: Ping timeout: 260 seconds

2017-04-02

[07:57:15] toretore: has joined #ruby-offtopic
[07:57:15] toretore: has joined #ruby
[21:55:00] toretore: Ping timeout: 240 seconds

2017-03-28

[14:39:46] toretore: has joined #ruby
[14:39:47] toretore: has joined #ruby-offtopic
[15:29:11] toretore: Quit: Leaving

2017-03-25

[13:35:21] toretore: Verity: gist the whole file
[13:40:25] toretore: the way to debug this is to make sure the data is what it should be at each step
[13:40:58] toretore: i.e. add a bunch of `p packet` between the lines
[13:43:51] toretore: look at the indentation on lines 29-30
[13:45:09] toretore: Verity: do you want help debugging it or do you just want to complain?
[13:46:14] toretore: if you're going to write ruby you have to understand its syntax
[13:52:16] toretore: how about you stop whining and start answering our questions
[13:52:39] toretore: maybe you should call your therapist
[13:54:03] toretore: the problem is you're missing an end between line 29 and 30
[13:59:22] toretore: michele: you should use real names, not made up ones
[13:59:40] toretore: michele: are you using bundler?
[14:00:00] toretore: you should consider using bundler
[14:00:48] toretore: in each directory yes
[14:02:13] toretore: tbh i don't use bundler much so i'm not sure
[14:04:19] toretore: michael_mbp: if you actually do have a versioning conflict, meaning two different versions are required in the same program, then that's hard to solve
[14:04:52] toretore: how are you getting conflicts then?
[14:05:29] toretore: michele: what are the scripts?
[14:06:21] toretore: michele: the error messages makes it sound like something is actually trying to require two conflicting versions in the same program
[14:08:34] toretore: versioning should be part of a programming language such that in each place where you require its functionality you specify a specific version, allowing more than one version to be imported in the same program
[14:22:53] toretore: Verity: do you actually want us to help you with this?
[14:24:19] toretore: Verity: i'm asking a simple question. you're not answering it. you're starting to trigger the troll detector
[14:26:25] toretore: Verity: i told you exactly what the syntax error was, and you still ignored it and continued spewing bs
[14:28:11] toretore: Verity: if you want help, stop ranting, answer our questions and follow our instructions
[14:29:08] toretore: i now consider you to be a troll and will stop engaging
[21:14:48] toretore: rizonz: gist your code
[21:15:07] toretore: then explain what you're trying to do
[21:20:05] toretore: define "print 0"
[21:21:11] toretore: >> 'eth0'.match(/eth(\d)/)[1]
[21:22:23] toretore: >> 'lo'.match(/eth(\d)/)
[21:23:00] toretore: >> if nil; 'yes'; else; 'no'; end
[21:26:35] toretore: Quit: Leaving