uplime

Activity Graph

Page 1 of 4 | Next »

2019-08-20

[05:33:40] uplime: Quit: ZNC 1.7.3 - https://znc.in
[05:34:08] uplime: has joined #elixir-lang
[05:34:08] uplime: has joined #RubyOnRails
[05:34:08] uplime: has joined #ruby-offtopic
[05:34:08] uplime: has joined #ruby

2019-07-07

[06:08:05] uplime: *.net *.split
[06:18:25] uplime: has joined #RubyOnRails
[06:18:26] uplime: has joined #ruby-offtopic
[06:18:30] uplime: has joined #ruby
[06:18:30] uplime: has joined #elixir-lang

2019-06-26

[04:13:05] uplime: has joined #ruby
[04:13:06] uplime: has joined #elixir-lang
[04:13:06] uplime: has joined #RubyOnRails
[04:13:06] uplime: has joined #ruby-offtopic
[05:06:19] uplime: has joined #ruby
[05:06:20] uplime: has joined #elixir-lang
[05:06:20] uplime: has joined #RubyOnRails
[05:06:20] uplime: has joined #ruby-offtopic

2019-06-22

[02:18:55] uplime: Remote host closed the connection
[02:23:10] uplime: has joined #ruby
[02:23:11] uplime: has joined #elixir-lang
[02:23:11] uplime: has joined #RubyOnRails
[02:23:11] uplime: has joined #ruby-offtopic

2019-06-16

[08:13:23] uplime: has joined #elixir-lang
[08:13:23] uplime: has joined #RubyOnRails
[08:13:23] uplime: has joined #ruby-offtopic
[08:13:23] uplime: has joined #ruby

2019-06-06

[16:57:26] uplime: Remote host closed the connection
[18:32:07] uplime: has joined #elixir-lang
[18:32:07] uplime: has joined #ruby
[21:53:29] uplime: Quit: ZNC 1.7.3 - https://znc.in
[21:53:42] uplime: has joined #elixir-lang
[21:53:42] uplime: has joined #ruby

2019-06-03

[07:42:15] uplime: *.net *.split
[07:53:21] uplime: has joined #RubyOnRails
[07:53:24] uplime: has joined #ruby-offtopic
[07:53:27] uplime: has joined #elixir-lang
[07:53:28] uplime: has joined #ruby
[20:15:23] uplime: *.net *.split

2019-05-18

[00:56:01] uplime: benwilson512: ok thanks

2019-05-17

[22:26:26] uplime: Is there any way to use phoenix without npm?
[22:36:15] uplime: cbw[m]: i haven't used phoenix before, but that implied to me that it would be using node for server side stuff
[22:36:27] uplime: if im mistaken then that works for me
[22:37:39] uplime: oh cool, thats perfect then
[23:07:09] uplime: is it possible to serve phoenix apps from nginx, like you can with with rails/passenger? or would a reverse proxy have to be used?

2019-05-10

[02:34:03] uplime: I'm getting this returned by :ssl.connect: {:sslsocket, {:gen_tcp, #Port<0.5>, :tls_connection, :undefined}, [#PID<0.114.0>, #PID<0.113.0>]} is there anywhere I can see what :tls_connection and :undefined are in reference to?

2019-05-09

[04:58:53] uplime: baweaver: lol i just saw your tweet
[04:59:01] uplime: I've been struggling with that for the past week or so
[04:59:16] uplime: the lisp thing
[04:59:35] uplime: i doubt ill be any help, just thought it was funny i got a notification for it when i was working on it
[05:00:21] uplime: oh thats neat
[05:00:27] uplime: like a mini dsl?
[05:01:25] uplime: yeah, i jumped straight into writing code with elixir, helped me learn al ot
[20:00:56] uplime: would someone mind giving me a hint what I'm doing wrong here? https://clbin.com/wfNRW
[20:04:59] uplime: ah, had to pass a char list

2019-05-08

[02:10:54] uplime: I have a list of keyword lists that looks like this: args = [[type: :atom, val: 'n'], [type: :atom, val: 'm'], [type: :atom, val: 'o']]. Is there an easy way to turn that into %{ 'n' => 0, 'm' => 1, 'o' => 2 } ?
[02:16:46] uplime: i've got this right now, but it's pretty ugly https://clbin.com/F39Jz
[03:00:25] uplime: ah, beautiful
[03:00:29] uplime: thanks again benwilson512

2019-05-07

[02:28:41] uplime: has joined #elixir-lang
[02:29:57] uplime: has joined #ruby
[02:29:57] uplime: has joined #ruby-offtopic
[02:29:57] uplime: has joined #RubyOnRails
[02:35:15] uplime: Quit: ZNC 1.7.3 - https://znc.in
[02:35:30] uplime: has joined #elixir-lang
[02:35:31] uplime: has joined #ruby
[02:35:31] uplime: has joined #ruby-offtopic
[02:35:31] uplime: has joined #RubyOnRails
[12:33:18] uplime: does anyone have a good guide on network programming in elixir? ideally i'd also like to dive into ssl (in elixir), but just plain tcp/ssl is fine as well
[12:35:03] uplime: erm, just plain tcp/udp*
[12:35:47] uplime: thanks, I'll take a look at it

2019-05-06

[05:07:37] uplime: is there a way to pattern match a list with multiple values? I phrased that badly, but basically something like [(?\t or ?\n or ?\ ) | str]
[05:12:57] uplime: yeah, just found a post on the forum basically saying the same thing
[05:13:44] uplime: although it just recommended: x in '\t\n '

2019-05-04

[09:02:15] uplime: has joined #elixir-lang
[09:03:38] uplime: benwilson512: you're probably asleep, but thanks for the suggestions. it lead to https://github.com/ntchambers/whiskey/blob/master/lib/sexpr.ex which works surprisingly well

2019-04-27

[18:49:36] uplime: havenwood: if you did want to share data across all instances of a class, how would you do that?
[19:06:50] uplime: ah ok, thanks

2019-04-26

[18:29:33] uplime: Swyper: you'd need to show the rspec file

2019-04-23

[13:00:27] uplime: wouldn't it just be .append or += in most languages?

2019-04-21

[19:01:01] uplime: quarters: you mean like: myhash.each { |key, val| ... }

2019-04-19

[16:33:03] uplime: File is an IO object, which has gets
[16:33:34] uplime: STDIN and STDOUT are IO objects as well, which is where its common to use them
[16:33:57] uplime: erm, File is an IO child class*
[16:34:40] uplime: https://ruby-doc.org/core-2.6.3/IO.html#method-i-gets
[16:35:17] uplime: they're simiilar
[16:35:50] uplime: gets returns a nil at eof

2019-04-18

2019-04-17

[03:30:03] uplime: has joined #ruby
[03:44:02] uplime: Remote host closed the connection
[06:51:53] uplime: has joined #RubyOnRails
[06:51:53] uplime: has joined #ruby-offtopic
[06:51:53] uplime: has joined #ruby
[07:29:55] uplime: havenwood: https://twitter.com/benbjohnson/status/533848879423578112?lang=en
[07:32:47] uplime: i used to dislike how ruby was written
[07:33:03] uplime: now im in sort of a stockholm scenario where it looks really nice

2019-04-16

[19:36:42] uplime: Ping timeout: 245 seconds

2019-04-15

[08:08:10] uplime: has joined #ruby
[14:55:37] uplime: Ping timeout: 250 seconds

2019-04-01

[00:57:24] uplime: I've got some certificates (let's just say they're all PEM encoded right now) in a single file that I can read into a string easily enough, but does anyone have a good way to split it up so I can store each certificate in their own `OpenSSL::X509::Certificate` instance? The only thing I can think of is splitting on "-----\n-----", but that doesn't seem like a very good method

2019-03-31

[14:06:01] uplime: i typicall just use rvm to install gem/ruby, then gem install rails bundler. not sure if there is a better way
[14:09:02] uplime: sounds good
[14:09:07] uplime: works well enough for me at any rate

2019-03-28

[01:51:18] uplime: whats the differnece between that and .match?
[01:51:38] uplime: just preference?
[01:52:25] uplime: sorry, i meant String#match?

2019-03-25

[02:53:10] uplime: has joined #ruby-offtopic
[02:53:10] uplime: has joined #ruby
[02:53:10] uplime: has joined #RubyOnRails

2019-03-24

[18:13:46] uplime: Ping timeout: 246 seconds

2019-03-23

[20:51:37] uplime: repeating it isn't going to change the message
[20:53:02] uplime: phaul: haha, the spirit of the message then

2019-03-20

[22:31:34] uplime: this might be a silly question, but if your app needs to create a system user, is there a more ruby/rails way than just sticking a shellscript in the project root and having that user run it beforehand?
[22:40:32] uplime: al2o3-cr: what does that have to do with creating the user?
[22:41:54] uplime: yes, thats what i asked
[22:42:07] uplime: because its a user for the app, not a normal user
[22:42:41] uplime: zenspider: i'm asking where i should have it
[22:43:14] uplime: create the user before creating the user?
[22:44:09] uplime: i only need to support posix
[22:44:14] uplime: so its just adduser
[22:44:17] uplime: np al2o3-cr
[22:44:34] uplime: erm, not adduser, i'd have to look up the command
[22:49:09] uplime: i know linux isn't POSIX complete, also you are correct, i thought useradd was indeed posix
[22:49:14] uplime: guess im mistaken
[22:49:27] uplime: i'll leave it up to the packagers then
[22:51:20] uplime: yeah, i was sorely mistaken
[22:51:22] uplime: glad i asked first

2019-03-16

[01:51:16] uplime: leading the witness
[01:54:54] uplime: read from stdin, do a regex replace on it, write to stdout?
[07:13:22] uplime: Ping timeout: 245 seconds
[07:23:32] uplime: has joined #ruby-offtopic
[07:23:32] uplime: has joined #ruby
[07:23:32] uplime: has joined #RubyOnRails

2019-03-15

[05:19:23] uplime: i can't wait for the inevitable ruby that breaks all backwards compatibility

2019-03-14

[22:07:04] uplime: is there any difference memory/perforance wise between double and single quotes? I remember (vaguely) hearing about this at a meetup from a while ago, and can't quite recall what was said
[22:15:35] uplime: hm, good point
[22:31:48] uplime: thanks, i figured as much. i like to use a consistent quoting "scheme", but rubocop wasn't too happy about that
[23:15:04] uplime: zenspider: yeah, i just stoppped using rubocop all together for now
[23:15:22] uplime: i'll probably turn it (and reek) back on soon though

2019-03-03

[00:58:32] uplime: is there an article or document that details what should go into a git repo and what shouldn't, for a project generated with `rails g projectname`?
[00:58:59] uplime: erm, `rails new projectname` i mean

2019-02-28

[06:03:08] uplime: has joined #RubyOnRails

2019-02-26

[09:26:18] uplime: Ping timeout: 245 seconds
[09:30:05] uplime: Ping timeout: 245 seconds

2019-02-18

[00:16:49] uplime: whats the proper way to encode a hex character into a string?
[00:16:59] uplime: hex code*
[00:20:28] uplime: ah nmd, i don't need it in a string

2019-02-17

[16:16:37] uplime: Quit: ZNC 1.7.1 - https://znc.in
[16:23:49] uplime: has joined #ruby-offtopic
[16:23:49] uplime: has joined #ruby

2019-02-15

[07:10:05] uplime: Ping timeout: 258 seconds
[07:22:21] uplime: has joined #ruby-offtopic
[07:22:21] uplime: has joined #ruby

2019-02-13

[15:43:06] uplime: Ping timeout: 250 seconds
[16:40:49] uplime: has joined #ruby-offtopic
[16:40:49] uplime: has joined #ruby

2019-02-11

[02:14:50] uplime: Quit: ZNC 1.7.1 - https://znc.in
[02:15:43] uplime: has joined #ruby
[02:15:44] uplime: has joined #ruby-offtopic

2019-02-07

[07:56:42] uplime: oh wow, mehdi farsi followed on twitter randomly
[15:16:53] uplime: wouldn't it precompile to some intermediary the vm generates? if it precompiled to native code there wouldn't be any reason to JIT it
[17:51:17] uplime: neither was i. i didn't know he was on twitter until then
[17:55:31] uplime: @ntchambers
[17:55:42] uplime: the weird looking guy in glasses
[17:56:59] uplime: thx for the follow <3

2019-02-03

[20:48:34] uplime: Quit: ZNC 1.7.1 - https://znc.in
[20:51:27] uplime: has joined #ruby-offtopic
[20:51:27] uplime: has joined #ruby
[20:55:59] uplime: Client Quit
[21:05:25] uplime: has joined #ruby-offtopic
[21:05:25] uplime: has joined #ruby

2019-02-02

[19:22:47] uplime: Quit: ZNC 1.7.1 - https://znc.in
[19:25:36] uplime: has joined #ruby-offtopic
[19:25:36] uplime: has joined #ruby

2019-02-01

[17:11:44] uplime: I have an array of hashes, and I'd like to test if any of the members of the array have a specific key/value pair, and if they do, return true (this is a condition for a select block on a different array). Is there an easy way to do this?
[17:13:39] uplime: oh perfect, thanks
[17:16:27] uplime: how recent?
[17:16:35] uplime: I'm on 2.3

2019-01-28

[00:33:48] uplime: Quit: ZNC 1.7.1 - https://znc.in
[00:35:23] uplime: has joined #RubyOnRails
[00:35:24] uplime: has joined #ruby-offtopic
[00:35:24] uplime: has joined #ruby
[00:47:52] uplime: Quit: ZNC 1.7.1 - https://znc.in
[00:48:42] uplime: has joined #ruby
[00:48:42] uplime: has joined #RubyOnRails
[00:48:43] uplime: has joined #ruby-offtopic
[02:19:25] uplime: Ping timeout: 250 seconds
[02:21:36] uplime: has joined #ruby
[02:21:37] uplime: has joined #ruby-offtopic
[02:31:35] uplime: Quit: ZNC 1.7.1 - https://znc.in
[02:32:28] uplime: has joined #ruby-offtopic
[02:32:28] uplime: has joined #ruby
[03:23:23] uplime: Ping timeout: 245 seconds

2019-01-27

[06:12:42] uplime: Quit: ZNC 1.7.1 - https://znc.in
[06:18:13] uplime: has joined #ruby-offtopic
[06:18:13] uplime: has joined #ruby
[06:19:43] uplime: has joined #RubyOnRails
[18:38:23] uplime: Ping timeout: 245 seconds
[18:39:30] uplime: has joined #ruby-offtopic
[18:39:30] uplime: has joined #ruby
[18:39:30] uplime: has joined #RubyOnRails
[23:41:14] uplime: Quit: ZNC 1.7.1 - https://znc.in
[23:41:26] uplime: has joined #ruby
[23:41:26] uplime: has joined #RubyOnRails
[23:41:27] uplime: has joined #ruby-offtopic

2019-01-26

[00:15:02] uplime: yeah same. i'll need to look something up, get distracted by the tv, then go back to the code and realize i still need to look it up
[00:15:05] uplime: rinse and repeat
[22:57:16] uplime: "raise 'heck'"

2019-01-25

[23:55:11] uplime: baweaver: do you normally stream your coding?
[23:55:49] uplime: haha, fair enough

2019-01-23

[00:33:33] uplime: Disconnected by services
[09:00:54] uplime: Quit: WeeChat 2.2
[09:17:23] uplime: has joined #ruby
[19:58:56] uplime: i've used a few keyboards over the years but i keep coming back to https://www.amazon.com/Dell-Genuine-104-key-Keyboard-SK-8115/dp/B0037H8AB4
[21:41:33] uplime: a gem to tell how many licks it takes to get to the center of a tootsie pop would be useful

2019-01-22

[00:20:33] uplime: Ping timeout: 244 seconds
[00:34:21] uplime: has joined #RubyOnRails
[00:34:21] uplime: has joined #ruby-offtopic
[00:34:21] uplime: has joined #ruby
[04:01:19] uplime: Ping timeout: 246 seconds
[04:10:53] uplime: has joined #ruby
[04:10:57] uplime: has joined #ruby-offtopic
[04:12:21] uplime: has joined #RubyOnRails
[07:12:40] uplime: Quit: WeeChat 2.2
[15:37:11] uplime: has joined #ruby

2019-01-21

[09:27:05] uplime: Quit: WeeChat 2.2
[15:21:36] uplime: has joined #ruby

2019-01-20

[00:59:27] uplime: Quit: WeeChat 2.2
[04:40:37] uplime: has joined #RubyOnRails
[04:40:37] uplime: has joined #ruby-offtopic
[04:40:37] uplime: has joined #ruby
[08:45:40] uplime: Quit: WeeChat 2.2
[20:58:25] uplime: has joined #RubyOnRails
[20:58:25] uplime: has joined #ruby-offtopic
[20:58:25] uplime: has joined #ruby

2019-01-19

[22:02:08] uplime: Quit: WeeChat 2.2
[23:20:18] uplime: has joined #ruby
[23:20:19] uplime: has joined #RubyOnRails
[23:20:19] uplime: has joined #ruby-offtopic