j416

Activity Graph

Page 1 of 9 | Next »

2019-08-22

[00:56:07] j416: *.net *.split
[01:13:42] j416: has joined #ruby

2019-08-16

[02:21:29] j416: Ping timeout: 244 seconds
[02:23:23] j416: has joined #ruby

2019-06-29

[07:02:50] j416: Ping timeout: 268 seconds
[07:15:03] j416: has joined #ruby

2019-06-19

[06:49:26] j416: Ping timeout: 258 seconds
[06:58:05] j416: has joined #ruby

2019-06-09

[10:44:28] j416: Ping timeout: 264 seconds
[10:51:23] j416: has joined #ruby
[11:07:46] j416: Excess Flood
[11:08:24] j416: has joined #ruby

2019-05-21

[14:06:11] j416: *.net *.split

2019-04-20

[07:20:51] j416: Ping timeout: 244 seconds
[07:22:39] j416: has joined #ruby

2019-03-30

[11:16:45] j416: *.net *.split

2019-03-16

[04:15:16] j416: Ping timeout: 246 seconds
[04:41:56] j416: has joined #ruby
[04:52:58] j416: Ping timeout: 245 seconds
[04:54:57] j416: has joined #ruby

2019-03-15

[03:20:02] j416: Ping timeout: 272 seconds
[03:21:31] j416: has joined #ruby

2019-03-12

[06:07:24] j416: Ping timeout: 246 seconds
[06:08:17] j416: has joined #ruby

2019-03-06

[10:15:36] j416: Ping timeout: 272 seconds
[10:38:26] j416: has joined #ruby
[10:49:45] j416: Ping timeout: 252 seconds
[10:50:57] j416: has joined #ruby

2019-02-02

[13:11:24] j416: marz_d`ghostman: are you using bundler?
[13:25:57] j416: marz_d`ghostman: 'bundler exec' perhaps?
[13:32:28] j416: marz_d`ghostman: did you try 'bundler exec'?

2019-01-16

[03:12:27] j416: Ping timeout: 246 seconds
[03:28:00] j416: has joined #ruby
[15:27:08] j416: Ping timeout: 250 seconds
[15:30:30] j416: has joined #ruby
[15:38:10] j416: Read error: Connection reset by peer
[15:38:40] j416: has joined #ruby

2018-11-27

[17:44:44] j416: Ping timeout: 268 seconds
[18:38:40] j416: has joined #ruby
[19:36:45] j416: Ping timeout: 246 seconds
[19:49:45] j416: has joined #ruby
[19:58:46] j416: Ping timeout: 250 seconds
[20:02:12] j416: has joined #ruby
[21:19:18] j416: Ping timeout: 246 seconds
[21:22:21] j416: has joined #ruby
[21:39:41] j416: Ping timeout: 268 seconds
[21:40:21] j416: has joined #ruby

2018-11-19

[22:40:06] j416: Ping timeout: 268 seconds
[22:40:27] j416: has joined #ruby

2018-11-02

[14:50:15] j416: Ping timeout: 252 seconds
[15:01:53] j416: has joined #ruby

2018-10-26

[02:19:52] j416: Ping timeout: 246 seconds
[02:21:02] j416: has joined #ruby

2018-08-31

[02:12:59] j416: Read error: Connection reset by peer
[09:08:48] j416: Ping timeout: 245 seconds
[09:13:37] j416: has joined #ruby
[09:20:28] j416: Ping timeout: 245 seconds
[09:21:37] j416: has joined #ruby
[09:31:18] j416: Ping timeout: 245 seconds
[09:40:09] j416: has joined #ruby
[10:36:27] j416: Ping timeout: 240 seconds
[10:42:14] j416: has joined #ruby
[10:48:04] j416: Ping timeout: 246 seconds
[11:01:45] j416: has joined #ruby
[11:08:04] j416: Ping timeout: 240 seconds
[15:16:56] j416: has joined #ruby

2018-08-20

[07:46:51] j416: has joined #ruby

2018-08-11

[07:00:57] j416: has joined #ruby
[09:57:16] j416: has left #ruby: ("o/")

2018-08-08

[19:24:33] j416: has left #ruby: ("o/")

2018-07-20

[00:07:02] j416: *.net *.split
[00:15:30] j416: has joined #ruby

2018-07-19

[09:16:27] j416: Read error: Connection reset by peer
[09:17:55] j416: has joined #ruby
[09:29:00] j416: Ping timeout: 245 seconds
[10:28:20] j416: Ping timeout: 244 seconds
[22:30:20] j416: Ping timeout: 276 seconds
[22:31:33] j416: has joined #ruby

2018-07-03

[06:17:37] j416: Ping timeout: 248 seconds
[07:04:37] j416: has joined #ruby
[07:17:53] j416: Ping timeout: 248 seconds
[07:19:08] j416: has joined #ruby

2018-06-10

[23:48:07] j416: Ping timeout: 245 seconds
[23:51:06] j416: has joined #ruby

2018-05-29

[02:44:51] j416: *.net *.split
[02:45:19] j416: has joined #ruby
[02:46:59] j416: *.net *.split
[02:47:53] j416: has joined #ruby

2018-05-25

[02:19:01] j416: Ping timeout: 256 seconds
[02:37:25] j416: has joined #ruby

2018-05-20

[18:27:42] j416: *.net *.split
[18:28:11] j416: has joined #ruby

2018-05-09

[02:41:09] j416: Ping timeout: 264 seconds
[02:42:24] j416: has joined #ruby

2017-12-23

[13:01:57] j416: Read error: Connection reset by peer
[13:19:34] j416: has joined #ruby

2017-12-22

[03:18:35] j416: Ping timeout: 252 seconds
[03:36:21] j416: has joined #ruby

2017-12-01

[02:28:56] j416: has joined #ruby

2017-11-08

[09:43:29] j416: *.net *.split
[09:49:05] j416: has joined #ruby

2017-11-02

[16:49:33] j416: Ping timeout: 258 seconds
[17:17:19] j416: has joined #ruby

2017-10-07

[09:30:25] j416: Nobun: it's what's called a block
[09:31:49] j416: https://ruby-doc.org/core-2.4.2/File.html#method-c-open
[09:32:35] j416: the open method on File returns a file normally, but if you use it with a block like in your example, it will yield the file to the block
[09:32:51] j416: and handle the closing of it when the block finishes
[09:35:31] j416: Nobun: it's a shorthand so to speak, yes
[09:35:41] j416: Nobun: otherwise you would have to do something like http://dpaste.com/2KQPA4R
[09:36:10] j416: Nobun: and also take into account what happens if "Marshal.load(f)" explodes (you'd probably want to close the file anyway=
[09:37:54] j416: yes, I would assume they are similar in this regard
[09:38:05] j416: also, it's f.close(), not f.Close() that I wrote. Sorry.
[09:38:29] j416: haven't written a line of Ruby for over a year now
[09:39:47] j416: something like http://dpaste.com/2DCB7KH perhaps
[09:40:26] j416: but the block version will do this for you
[09:40:57] j416: you can add begin/rescue/ensure around any code
[09:41:19] j416: http://rubylearning.com/satishtalim/ruby_exceptions.html
[09:47:42] j416: go read the docs of the thing you are embedding ruby into
[09:47:52] j416: find out how to exit properly
[09:48:06] j416: (are there special exit codes to use?)

2017-09-29

[02:18:07] j416: Ping timeout: 260 seconds
[02:19:41] j416: has joined #ruby
[02:32:33] j416: Ping timeout: 248 seconds
[02:34:12] j416: has joined #ruby

2017-09-27

[04:29:51] j416: *.net *.split
[04:31:03] j416: has joined #ruby

2017-09-16

[04:21:58] j416: Ping timeout: 264 seconds
[04:28:14] j416: has joined #ruby

2017-08-14

[09:17:21] j416: Ping timeout: 248 seconds
[09:18:29] j416: has joined #ruby

2017-08-09

[08:47:19] j416: *.net *.split
[08:56:15] j416: has joined #ruby

2017-06-20

[00:17:27] j416: *.net *.split

2017-05-19

[01:17:27] j416: Ping timeout: 240 seconds
[01:22:31] j416: has joined #ruby

2017-05-03

[22:28:44] j416: Ping timeout: 240 seconds

2017-04-29

[11:22:35] j416: what's a space tab o_O
[11:24:38] j416: you mean two spaces
[11:24:56] j416: 2 spaces seems common in ruby yeah
[11:25:14] j416: I indent with 2 spaces when writing ruby
[11:25:19] j416: seems normal
[11:25:43] j416: xpitr: it's not about tab key or not
[11:25:52] j416: xpitr: it's about convention
[11:25:56] j416: in ruby land, 2 spaces is common
[11:26:04] j416: in other places, tabs are common
[11:33:34] j416: didn't know it could
[11:33:43] j416: I might use that when I get back to ruby
[11:33:48] j416: s/when/if/
[11:36:15] j416: been there
[11:36:23] j416: I think it's an unwinnable game
[11:36:32] j416: ultimately there will be differing opinions
[11:37:22] j416: the style that gofmt uses is externally dictated, I think that's one reason why it works so well
[11:38:02] j416: that's the issue; _you_ become the dictator
[11:38:36] j416: which might work if you own the project
[11:38:47] j416: otherwise you'll end up with multiple dictators
[11:39:31] j416: having the same style is important; agreed
[11:39:49] j416: getting there is hell
[11:42:58] j416: soanvig: see the logs link in the topic

2017-04-28

[02:18:20] j416: Ping timeout: 264 seconds
[02:19:25] j416: has joined #ruby

2017-04-11

[06:15:56] j416: Isn't there an ifttt thing for that

2017-04-09

[16:52:37] j416: looks fairly readable to me.

2017-04-08

[15:38:00] j416: could just use vim
[15:38:05] j416: ACTION runs
[15:40:10] j416: hm maybe it doesn't do that out of the box
[15:40:23] j416: was some time since I touched Ruby
[16:36:08] j416: impermanence: why would you want Ruby instead of bash?
[16:38:00] j416: impermanence: use ruby-install + chruby or rvm or something like that; don't mess with the system stuff
[16:38:07] j416: tends to make things easier

2017-04-06

[18:44:20] j416: pastebin

2017-04-04

[00:21:04] j416: hekin: I tried a bit more, but I'm still lost.
[00:21:13] j416: no idea about that encoding :/
[00:21:24] j416: do ping me if you should happen to find what it is!

2017-04-03

[19:52:00] j416: randomly landed on this page http://www.banggood.com/Electric-Blackhead-Suction-Ance-Remover-Vacuum-Microdermabrasion-Pore-Cleanser-Facial-Skin-Lift-p-1067553.html
[19:52:06] j416: discovered strange feature http://img.banggood.com/images/oaupload/banggood/images/85/AE/e6f7ab49-8df9-453c-a5a3-d91a8df319b1.jpg
[19:53:17] j416: fak, wrong channel
[19:53:21] j416: but, there you go.
[19:53:29] j416: apologies
[20:14:04] j416: has joined #ruby-banned
[20:16:50] j416: has left #ruby-banned: ()
[20:16:56] j416: has joined #ruby
[20:30:06] j416: it does indeed look like one. I wonder how they came up with that name in the first place. o_O Thanks for unbanning.
[22:58:20] j416: hekin: given the date format it looks, to me, chinesey
[22:58:29] j416: but I can't figure out the encoding
[22:59:47] j416: al2o3-cr, StoneCypher: obviously garbled in some way?
[23:00:08] j416: how can you be so sure?
[23:00:37] j416: it's an honest question
[23:00:41] j416: I'm interested to learn.
[23:13:19] j416: StoneCypher: well it's not very readable is it
[23:29:06] j416: hekin: found it
[23:30:28] j416: hekin: https://gist.github.com/anonymous/740724a468d9760a787daa3712afbed8
[23:31:51] j416: I've really no idea, but I guess it's an encoding that iconv doesn't support? http://www.mandarintools.com/email.html
[23:32:28] j416: hekin: do you know the encoding?

2017-04-02

[04:31:30] j416: Ping timeout: 268 seconds
[04:32:53] j416: has joined #ruby

2017-03-26

[11:07:44] j416: >> Hash[{ "foo" => [1], "bar" => [2, 3], "baz" => [4,5] }.map { |k, v| [k, v.count] }]
[11:08:09] j416: unless I misunderstood what you meant
[11:08:49] j416: ..which in hindsight I probably did.
[11:32:12] j416: "doesn't work"?
[11:32:50] j416: I don't know what msg is
[11:33:15] j416: so a string
[11:34:20] j416: >> foo = "foo"; foo[0] = "b"; foo
[11:36:58] j416: Verity: you seem rather stressed and confused. Perhaps take a step back and think about what you want your program to do; perhaps even write a short test for it. That way it'll be easier to reason about it, because you'll be able to say "I have this code, and I expect exactly this output".
[11:41:00] j416: it's hard for us to know what you expect without a concrete example of what you have and what output you desire
[11:42:57] j416: Verity: instead of wrestling with Ruby as a language, try to think about your problem -- ask rather "How do I reverse a string in Ruby?" than "How can I make sure that one byte comes after another if I am modifying an array of bytes in-place?" -- XY issues.
[11:43:53] j416: and I apologise if I sound condescending; I am trying to offer advice on getting efficient assistance.
[11:45:18] j416: well it's surely usable.
[11:48:29] j416: realise that you cannot run fast until you learn to crawl and walk. :)
[11:48:32] j416: things take time.
[12:04:07] j416: let me guess, you hate it again
[12:08:03] j416: Verity: did you read the docs?
[12:08:33] j416: probably not, so here is what the docs say about w+: "truncates existing file to zero length"
[12:09:00] j416: try reading it in mode "r" instead.
[12:09:29] j416: or "r+" if you need to write to it at the same time
[12:09:46] j416: (or "a+", not sure what you are doing with the file)
[12:13:47] j416: hint: read the docs
[14:36:58] j416: Verity: lol
[14:37:23] j416: Verity: I can't help but think you are being so ironic and mad when you say that
[14:39:03] j416: aha. Never tried it.
[14:39:41] j416: haskel-y linux eh
[14:39:49] j416: haskell-y*
[14:39:52] j416: haskelly?
[14:40:18] j416: interesting concept.
[14:45:52] j416: grillon: since each proper project will declare what gems and what gem versions it depends on, my guess is it's better to leave the gem stuff to ruby and not try to shoehorn that into something else
[14:47:42] j416: free audits for everyone --
[14:49:12] j416: the next version of your program might load that into a map to speed up search.
[14:49:38] j416: doing a full scan of the entire list of words for each permutation of the input word seems rather slow

2017-03-25

[15:00:44] j416: I used to use an IDE all the time; I found it useful in debugging and refactoring. Writing proper tests and having nice editor plugins completely replaces an IDE for me.
[15:01:05] j416: I almost never feel the need for step-debugging.
[15:01:24] j416: when tests aren't enough, print-debugging is enough.
[15:02:59] j416: pry is quite useful in debugging ruby
[15:03:15] j416: http://pryrepl.org/
[15:03:49] j416: throw in a `require "pry"; binding.pry` anywhere in your code and it'll stop there and fire up a repl, allowing you to inspect stuff
[15:04:16] j416: require 'pry' I mean
[15:18:21] j416: Verity: strings are mutable in Ruby; that's the point.
[15:36:45] j416: what's ====